cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Link FileUpload Widget

SOLVED
Highlighted
Regular Member

Problem Link FileUpload Widget

Hello,

 

I have a problem with "FileName" variable from "FileUpload" wiget. I am trying to connect this variable with a string variable from one thing, but the file name of user don´t show in the string variable. Do you know if "fileUpload" widget is working in Thingworx 8.4? Could you help me with that?

 

"RepositoryName" is showing correctly in "Repository" but "FileName" not.

 

Thank you in advance,

BR

 

Luis

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Problem Link FileUpload Widget

Please write a service that accepts an input of type string. Inside the service assign the input to the "FileName" property of the thing. Return the same "FileName" as an output from the service and bind it to a label on your MashUp. 

Finally, bind the service to the "UploadComplete" option of the FileUpload widget. Your binding should look similar to the attached binding.  

Please find the attached service for your reference. 

 

Best regards,

Rajesh.

View solution in original post

2 REPLIES 2

Re: Problem Link FileUpload Widget

Please write a service that accepts an input of type string. Inside the service assign the input to the "FileName" property of the thing. Return the same "FileName" as an output from the service and bind it to a label on your MashUp. 

Finally, bind the service to the "UploadComplete" option of the FileUpload widget. Your binding should look similar to the attached binding.  

Please find the attached service for your reference. 

 

Best regards,

Rajesh.

View solution in original post

Re: Problem Link FileUpload Widget

 It worked.

 

Thank you Rajesh!