Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
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.
Solved! Go to Solution.
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.
Hello @George_B ,
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
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.
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?
Mukul, how do you get the source code for the filepload widget so that a custom widget can be created based upon it? I want to add functionality so that when the upload is started I can trigger a a service. If there is another way to trigger a service when a file upload startes please let me know. The widget has triggers for Upload Success and Upload Failure but none for Upload begin.
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.
Not the answer I had hoped for but Thank you.