Skip to main content
1-Visitor
January 26, 2022
Question

thingworx problem about upload widget

  • January 26, 2022
  • 1 reply
  • 1431 views

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

1 reply

5-Regular Member
January 26, 2022

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

 

1-Visitor
January 27, 2022

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.

 

1-Visitor
January 27, 2022

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