3
votes

We have an Addin that can run on Word and Excel, but I want to limit it only to specific platforms (Word 2016 or greater, Excel 2016 or greater). How can I do it using Manifest file?

Currently I am trying to limit like that:

<Requirements>
    <Sets DefaultMinVersion="1.1">
        <Set name="WordApi" />
        <Set name="ExcelApi" />
    </Sets>
</Requirements

But when I upload this manifest to Seller Dashboard, i get the following:

Please make sure that the file is an Office package manifest

What I am doing wrong? Sorry, but it's not clear from the documentation how to specify host requirements

Thanks

2

2 Answers

4
votes

When you define Requirements in your manifest, you are telling Office that it should only surface your Add-in when all off the Requirments have been met.

Since you're requiring both WordApi and ExcelApi, your add-in will only show up if the Office Application supports both of these. Since there isn't an Office Application that supports both, your Add-in simply won't show up.

At the moment, the only way to support both WordApi and ExcelApi in your Add-in is to have two distinct manifests; one for Word and another for Excel.

0
votes

If your manifest contains Word API (or any host specific API) then it will not show up in other clients. If your add-in is designed to work in multiple clients, and requires an API not currently supported in Office 2013, please include these details in the test notes of your next submission. Should the validation team need any additional information to resolve the issue, they will reachout to you at the email address on record to discuss how to proceed.

All apps and add-ins submitted to the Office Store must comply with the Office Store Validation Policies Specifically section 4.12.1, "Your add-in must work across all platforms that support the methods that you define in the Requirements element in your add-in manifest." For details about which platforms support which methods, see Office Add-in host and platform availability.