Skip to main content
Nov 29, 2017 3:01 PM UTC
Solved

How to pass data/byte stream of a pdf file to WebFrame?

We want to open up pdf file stream data (i.e. typically byte stream) in WebFrame control.

Is it possible to do that in Twx?

or

Is there any other widget to open pdf file in Thingworx?

Thanks in advance.

 

 

Regards,

Imran

imshaikhAnswer
Nov 13, 2018 7:57 AM UTC

For this we need to copy pdf file to the repository. So this is not acceptable in my case. Anyways
I got other solution to open pdf file in WebFrame in .net.

4 replies

Nov 1, 2018 1:52 PM UTC

cbuse describes how to open a PDF into webframe widget here: 

https://community.ptc.com/t5/ThingWorx-Developers/Viewing-a-PDF-file-stored-in-a-network-share/m-p/556235

 

I think the PDF has to be in a FileRepository though, so it may not be what you're looking for.

Nov 13, 2018 7:49 AM UTC

Hi @imshaikh

 

Hope you are doing good. Could you please confirm if the issue has been resolved.

 

If yes, please mark the answer as accept as solution for the future reference. Thank you in advance.

Regards-Mohit Goel