Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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
Solved! Go to Solution.
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.
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.
It worked.
Thank you Rajesh!