10-15-2018 09:26 PM
Our client has a consumer portal and uses xslt template for designing feature info attribute panel. There is a link to a pdf file and when we click on that it opens a new tab with the pdf link but the pdf can't be displayed and the page is just blank. If we copy the link and paste into another tab then the pdf showing normally. It looks to us that there some security settings for the iFrame that wraps the feature info attribute panel that we need to modify.
Appreciate all suggestions and ideas
10-18-2018 03:26 AM
Logged as product defect. This problem affects only Chrome and IE11. PDF links work in Firefox or Edge. It seems there's a problem with the iFrame sandbox settings.
10-23-2018 12:44 AM
I also found this bug in Chromium which seems to be related:
10-26-2018 12:30 AM
A working work-around has been found for this behavior - it is necessary to disable iframe "sandboxing". You can edit app.js script file, look for
string sandbox="allow-same-origin allow-scripts allow-popups" and then delete it completely. This will remove the sandbox attribute from an iframe. Use at your own risk as we don't know possible side effects without complex testing.
This seems as a limitation or bug of Chrome and IE11. I've made some searching and found very likely related open bug against Chromium engine: