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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

How to preview PDF file in Mashup

AK_10385731
4-Participant

How to preview PDF file in Mashup

Is there a way to preview a PDF file in a ThingWorx mashup without downloading it to the ThingWorx repository? The PDF file varies, and we need to display a specific page in the preview.

Thank you in advance!

2 REPLIES 2

Hello,

 

The easiest solution is to pass your PDF URL into Web Frame widget. I've just checked -- it works with PDFs just fine in my Firefox:

 

Constantine_0-1730308206870.png

 

If your URL is protected through authentication or CORS, then you can also create a Media entity with Dynamic Content, and configure it as a "proxy", as this article describes: https://support.ptc.com/help/thingworx/platform/r9.5/en/index.html#page/ThingWorx/Help/Composer/Visualization/MediaEntities.html

 

/ Constantine

Hi @AK_10385731 ,

 

Can you confirm whether the @Constantine 's solution was suitable for your use-case?

I believe the solution should work, but for the benefit of others, it would be good to validate this from your side.

 

Thank you!

Announcements


Top Tags