[Outlook add in]Issue with Compose Launch event
Hi There, We Have developed an outlook add-in, I need a help on below implementation. Whenever I open a "Compose New Email", I have to open my add-in I know I have to use the LaunchEvent to cat the trigger. My manifest is as below <ExtensionPoint xsi:type="LaunchEvent"> <LaunchEvents> <LaunchEvent Type="OnNewMessageCompose" FunctionName="onMessageComposeHandler" /> </LaunchEvents> </ExtensionPoint> But what is the code to open my add-in ? onMessageComposeHandler I am using Office.addin.showAsTaskpane(); but getting error Or, are there any other way to trigger/open the addin henever we are in a new email compose modal ? function onMessageComposeHandler() { Office.addin.showAsTaskpane(); } I tried with the mailbox version 1.3 and 1.4, but not working Getting the error like, "showAsTaskpane" of undefined