Skip to main content
14-Alexandrite
Dec 27, 2024 6:10 AM UTC
Solved

How to Access Pdf File from my ThingWorx System Repository

I have a pdf file in my system repository. How can I access that pdf kept in System Repository?

16-Pearl
Dec 27, 2024 10:11 AM UTC

Hi @Abhishek_Tirkey, If you want to show a PDF file from the repository to runtime or something else, look at the article below. If you're going to display your file in a mashup, then use a web frame widget.

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

2 replies

16-Pearl
Dec 27, 2024 10:11 AM UTC

Hi @Abhishek_Tirkey, If you want to show a PDF file from the repository to runtime or something else, look at the article below. If you're going to display your file in a mashup, then use a web frame widget.

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

Translate
14-Alexandrite
Dec 28, 2024 6:17 PM UTC

Thank you @Surya_Tiwari , that worked for me.

 

File Location - System Repository
File Name - file.pdf

So the URL to access the pdf will be (Change host and port [localhost:8080] according to your device) - 

 

http://localhost:8080//Thingworx/FileRepositoryDownloader?download-repository=SystemRepository&directRender=true&download-path=file.pdf

Translate