tanvi patel
tanvi patel

Reputation: 1

Outlook Addin Office Intitalize function in visual Studio 2017

I am developing an outlook addin using visual studio 2017 outlook web addin template.

I want to handle the event when the addin was first installed.

How can I get the installation event.I refered this link but its not giving me any event information for addin.

Upvotes: 0

Views: 38

Answers (1)

user7823505
user7823505

Reputation:

Office.initialize is used for determining when an add-in is launched and the runtime is ready. When the event is invoked, it means that all Office.js APIs are ready to use. There is no event for when add-ins are installed. If you are looking to create a "First-Run" Experience, you may use the RoamingSettings object to set some kind of mark if user went through your guide and doesn't want to see it any longer. This object will be available right after Office.initialize, so you can try to get this mark (key) and redirect to your app page(s) or your guide page(s) according.

Upvotes: 0

Related Questions