I have developed an outlook add-in. It is working fine in web version. But not working in desktop outlook app

I have developed an outlook add-in. It is working fine in web version. But not working in desktop outlook app. I have noticed that it is because of VersionOverrides. I have tested without LaunchEvent extionType, it worked. But It is not working with LaunchEvent in manifest.xml... I have attached my manifest file, please correct the issue here


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<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">

  <Id>0a2c0a96-c046-42cf-8545-8228095caf17</Id>

  <Version>1.0.0.0</Version>

  <ProviderName>Pepper Cloud CRM</ProviderName>

  <DefaultLocale>en-US</DefaultLocale>

  <DisplayName DefaultValue="Pepper Cloud"/>

  <Description DefaultValue=" "/>

  <IconUrl DefaultValue="https://demo.peppercloud.com/office365app/assets/chrome_logo.png"/>

  <HighResolutionIconUrl DefaultValue="https://demo.peppercloud.com/office365app/assets/pc-logo-128.png"/>

  <SupportUrl DefaultValue="https://peppercloud.com/contact"/>

  <AppDomains>

    <AppDomain>https://demo.peppercloud.com</AppDomain>

    <AppDomain>https://login.microsoftonline.com</AppDomain>

  </AppDomains>

  <Hosts>

    <Host Name="Mailbox"/>

  </Hosts>

  <Requirements>

    <Sets>

      <Set Name="Mailbox" MinVersion="1.1"/>

    </Sets>

  </Requirements>

  <FormSettings>

    <Form xsi:type="ItemRead">

      <DesktopSettings>

        <SourceLocation DefaultValue="https://demo.peppercloud.com/office365app/taskpane.html"/>

        <RequestedHeight>250</RequestedHeight>

      </DesktopSettings>

    </Form>

  </FormSettings>

  <Permissions>ReadWriteItem</Permissions>

  <Rule xsi:type="RuleCollection" Mode="Or">

    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>

  </Rule>

  <DisableEntityHighlighting>false</DisableEntityHighlighting>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">

      <Requirements>

        <bt:Sets DefaultMinVersion="1.3">

          <bt:Set Name="Mailbox"/>

        </bt:Sets>

      </Requirements>

      <Hosts>

        <Host xsi:type="MailHost">

          <DesktopFormFactor>

            <ExtensionPoint xsi:type="MessageReadCommandSurface">

              <OfficeTab id="TabDefault">

                <Group id="msgReadGroup">

                  <Label resid="GroupLabel"/>

                  <Control xsi:type="Button" id="msgReadOpenPaneButton">

                    <Label resid="TaskpaneButton.Label"/>

                    <Supertip>

                      <Title resid="TaskpaneButton.Label"/>

                      <Description resid="TaskpaneButton.Tooltip"/>

                    </Supertip>

                    <Icon>

                      <bt:Image size="16" resid="Icon.16x16"/>

                      <bt:Image size="32" resid="Icon.32x32"/>

                      <bt:Image size="80" resid="Icon.80x80"/>

                    </Icon>

                    <Action xsi:type="ShowTaskpane">

                      <SourceLocation resid="Taskpane.Url"/>

                    </Action>

                  </Control>

                </Group>

              </OfficeTab>

            </ExtensionPoint>

            <ExtensionPoint xsi:type="MessageComposeCommandSurface">

              <OfficeTab id="TabDefault">

                <Group id="msgComposeGroup">

                  <Label resid="GroupLabel"/>

                  <Control xsi:type="Button" id="msgComposeOpenPaneButton">

                    <Label resid="TaskpaneButton.Label"/>

                    <Supertip>

                      <Title resid="TaskpaneButton.Label"/>

                      <Description resid="TaskpaneButton.Tooltip"/>

                    </Supertip>

                    <Icon>

                      <bt:Image size="16" resid="Icon.16x16"/>

                      <bt:Image size="32" resid="Icon.32x32"/>

                      <bt:Image size="80" resid="Icon.80x80"/>

                    </Icon>

                    <Action xsi:type="ShowTaskpane">

                      <SourceLocation resid="Taskpane.Url"/>

                    </Action>

                  </Control>

                </Group>

              </OfficeTab>

            </ExtensionPoint>

          </DesktopFormFactor>

        </Host>

      </Hosts>

      <Resources>

        <bt:Images>

          <bt:Image id="Icon.16x16" DefaultValue="https://demo.peppercloud.com/office365app/assets/logo.svg"/>

          <bt:Image id="Icon.32x32" DefaultValue="https://demo.peppercloud.com/office365app/assets/logo.svg"/>

          <bt:Image id="Icon.80x80" DefaultValue="https://demo.peppercloud.com/office365app/assets/logo.svg"/>

        </bt:Images>

        <bt:Urls>

          <bt:Url id="Commands.Url" DefaultValue="https://demo.peppercloud.com/office365app/commands.html"/>

          <bt:Url id="Taskpane.Url" DefaultValue="https://demo.peppercloud.com/office365app/taskpane.html"/>

          <bt:Url id="WebViewRuntime.Url" DefaultValue="https://demo.peppercloud.com/office365app/taskpane.html" />

          <bt:Url id="JSRuntime.Url" DefaultValue="https://demo.peppercloud.com/office365app/taskpane.js" />

        </bt:Urls>

        <bt:ShortStrings>

          <bt:String id="GroupLabel" DefaultValue="Pepper Cloud Add-in"/>

          <bt:String id="TaskpaneButton.Label" DefaultValue="Show Taskpane"/>

          <bt:String id="ActionButton.Label" DefaultValue="Perform an action"/>

        </bt:ShortStrings>

        <bt:LongStrings>

          <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Opens a pane displaying all available properties."/>

          <bt:String id="ActionButton.Tooltip" DefaultValue="Perform an action when clicked."/>

        </bt:LongStrings>

      </Resources>

   

    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">

      <Requirements>

        <bt:Sets DefaultMinVersion="1.3">

          <bt:Set Name="Mailbox"/>

        </bt:Sets>

      </Requirements>

      <Hosts>

        <Host xsi:type="MailHost">

          <Runtimes>

            <Runtime resid="WebViewRuntime.Url">

            </Runtime>

          </Runtimes>

          <DesktopFormFactor>

            <FunctionFile resid="Taskpane.Url"/>

            <ExtensionPoint xsi:type="LaunchEvent">

              <LaunchEvents>

                <LaunchEvent Type="OnMessageSend" FunctionName="LogMailToCRM" />

              </LaunchEvents>

              <SourceLocation resid="WebViewRuntime.Url"/>

            </ExtensionPoint>

          </DesktopFormFactor>

        </Host>

      </Hosts>

      <Resources>

        <bt:Images>

          <bt:Image id="Icon.16x16" DefaultValue="https://demo.peppercloud.com/office365app/assets/logo.svg"/>

          <bt:Image id="Icon.32x32" DefaultValue="https://demo.peppercloud.com/office365app/assets/logo.svg"/>

          <bt:Image id="Icon.80x80" DefaultValue="https://demo.peppercloud.com/office365app/assets/logo.svg"/>

        </bt:Images>

        <bt:Urls>

          <bt:Url id="Commands.Url" DefaultValue="https://demo.peppercloud.com/office365app/commands.html"/>

          <bt:Url id="Taskpane.Url" DefaultValue="https://demo.peppercloud.com/office365app/taskpane.html"/>

          <bt:Url id="WebViewRuntime.Url" DefaultValue="https://demo.peppercloud.com/office365app/taskpane.html" />

          <bt:Url id="JSRuntime.Url" DefaultValue="https://demo.peppercloud.com/office365app/taskpane.js" />

        </bt:Urls>

        <bt:ShortStrings>

          <bt:String id="GroupLabel" DefaultValue="Pepper Cloud Add-in"/>

          <bt:String id="TaskpaneButton.Label" DefaultValue="Show Taskpane"/>

          <bt:String id="ActionButton.Label" DefaultValue="Perform an action"/>

        </bt:ShortStrings>

        <bt:LongStrings>

          <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Opens a pane displaying all available properties."/>

          <bt:String id="ActionButton.Tooltip" DefaultValue="Perform an action when clicked."/>

        </bt:LongStrings>

      </Resources>

    </VersionOverrides>

  </VersionOverrides>

