May 27, 2020 2:32 PM
With the last update of chrome it restricted the possibility to download in a restricted iframe, see the note (https://www.chromestatus.com/feature/5706745674465280)
I have an integration where I make files available for download, now how can I add this flag to an iframe of the crm card extension
Solved! Go to Solution.
Jun 16, 2020 8:51 AM
Thanks for your patience, @eduardoavargas.
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!
Isaac TakushiAssociate Certification Manager |
Nov 30, 2020 8:27 AM
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 ).
Can anyone help me through this?
May 28, 2020 2:48 PM
Hi, @eduardoavargas.
Thanks for reaching out.
Off the top of my head, I don't know of a way for you to edit a HubSpot CRM card/extension's iframe
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.
Isaac TakushiAssociate Certification Manager |
May 28, 2020 3:43 PM
Thanks for the feedback
My app Id: 196032
I will send print because we have sensitive data in the application
By clicking on this image (Captura3.png) the file is downloaded to the user's machine. everything was fine until the chrome update.
One more detail, this iframe is for users logged in. I use the authentication of the hub to authenticate myself in my application.
May 29, 2020 10:09 AM
Thank you for sharing this, @eduardoavargas.
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?
Isaac TakushiAssociate Certification Manager |
May 29, 2020 12:12 PM
Good afternoon @IsaacTakushi
Yes, post a warning on 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
.
May 29, 2020 1:49 PM - edited Jun 4, 2020 3:06 PM
Thank you, @eduardoavargas.
I'll share this with my team to see what options we have available.
I appreciate your patience!
Isaac TakushiAssociate Certification Manager |
Jun 4, 2020 3:07 PM
Hey, @eduardoavargas.
I wanted to let you know that we're still discussing this internally. We haven't forgotten about you!
Thanks for your continued patience.
Isaac TakushiAssociate Certification Manager |
Jun 16, 2020 8:51 AM
Thanks for your patience, @eduardoavargas.
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!
Isaac TakushiAssociate Certification Manager |