Hello, I am getting an error, while embedding a PDF URL (published on AGOL) in Instant Apps. How can I fix this?
Solved! Go to Solution.
Hi @Ed_,
It's recommended to upload the PDF directly from Portfolio's configuration page, using the 'File' option.
The browser is not allowing the hosted PDF from displaying as there are browser security restrictions in place with certain content from being directly embedded into Portfolio.
You can find more information under the 'Data Requirements' section in Portfolio's documentation page: here: https://doc.arcgis.com/en/instant-apps/latest/create-apps/portfolio.htm#ESRI_SECTION1_D674DE79681646...
Thank you,
Ryan
Hello @Ed_ ,
Is the content that you're embedding an external web site? Or is it a hosted file such as a PDF?
Thank you,
Ryan
Good day Ryan,
The PDF is hosted on AGOL and is public and I used the share URL provided at the bottom of the item page.
Hi @Ed_,
It's recommended to upload the PDF directly from Portfolio's configuration page, using the 'File' option.
The browser is not allowing the hosted PDF from displaying as there are browser security restrictions in place with certain content from being directly embedded into Portfolio.
You can find more information under the 'Data Requirements' section in Portfolio's documentation page: here: https://doc.arcgis.com/en/instant-apps/latest/create-apps/portfolio.htm#ESRI_SECTION1_D674DE79681646...
Thank you,
Ryan