On Friday, June 12, 2020, the team added the allow-downloads flag to CRM card iframes. Download functionality should now be restored for customers on Chrome 83!
How to add the allow-downloads flag to the sandbox tag in iframe
SOLVE
Hey, I'm still getting the same error(Download is disallowed. The frame initiating or instantiating the download is sandboxed, but the flag ‘allow-downloads’ is not set) when I try to download the HTML document as PDF using HTML2canvas function.
Version of my Google chrome is (Version 87.0.4280.66 ).
Off the top of my head, I don't know of a way for you to edit a HubSpot CRM card/extension'siframe attributes, but I want to pose your use case to my team.
Can you confirm your app ID? If you have a link to an example record which contains such an iframe action, that would be very helpful as well. Feel free to share these details with me via direct message.
One more point of clarification: What happens when a user attempts to download the files? Does Chrome throw an alert or only a warning or error in the console?
Download is disallowed. The frame initiating or instantiating the download is sandboxed, but the flag ‘allow-downloads’ is not set. See https://www.chromestatus.com/feature/5706745674465280 for more details
On Friday, June 12, 2020, the team added the allow-downloads flag to CRM card iframes. Download functionality should now be restored for customers on Chrome 83!
Is there any update on enabling the same functionality within the CMS page editor ? There are a significant number of use cases where a user might want to be able to downloads there also
These ranges from interactions with widgets that allow drag-and-drop file uploads, downloads, and any other JavaScript package with similar function, to theme defined developer extensions, editing and also chrome and other extensions layering function.
Likewise for enabling "allow-modals" in both contexts and the private apps / cards lack the ability to pass full request parameters which meeans you can not pass abort controllers etc
How to add the allow-downloads flag to the sandbox tag in iframe
SOLVE
Hi @nbrown8 Thanks for your comment! To ensure your question or topic gets the best visibility and a wider range of responses from the community, it's usually best to start a new thread rather than adding to an older one. A fresh post will help your query stand out to everyone who browses the forum, increasing the chances of someone with relevant insights or solutions seeing and responding to it quickly. Feel free to tag me in the post and I'm happy to get you started. Best, Victor
Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth. Learn More