Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I have a ThingWorx snippet -Resources["InfotableExporterFunctions"].ExportInfotableAsPdf(params); which is creating a pdf file in the "ThingWorxFoundation\ThingworxStorage\repository" location, but I need that file to be created in my local machine not in the ThingWorx repository.
1. Is there a way to create a file in my local machine ?
2. Or does ThingWorx has a feature to download the created file to my local machine?
Please suggest with your sample code. Thank you
Solved! Go to Solution.
You made a typo — it should be “FileRepositories” instead of “repository”.
Place your file into a FileRepository Thing and it will support downloadable links
You can download the generated file via a link like this: http://localhost:8080/Thingworx/FileRepositories/SystemRepository/myfile.pdf
You made a typo — it should be “FileRepositories” instead of “repository”.
Thank you. It works for me