In an Outlook addin, how to check whether we are in compose mode or read mode?
I'm creating an outlook add-in and use the OfficeJS API in React app. In there I want to load a specific set of features for the compose mode and another set of features for the read mode. So my question is, how to see in which mode I'm currently on? In the manifest.xml file you should have different ExtensionPoint for compose and read view as follow ... <ExtensionPoint xsi:type="MessageReadCommandSurface"> </ExtensionPoint> <ExtensionPoint xsi:type="MessageComposeCommandSurface"> </ExtensionPoint> Each of this sections have to have Action tag with ExecuteFunction or ShowTaskpane type. If you