I am trying to include a document as embedded content within a dashboard. As the interface requires a URL, I have attempted to upload the files to my AGOL content. When using an image, the image remains displayed within the iframe (embedded content), however if I use the url to the document, it's initially perfect and displays the pdf in the iframe to scroll etc, but after a few hours displays an error message saying that it has expired. I am aware that AWS changes their tokens every few hrs.
How can I get a document into the dashboards embedded content? Seems a bit pointless if ESRI allows you to upload a PDF file, but you cannot then make it available in their tools.
I'm assuming the only other way is to use an externally hosted link to the document?
Thanks in advance