Mhd
Mhd

Reputation: 2978

Enable Outlook Web Add-in only on the Web

I developed an Outlook web-based add-in. To install it, I added the manifest file from the "Manage add-ins" page in OWA: https://msdn.microsoft.com/en-us/library/office/fp142256.aspx. The add-in is showing up in both Outlook Web App and Windows Desktop App.

Is there a setting or code change need to be done to make the add-in available only in the Web App.

Upvotes: 3

Views: 2531

Answers (2)

Uwe Kurze
Uwe Kurze

Reputation: 1

I guess now it's possible. If you insert VersionOverrides in the manifest file an leave it empty, then the outlook client will not show the app but the outlook on the web client will show the app.

Example:

<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>
            <FunctionFile resid="functionFile" />
        <ExtensionPoint xsi:type="MessageReadCommandSurface">
            </ExtensionPoint>
      </DesktopFormFactor>
    </Host>
    </Hosts>

Don't forget the namespace: xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides"

Upvotes: -1

user7823505
user7823505

Reputation:

We have no such capability - we'd like the platform to provide users with consistent experience regardless of Outlook client/platform they use. Would you mind sharing why would you like your add-in to show up in OWA but not in desktop Outlook?

Upvotes: 0

Related Questions