Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi,
Am trying to load a video/audio/image file as a resource on the click of a button in runtime from an external source like a google drive.
Can someone help me with how it can be achieved?
Avinash
Solved! Go to Solution.
Can you access the resource using a standard URL? If so, then you should be able to simply set the "src" property (or similar property, different widgets use different property names for this) on the widget to point to the URL and it should work. We've used this to dynamically load images from a Thingworx FileRepository thing and it works fine.
Can you access the resource using a standard URL? If so, then you should be able to simply set the "src" property (or similar property, different widgets use different property names for this) on the widget to point to the URL and it should work. We've used this to dynamically load images from a Thingworx FileRepository thing and it works fine.