Hi all!
We’ve built a sidebar plugin that serves up relevant information to our users about the email that they’re viewing.
One of the things we’d like to do is allow them to download documents related to the email.
We have an API that we’re reaching out to that returns the file in base-64. We’ve been unable to serve the file up to the user to download as the iframe the plugin is in doesn’t allow popups or downloads.
We’ve considered temporarily saving the file to blob storage and then using the openUrl function to access it but that seems like an expensive solution.
Any insight would be appreciated!