Reputation: 69
I am trying to create a sample addon which have an iframe. I am getting the following error:
The value returned from Apps Script has a type that cannot be used by the add-ons platform. Also make sure to call build on any builder before returning it.
Upvotes: 1
Views: 1783
Reputation: 582
In short : NO
Add-ons are built using Cards. These Cards in turn render markup. Which implies that you can't use any form of HTML inside these cards. You would have to call the methods provided by google to render UI. You can however create a button to open a URL in a new window. Check this.
Upvotes: 1
Reputation: 256
You can't use iframes with the Gmail add-on. You can only build cards using google apps scripts. Here are some more restrictions https://developers.google.com/gmail/add-ons/guides/restrictions
Upvotes: 2