title: Outlook Web Add-in : Ribbon button grayed out in Explorer view in Email
body: <p>I am using ribbon button in outlook web addin to open a task pane. It works fine in outlook on web. But in outlook outlook desktop(2016) ribbon button are grayed out(disable) in explorer view of email.<a href="https://imgur.com/Z8cXGjv" rel="nofollow noreferrer">See here</a>. But When open a email button is enable. I am using outlook 64 bit. </p>
  
  <p>And this is manifest file i am using.</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!--Created:ce44715c-8c4e-446b-879c-ea9ebe0f09c8--&gt;
  &lt;OfficeApp 
            xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" 
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
            xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" 
            xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" 
            xsi:type="MailApp"&gt;
  
    &lt;!-- Begin Basic Settings: Add-in metadata, used for all versions of Office unless override provided. --&gt;
  
    &lt;!-- IMPORTANT! Id must be unique for your add-in, if you reuse this manifest ensure that you change this id to a new GUID. --&gt;
    &lt;Id&gt;aeeb9a41-c591-4718-88e0-9ab3f4ec3eb9&lt;/Id&gt;
  
    &lt;!--Version. Updates from the store only get triggered if there is a version change. --&gt;
    &lt;Version&gt;1.0.0.0&lt;/Version&gt;
    &lt;ProviderName&gt;Davton&lt;/ProviderName&gt;
    &lt;DefaultLocale&gt;en-US&lt;/DefaultLocale&gt;
    &lt;!-- The display name of your add-in. Used on the store and various places of the Office UI such as the add-ins dialog. --&gt;
    &lt;DisplayName DefaultValue="Notify To Team" /&gt;
    &lt;Description DefaultValue="Notify To Team"/&gt;
    &lt;IconUrl DefaultValue="https://localhost:44300/Images/dvt-80.png"/&gt;
    &lt;HighResolutionIconUrl DefaultValue="https://localhost:44300/images/dvt-80.png" /&gt;
  
    &lt;SupportUrl DefaultValue="http://www.contoso.com" /&gt;
    &lt;!-- Domains that will be allowed when navigating. For example, if you use ShowTaskpane and then have an href link, navigation will only be allowed if the domain is on this list. --&gt;
    &lt;AppDomains&gt;
      &lt;AppDomain&gt;AppDomain1&lt;/AppDomain&gt;
      &lt;AppDomain&gt;AppDomain2&lt;/AppDomain&gt;
      &lt;AppDomain&gt;AppDomain3&lt;/AppDomain&gt;
    &lt;/AppDomains&gt;
    &lt;!--End Basic Settings. --&gt;
    &lt;Hosts&gt;
      &lt;Host Name="Mailbox" /&gt;
    &lt;/Hosts&gt;
    &lt;Requirements&gt;
      &lt;Sets&gt;
        &lt;Set Name="Mailbox" MinVersion="1.1" /&gt;
      &lt;/Sets&gt;
    &lt;/Requirements&gt;
    &lt;FormSettings&gt;
      &lt;Form xsi:type="ItemRead"&gt;
        &lt;DesktopSettings&gt;
          &lt;SourceLocation DefaultValue="https://localhost:44300/MessageRead.html"/&gt;
          &lt;RequestedHeight&gt;250&lt;/RequestedHeight&gt;
        &lt;/DesktopSettings&gt;
      &lt;/Form&gt;
    &lt;/FormSettings&gt;
  
    &lt;Permissions&gt;ReadWriteItem&lt;/Permissions&gt;
    &lt;Rule xsi:type="RuleCollection" Mode="Or"&gt;
      &lt;Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" /&gt;
    &lt;/Rule&gt;
    &lt;DisableEntityHighlighting&gt;false&lt;/DisableEntityHighlighting&gt;
  
    &lt;VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0"&gt;
      &lt;Requirements&gt;
        &lt;bt:Sets DefaultMinVersion="1.3"&gt;
          &lt;bt:Set Name="Mailbox"/&gt;
        &lt;/bt:Sets&gt;
      &lt;/Requirements&gt;
      &lt;Hosts&gt;
        &lt;Host xsi:type="MailHost"&gt;
          &lt;DesktopFormFactor&gt;
            &lt;FunctionFile resid="functionFile"/&gt;
            &lt;!--  Message Read  --&gt;
            &lt;!-- Message Read --&gt;
            &lt;ExtensionPoint xsi:type="MessageReadCommandSurface"&gt;
              &lt;!-- Use the default tab of the ExtensionPoint or create your own with &lt;CustomTab id="myTab"&gt; --&gt;
              &lt;OfficeTab id="TabDefault"&gt;
                &lt;!-- Up to 6 Groups added per Tab --&gt;
                &lt;Group id="msgReadGroup"&gt;
                  &lt;Label resid="groupLabel" /&gt;
                  &lt;!-- Launch the add-in : task pane button --&gt;
                  &lt;Control xsi:type="Button" id="msgReadOpenPaneButton"&gt;
                    &lt;Label resid="paneReadButtonLabel" /&gt;
                    &lt;Supertip&gt;
                      &lt;Title resid="paneReadSuperTipTitle" /&gt;
                      &lt;Description resid="paneReadSuperTipDescription" /&gt;
                    &lt;/Supertip&gt;
                    &lt;Icon&gt;
                      &lt;bt:Image size="16" resid="icon16" /&gt;
                      &lt;bt:Image size="32" resid="icon32" /&gt;
                      &lt;bt:Image size="80" resid="icon80" /&gt;
                    &lt;/Icon&gt;
                    &lt;Action xsi:type="ShowTaskpane"&gt;
                      &lt;SourceLocation resid="messageReadTaskPaneUrl" /&gt;
                    &lt;/Action&gt;
                  &lt;/Control&gt;
                  &lt;!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu --&gt;
                &lt;/Group&gt;
              &lt;/OfficeTab&gt;
            &lt;/ExtensionPoint&gt;
          &lt;/DesktopFormFactor&gt;
        &lt;/Host&gt;
      &lt;/Hosts&gt;
      &lt;Resources&gt;
        &lt;bt:Images&gt;
          &lt;bt:Image id="icon16" DefaultValue="https://localhost:44300/Images/dvt-16.png"/&gt;
          &lt;bt:Image id="icon32" DefaultValue="https://localhost:44300/Images/dvt-32.png"/&gt;
          &lt;bt:Image id="icon80" DefaultValue="https://localhost:44300/Images/dvt-80.png"/&gt;
        &lt;/bt:Images&gt;
        &lt;bt:Urls&gt;
          &lt;bt:Url id="functionFile" DefaultValue="https://localhost:44300/Functions/FunctionFile.html"/&gt;
          &lt;bt:Url id="messageReadTaskPaneUrl" DefaultValue="https://localhost:44300/MessageRead.html"/&gt;
        &lt;/bt:Urls&gt;
        &lt;bt:ShortStrings&gt;
          &lt;bt:String id="groupLabel" DefaultValue="Connector"/&gt;
          &lt;bt:String id="customTabLabel"  DefaultValue="Notify to Team"/&gt;
          &lt;bt:String id="paneReadButtonLabel" DefaultValue="Notify to Team"/&gt;
          &lt;bt:String id="paneReadSuperTipTitle" DefaultValue="Notify to Team"/&gt;
        &lt;/bt:ShortStrings&gt;
        &lt;bt:LongStrings&gt;
          &lt;bt:String id="paneReadSuperTipDescription" DefaultValue="Opens a pane and select a dropdown channel to notify and notify"/&gt;
        &lt;/bt:LongStrings&gt;
      &lt;/Resources&gt;
      &lt;VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1"&gt;
        &lt;Requirements&gt;
          &lt;bt:Sets DefaultMinVersion="1.3"&gt;
            &lt;bt:Set Name="Mailbox"/&gt;
          &lt;/bt:Sets&gt;
        &lt;/Requirements&gt;
        &lt;Hosts&gt;
          &lt;Host xsi:type="MailHost"&gt;
            &lt;DesktopFormFactor&gt;
              &lt;FunctionFile resid="functionFile"/&gt;
              &lt;!-- Message Read --&gt;
              &lt;ExtensionPoint xsi:type="MessageReadCommandSurface"&gt;
                &lt;!-- Use the default tab of the ExtensionPoint or create your own with &lt;CustomTab id="myTab"&gt; --&gt;
                &lt;OfficeTab id="TabDefault"&gt;
                  &lt;!-- Up to 6 Groups added per Tab --&gt;
                  &lt;Group id="msgReadGroup"&gt;
                    &lt;Label resid="groupLabel" /&gt;
                    &lt;!-- Launch the add-in : task pane button --&gt;
                    &lt;Control xsi:type="Button" id="msgReadOpenPaneButton"&gt;
                      &lt;Label resid="paneReadButtonLabel" /&gt;
                      &lt;Supertip&gt;
                        &lt;Title resid="paneReadSuperTipTitle" /&gt;
                        &lt;Description resid="paneReadSuperTipDescription" /&gt;
                      &lt;/Supertip&gt;
                      &lt;Icon&gt;
                        &lt;bt:Image size="16" resid="icon16" /&gt;
                        &lt;bt:Image size="32" resid="icon32" /&gt;
                        &lt;bt:Image size="80" resid="icon80" /&gt;
                      &lt;/Icon&gt;
                      &lt;Action xsi:type="ShowTaskpane"&gt;
                        &lt;SourceLocation resid="messageReadTaskPaneUrl" /&gt;
                        &lt;SupportsPinning&gt;true&lt;/SupportsPinning&gt;
                      &lt;/Action&gt;
                    &lt;/Control&gt;
                    &lt;!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu --&gt;
                  &lt;/Group&gt;
                &lt;/OfficeTab&gt;
              &lt;/ExtensionPoint&gt;
            &lt;/DesktopFormFactor&gt;
          &lt;/Host&gt;
        &lt;/Hosts&gt;
        &lt;Resources&gt;
          &lt;bt:Images&gt;
            &lt;bt:Image id="icon16" DefaultValue="https://localhost:44300/Images/dvt-16.png"/&gt;
            &lt;bt:Image id="icon32" DefaultValue="https://localhost:44300/Images/dvt-32.png"/&gt;
            &lt;bt:Image id="icon80" DefaultValue="https://localhost:44300Images/dvt-80.png"/&gt;
          &lt;/bt:Images&gt;
          &lt;bt:Urls&gt;
            &lt;bt:Url id="functionFile" DefaultValue="https://localhost:44300/Functions/FunctionFile.html"/&gt;
            &lt;bt:Url id="messageReadTaskPaneUrl" DefaultValue="https://localhost:44300/MessageRead.html"/&gt;
          &lt;/bt:Urls&gt;
          &lt;bt:ShortStrings&gt;
            &lt;bt:String id="groupLabel" DefaultValue="Connector"/&gt;
            &lt;bt:String id="customTabLabel"  DefaultValue="Connector"/&gt;
            &lt;bt:String id="paneReadButtonLabel" DefaultValue="Notify to Team"/&gt;
            &lt;bt:String id="paneReadSuperTipTitle" DefaultValue="Notify to Team"/&gt;
          &lt;/bt:ShortStrings&gt;
          &lt;bt:LongStrings&gt;
            &lt;bt:String id="paneReadSuperTipDescription" DefaultValue="Opens a pane and select a dropdown channel to notify and notify"/&gt;
          &lt;/bt:LongStrings&gt;
        &lt;/Resources&gt;
      &lt;/VersionOverrides&gt;
    &lt;/VersionOverrides&gt;
  &lt;/OfficeApp&gt;
  </code></pre>
  
  <p>can anyone help me to enable ribbon button in explorer view in outlook.</p>