</OfficeApp>

|

Dear

Good day! Thank you for posting in the Microsoft Community. We'll be happy to help!

First of all, we regret for the inconvenience caused to your work. Based on your description, I have a general understanding of your question, seemly you have done a tests and everything is fine in OWA, then please kindly try to use safe mode to check the result: Select Apple menu > Shut Down from your Mac’s menu bar>Wait 10 seconds after your Mac has turned off>After restarting your Mac, hit and hold the Shift key>When you see the login window, release the Shift key>Here click on “Macintosh HD”>Then proceed to login to the user’s account>Finally, Outlook may be used.

 

May I double confirm if your Outlook client are latest updated. See Update Office for Mac automatically (microsoft.com) and install any required updates to see whether the problem still occurs.

You may try to clear Outlook cache, so Outlook can download all the items from your Exchange account again and check if it makes any difference. For your reference Clear the cache in the new Outlook for Mac (microsoft.com).

Also please kindly try creating a new profile and re-add your account and then check the result, in the process, in order to prevent you from losing important data, please kindly refer to Export items to an archive file in Outlook for Mac - Microsoft Support

 

Meanwhile, if you still need further help, since we specialize in technical support for Microsoft 365 Business Exchange Online, which is not professional for the Outlook for Mac, in order to better help you and no longer waste your more time. I recommend that you ask for help from our dedicated team, where technical engineers specialize in these related issues, and experts will focus on inquiries to further assist you, for details, please kindly refer to: Contact support within Outlook for Mac

Thank you in advance for your understanding. Your patience and cooperation will be greatly appreciated. I hope for all the best!

Sincerely

Kerry Chen | Community Moderator

* Beware of Scammers posting fake Support Numbers here.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated April 30, 2024 Views 24 Applies to: