Hi all,
i want to create an app, where visitors can do a “self” check-in.
Therefore they have to read a pdf-file for safety instructions.
The Browser runs on Kiosk mode, so the modal PDF-Preview is not that great for my use case.
Thats why I’ve created a small http server which hosts the pdf-file localy to display it.
In my SAP Build App I tried to display the pdf via the Inline Frame (iFrame), but Chrome is everytime saying, that it is blocked by Chrome:
I found out, that this has to do with the sandbox attribute of the HTML iFrame.
It sets the sandbox attribute everytime, as well when I’m not setting anything:
It also not works, when I am adding every value:
allow-downloads allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin allow-scripts allow-storage-access-by-user-activation Experimental allow-top-navigation allow-top-navigation-by-user-activation allow-top-navigation-to-custom-protocols
When I remove the sandbox attribute by myself in the developer console, and right clicking “reload frame”, it is showing my pdf like it should 🙂
Â
Is there a way to remove the attribute? Or a workaround for that?
Â
Thanks,
Vincent