Outlook Add-in Compose Panel and On-Send Event

Corey Roach 21 Reputation points

I am creating an add-in for Outlook in compose mode. I would also like to have this panel inform the on-send validation.

Is it possible to either allow the two (compose panel and on-send script) to communicate or share a context, or have the compose panel handle the on-send event and validation?

In a browser, I am able to use window.sessionStorage to share data. But, this will not work with Outlook on desktop. I also looked at using office.SessionData, but this is still in beta and disabled.

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,583 questions
{count} votes

Accepted answer
  1. Neville Jones 76 Reputation points

    You can use a mailbox item's custom properties to share information between a compose panel and an on-send script.

0 additional answers

Sort by: Most helpful