Hi @Zahmedli
I found an aticle that might help: Activate your Outlook add-in without the Reading Pane enabled or a message selected - Office Add-in…
To activate your add-in with the Reading Pane turned off or without a message selected, you must add the SupportsNoItemContext child element to the <Action> element and set its value to true. As this feature can only be implemented with a task pane in Message Read mode, the following elements must also be configured.
- The VersionOverrides 1.1 Mail schema must be specified.
- The
xsi:typeattribute value of the<ExtensionPoint>element must be set toMessageReadCommandSurface. (You had this in your xml file already) - The
xsi:typeattribute value of the<Action>element must be set toShowTaskpane. (You need to add this)
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="Taskpane.Url"/>
<!-- Enables your add-in to activate without the Reading Pane enabled or a message selected. -->
<SupportsNoItemContext>true</SupportsNoItemContext>
</Action>
Please note that although Outlook on the web and new Outlook on Windows support requirement set 1.13, an add-in won't activate if the Reading Pane is hidden or a message isn't selected.
I hope this information helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.