I load office add-in js file from CDN with this link: https://appsforoffice.microsoft.com/lib/1/hosted/office.js
As document said this is the latest version of the office api. In my add-in, I only use Office.context.document.setSelectedDataAsync
which is belong to Selection Requirements Set
to replace value from my Word
I configure the manifest file with this code
<Requirements>
<Sets DefaultMinVersion="1.1">
<Set Name="Selection" MinVersion="1.1"/>
</Sets>
<Methods>
<Method Name="Document.setSelectedDataAsync"/>
</Methods>
</Requirements>
When I publish the manifest file in Office 365, the add-in does not appear in the Admin Managed Tab (I'm testing in Word online and Word 2016)
I've tried to remove Methods Tag but the add-in still not show up. When I remove the Requirements
tag, the add-in shows up again.
What I've done wrong here? Does I use wrong version of Office Api or the config in manifest is wrong?
The extraction process needs to tag it for Office Online for Word and it doesn't appear to be happening properly. I will need to follow up on this