
You can use a mailbox item's custom properties to share information between a compose panel and an on-send script.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
You can use a mailbox item's custom properties to share information between a compose panel and an on-send script.