Select to view content in your preferred language

Downloads blocked within iframe

987
0
09-18-2023 09:01 AM
Labels (3)
Giorgia_WT
New Contributor

Hi everyone,

as stated in the title, we are developing a custom application to be embedded, using an i-frame, into a Dashboard. The application should contain links to files (.log, .pdf, .xlsx) which are the result of a processing.

When the stand-alone application is tested, the links work fine. When we test it from within the Dashboard, the following happens:

- when the link should open a new page (as is the case with the .pdf file), the following message appears: "the page has been blocked by Chrome" (ERR_BLOCKED_BY_CLIENT). We get similar results with different browsers;

- when the link should prompt a download, nothing happens

- when the link address is a portal item, the page opens, but then clicking on the "download" button, the same error page is displayed.

 

In a previous post, it is stated that a possible solution, adding allow-downloads to the i-frame, is not compatible with ESRI's security policies.

https://community.esri.com/t5/arcgis-storymaps-questions/allow-downloads-within-embedded-content/m-p...

 

I'd like to know if this has changed in the meanwhile, and ask if somebody could suggest a workaround.

Thank you very much for your help,

Giorgia

0 Kudos
0 Replies