Hi Community,
I am using the WebFrame widget in a ThingWorx Mashup to display PDF files. On desktop browsers it works completely fine — I can scroll through and see all pages of the PDF.
However, on the iPad, if I open a PDF that has more than one page, only the first page is displayed. When I scroll down, no further pages are shown (it looks like the PDF is cut off).
Has anyone faced this issue before?
I have already tried different browsers on ipad. result is same.
Thanks in advance for your help!
Solved! Go to Solution.
Thanks for your response. I think then i should use ThingView widget to render pdf in mashup and may be that will work in ipad.. As you can see it can also render PDF in mashup and in PC i have tested it and it works..
That's an IPad problem, not a ThingWorx problem.
https://stackoverflow.com/questions/15854537/make-embedded-pdf-scrollable-in-ipad
Thanks for your response. I think then i should use ThingView widget to render pdf in mashup and may be that will work in ipad.. As you can see it can also render PDF in mashup and in PC i have tested it and it works..
i have an expression which prepares a url for me for pdf and it works fine for webframe widget but for thingview widget these errors appear in console and sometime it cannot open pdf also.. and it convert also in request as u can .pdf to etb ..
what can be the reason here? any idea thanks
Hi @MA8731174,
Can you try configuring a fixed PDF URL for ProductToView to see if ThingView can render it correctly?
Just to see whether the issue is in ThingView rendering the PDF or if anything wrong with the url preparation service.
If the ThingView cannot render the PDF correctly, you might need to open a support case for further troubleshooting.
Best,
Hi @MA8731174,
What is the relationship between this post and this post?
In the latter post, you mentioned "The ThingView widget, however, displays all pages correctly."
Does that mean this issue is solved? If so, could you please designate an appropriate answer as the Accepted Solution?
Best,
Hi @TonyZhang
Yes thats true that ThingView Widget shows all pages in ipad but then came the second issue that when we close pdf and open again then it does not render the pdf and for that ticket is created and the moment i will response from ptc then i ll update the second post.. Thanks
Hi @MA8731174,
Thank you for the clarification and update.
Since you have another post to track this paryicular issue - close pdf and open again then it does not render the pdf, I think I will mark your answer as the accepted solution for this post. Please let me know if you think it's not appropriate.
Appreciate if you could update the post once you get the answer from support for the benefit of other Community Members who may have the same question.
Thanks,
