Skip to main content
Jan 26, 2022 2:40 AM UTC
Question

thingworx problem about upload widget

hi everyone:

  i wanna to upload file use my own rest service to my cloud server.

  the most credential problem is that how to open file browser like the upload widget fuction:"choose file".is there a need to custom a widget?

                                                                                                                                                      thanks guys

3 replies

Jan 26, 2022 9:24 AM UTC

Hi @YY_9928109 ,

 

Check out these 2 articles on upload widget:

https://www.ptc.com/en/support/article/CS313588

https://www.ptc.com/en/support/article/CS291402

 

Kindly revert back if you still face any further challenges.

 

Regards

Bhawna

 

Jan 27, 2022 7:20 AM UTC

thanks, i just saw your reply.

Although it is a little complicated, he may be able to solve my problem in the following way:

after we upload file to thingworx storage, we trigger service loadBinary to get the content, pass the result to saveBinary Service  along with the rest address of my own cloud.

 

i will try it in the following days.there will be a long holiday recently. I'm not interested in working.HAHA.

 

Jan 27, 2022 7:27 AM UTC

i thing complex.after we upload file to thingworx storage, it is a good way to use PostMultipart service. i will try it.