Anyone know why Chrome would block access to an S3 hosted PDF file I’m trying to embed into a QuickSight dashboard?
Hello @Kashgar, I have answered a similar question to this one but it was regarding an image in S3 rather than a PDF. If you are utilizing custom visual content in QuickSight, the PDF needs to be viewable within the users browser, not QuickSight. This should help explain it a bit, but basically it needs to be public.
I hope this helps!
Hi @DylanM - Thanks for the reply. I reviewed that post and I can confirm I completed those steps. I’ve uploaded to a bucket, set policy to public access, and tested the link in my browser and that works. I even uploaded an image into the S3 bucket to test and was able to get that to work in the dashboard. I think it has something to do with being a PDF. Once I pasted the link into the custom visual content field I get the error listed above. So I’m wondering if there is some limitation with visualizing a PDF in custom content visual. This is the PDF in question. Any other tips are appreciated! Thanks
Hello @Kashgar, I do believe you are correct. I haven’t attempted this before, but there must be some kind of limitation regarding PDFs for the custom visual content. It doesn’t mention excluding PDFs specifically, but in the documentation, I see it mentions these types for the options webpage, video, online form, or image
.
Would you be able to store the PDF as an image in S3 instead? That should resolve the issue you are facing. I can also tag this as a feature request since PDFs don’t seem to be an applicable custom visual content type for QuickSight.
Thanks again for the follow up @DylanM! Really the only reason I wanted to add a PDF was to include hyperlinks. I can’t pass hyperlinks in any of the image formats. I also have a user guide I wanted to embed that is PDF. I thought WorkDocs might be viable, but that didn’t work either. Thanks again
Hello @Kashgar, if you do switch it to an image, one option you have is to create some URL actions on the visual and add the URLs that you wanted to be able to link to. Then you can name your actions in a way to allow the user to still go to the links you wanted to utilize. I think this would be the best work-around while still maintaining the functionality!
Thats actually a really good idea. I can just link to the embedded diagram on my website. Thanks for the help on this! Great community!