It turns out that a call to localStorage was throwing an exception, which look like the function wasn't called at all.
OnNewMessageCompose not called
Hi all,
I was working on an Outlook Add-ins to insert a signature. All of the sudden, it stops working on my computer. From what I can see, the function defined in the manifest is never called when a new message is composed. In fact, the function is called in Outlook web, but for Outlook desktop, it works for some, and doesn't work for others.
Here is the definition in the manifest.xml
<ExtensionPoint xsi:type="LaunchEvent">
<LaunchEvents>
<LaunchEvent Type="OnNewMessageCompose" FunctionName="checkSignature" />
<LaunchEvent Type="OnNewAppointmentOrganizer" FunctionName="checkSignature" />
</LaunchEvents>
<SourceLocation resid="Autorun" />
</ExtensionPoint>
Can you tell me why this "checkSignature()" function is never called?
Or do you have any clue on how to debug this? I can't open DevTools until I open the Add-ins pane, but it is too late to check the action code.
Thanks in advance.