Skip to main content
12-Amethyst
March 31, 2022
Solved

Location of fileupload widget on version 9.0+

  • March 31, 2022
  • 2 replies
  • 2013 views

I want to add an additional event to the fileupload widget but our backend support team have been able to locate the existing fileupload files. They found the deprecated dndfileupload files but not the current widget files. Does anybody know where the files are located on version 9.0+? Just want to add an event for when upload starts. 

Best answer by Mukul_467346

As I can see file upload is not a web component-based widget in ThingWorx 9.0. You have two options, either you can create an entirely new custom widget based on your need or if you have an older version of Thingworx deployed folder, there you can check widget code(JS files) and take a reference from there to add your event on top of that(change the widget name). In both cases, I believe that will not be supported by PTC ThingWorx support(considering it will be treated as custom development). I am not exactly sure in which exact ThingWorx older build the JS files were exposed but it was there for sure in older versions.

2 replies

5-Regular Member
April 1, 2022

Hello @unknown ,

 

You can check under the thingworx storage there is repository folder and file will be uploaded to the repository which you are selecting while uploading.

for ex: C:\Program Files (x86)\ThingWorxFoundation\ThingworxStorage\repository\

Let me know if it doesn't asnwer and please share some screenshots if possible.

 

Regards

Bhawna

1-Visitor
April 1, 2022

if you are looking for widget code(runtime.js/ide.js etc), it is not exposed in the latest ThingWorx versions(9.0+).  If you are looking for something else, then please elaborate. 

12-Amethyst
April 4, 2022

Mukul, If the widgets are not exposed in versions above 9.0 does this mean you are no longer able to modify an existing widget using Eclipse? I want to be able to provde a trigger from the fileupload widget for when the upload is started. Is there another way to accomplish this?