Add universal action (Context menu) dynamically using Alternative runtime for Gmail Addon.

139 views
Skip to first unread message

imantest wr

unread,
Sep 3, 2021, 5:59:19 AM9/3/21
to Google Apps Script Community
Use Case: 
Need to add menu options under addon context menu dynamically using Alternative runtime for Gmail Addon. (Currently we add menu option under UniversalAction in manifest statically).

Need clarification: Currently we can define menu options under universalActions in manifest for the gmail addon, but I don’t find any way (define in JSON) to dynamically add using alternative runtime (our own backend).

Have you came similar problem / found any solution for the same / any replay whether it is possible or not will be helpful.

Thanks in Advance

Clark Lind

unread,
Sep 3, 2021, 9:39:23 AM9/3/21
to Google Apps Script Community
I'm not even sure that is something that can be done without using alternative runtimes. If you can find how to do it with Apps Script, you should be able to do it in an alternative runtime I should think (if the capability exists).
I am no expert when it comes to cards and add-ons, so the above is just an assumption. 

Are you trying to dynamically modify the main menu (1), or something like a dropdown inside the card?(2). 
Capture.JPG

Reply all
Reply to author
Forward
0 new messages