[Reactive Web Previewer] Problems Previewing File
Question
Forge component by Marcelo Ferreira

Hi Guys,

I am using this component but i am facing some issues... Usually, at the first time the screen loads i am able to preview the file but after that, i get lucky if i am able to Preview the File!

It's a completely random behavior...

On Chrome i get errors related with SameSite Cookie (which, btw, is set to none on LifeTime). On Firefox i get no error at all. No log is generated on Service Center!


Anyone with similar issues?

mvp_badge
MVP

Hi Pedro,

I only saw that problem once of random behavior and the problem wasn't with the previewer. We were saving pdf files with aspose and we had to change the way we save them for the problem to stop. From where those files come from? are you sure they are created correctly?

Can you replicate the problem in small module?

Regards,

Marcelo 

Pedro Domingues wrote:

Hi Guys,

I am using this component but i am facing some issues... Usually, at the first time the screen loads i am able to preview the file but after that, i get lucky if i am able to Preview the File!

It's a completely random behavior...

On Chrome i get errors related with SameSite Cookie (which, btw, is set to none on LifeTime). On Firefox i get no error at all. No log is generated on Service Center!


Anyone with similar issues?

Yes I have the same issue, complete random the preview doesn't open the first time. Luckily it opens most of the time :-)


I have the same problem.

Katrin Villanueva wrote:

I have the same problem.

I only tested this with pdf files. It seems that the embedded google viewer (docs.google.com/gview) is the one causing the inconsistencies in previewing pdf files. I haven't found an alternative source. I tried viewerng and viewer but they are having the same issue. I might just look for another forge app.


Hi Pedro,

Don't your problem solved or not , but instead of this expression,

Use this one ,it will solve your problem ,

the expression is ,

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

Regards,

Komal

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