cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 PDF Viewer Embedded not working on chrome

PedroLazaro
Participant
514

Hello experts! Good night!

In my current project I'm trying to load a pdf embedded in the view via the sapui5 PDFViewer control, but It only works on Microsoft Edge browser. In chrome, I'm getting a generic error like 'It was not possible to load de pdf'. 

For my surprise, the same occurs when I access the sample page:
PDF Viewer - Embedded - Samples - Demo Kit - SAPUI5 SDK (ondemand.com)

on chrome:

PedroLazaro_2-1728167448992.png

 

in edge :

PedroLazaro_3-1728167479451.png


here, if it is of some help, I have the console log of the chrome:

PedroLazaro_4-1728167584182.png

The same behavior was identified by my teammates.

May you share some thoughts?

Best regards!

Pedro

 

WouterLemaire
Active Contributor
Maybe a bug in ui5? Have you tested with other ui5 versions?
akuller_q
Participant
I know the problem from some customers who have deactivated the internal PDF reader in their browser. Have a play around with the options.
gs_debo
Discoverer
Did you find a solution? I am dealing with the same error right now
PedroLazaro
Participant
Hello, @gs_debo! Unfortunately I didn't find a solution by now.
Estefanía
Discoverer
0 Kudos

Hello Pedro and comunity,

I've got the same issue... With this config in my browser:

Estefana_3-1730204335895.png

While I was debugging Chrome and Edge at the same time I could see in Chrome the error MSGID: SAPUI5_APPRUNTIME_MSGID_236 but in Edge this ID never appear in the whole process (this is a hard way but i'm desperate):

Estefana_0-1730204096792.png

I'm looking for more related to this error code but I cannot find anything...

Estefana_2-1730204275162.png

Anyone who knows about this error?

Thanks and regards

 

View Entire Topic
gs_debo
Discoverer

Please let me know if you find a solution 🙂