Share via

How to detect event-based activation support in Officejs

Manuel 40 Reputation points
2024-03-21T15:34:43.6366667+00:00

Our add-in is using event-based activation (OnNewMessageCompose, OnMessageSend). Those events are not critical, therefore we use an unrestricted listing in AppSource. But we'd like to show an information inside the taskpane, if the add-in has been installed directly from AppSource by an user. So it's clear that event-based features of our add-ins won't work. Is there a way in Officejs to detect whether event-based activation is available or the add-in has been installed directly from AppSource by an user?

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.