Select to view content in your preferred language

Chrome page block

1018
3
Jump to solution
03-29-2022 06:38 AM
Labels (1)
Ed_
by MVP Regular Contributor
MVP Regular Contributor

Hello, I am getting an error, while embedding a PDF URL (published  on AGOL) in Instant Apps. How can I fix this?

SaadullahBaloch_0-1648561040091.jpeg

 

 

Question | Analyze | Visualize
0 Kudos
1 Solution

Accepted Solutions
RyanLibed
Esri Contributor

Hi @Ed_,

It's recommended to upload the PDF directly from Portfolio's configuration page, using the 'File' option.

RyanLibed_0-1648569295777.png

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

View solution in original post

3 Replies
RyanLibed
Esri Contributor

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

Ed_
by MVP Regular Contributor
MVP Regular Contributor

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.

Question | Analyze | Visualize
0 Kudos
RyanLibed
Esri Contributor

Hi @Ed_,

It's recommended to upload the PDF directly from Portfolio's configuration page, using the 'File' option.

RyanLibed_0-1648569295777.png

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