OnNewMessageCompose not called

Maxime P 11 Reputation points

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">
        <LaunchEvent Type="OnNewMessageCompose" FunctionName="checkSignature" />
        <LaunchEvent Type="OnNewAppointmentOrganizer" FunctionName="checkSignature" />
      <SourceLocation resid="Autorun" />

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.

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,589 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,949 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Maxime P 11 Reputation points

    It turns out that a call to localStorage was throwing an exception, which look like the function wasn't called at all.

    0 comments No comments