[Web previewer] PDF file is not displaying in traditional developer.

I am using web previewer and it is working fine but from 2 days the pdf content is not working. The document contain 3 pages.
I have also went through some forum question but did not get any thing.

 

Many thanks in advance 

I had this same problem yesterday and started using this component instead:

https://www.outsystems.com/forge/component-overview/3526/simpleviewer

Hi Kaustubh,

Please use this expression "<iframe src='" + Location + "' width='" + Width + "' height='" + Height + "'></iframe>" 

in PDF expression instead of this screen shot

This will always display the document,


Regards,

Komal

Hi Komal, I tried that too. In my case it didn't work.

Hi Jose

It worked in my case , please copy paste this expression 

"<iframe src='" + Location + "' width='" + Width + "' height='" + Height + "'></iframe>"

and try again.

I am using this since 2019 and it is working fine for me ,

Kind regards,

Komal

I had this same problem yesterday and started using this component instead:

https://www.outsystems.com/forge/component-overview/3526/simpleviewer

Hi Kaustubh,

Please use this expression "<iframe src='" + Location + "' width='" + Width + "' height='" + Height + "'></iframe>" 

in PDF expression instead of this screen shot

This will always display the document,


Regards,

Komal

Hi Komal, I tried that too. In my case it didn't work.

Hi Jose

It worked in my case , please copy paste this expression 

"<iframe src='" + Location + "' width='" + Width + "' height='" + Height + "'></iframe>"

and try again.

I am using this since 2019 and it is working fine for me ,

Kind regards,

Komal

Hi Jose and Komal,


Both the solutions are working fine for me. Thanks For Your Answers !!!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.