'I want to to load javascript based add-in on click on the button in toolbar via macro can anyone tell me how to do that process?

I have an add-in and I have created a toolbar for office word. I have used the office ribbon editor to design a custom UI for the toolbar and when I click on the button inside the toolbar I want to load the add-in.

so can anyone guide me to archive this functionality thanks in advance.



Solution 1:[1]

This is not a supported scenario. Web add-ins don't provide any API for that.

Feel free to post a feature request/suggestion to https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/idb-p/Microsoft365DeveloperPlatform .

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1