Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi Developers,
I'm seeking way to call a click event of fileupload widget from click event of other widget.
1. click button1 (other widget) and service1 is called.
2. bind "serviceinvokecompleted" event of service1 with the click event of "Capture" button of fileupload widget.
Thanks and Regards
Hi @Yoshihiko.N
In the new fileupload you bind the upload event.
Set DisableInstanceUpload property to true
And bind ServiceInvokeCompleted event to the Widget Upload event
More about File Upload Widget -File Upload Widget (Themable) (ptc.com)
This functionality is not available in the legacy file upload widget
/VR
Hi @Yoshihiko.N.
Did you find the response from Velkumar helpful? If not, what version of ThingWorx are you running?
As an alternative, the FileTransferSubsystem has a copy service that you can configure to do something similar to what you describe.
Regards.
--Sharon