ms word - Office Add-in show warning - unsupported features by its add-in catalog (SharePoint App Catalog) -
i'm trying deploy word add-in.
- i've deployed backend on onpremises server iis. , i've checked it's accessible.
- i've created app catalog in office365 , uploaded manifest file catalog. catalog shows add-in valid
- i've added office365 app catalog trusted catalog sites
- i can add app, see shows part of design, gives info text , add-in doesn't work:
info text:
add-in information
this add-in uses features not supported add-in catalog.
the manifest:
<?xml version="1.0" encoding="utf-8"?> <!--created:ce44715c-8c4e-446b-879c-ea9ebe0f09c8--> <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:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="taskpaneapp"> <!-- begin basic settings: add-in metadata, used versions of office unless override provided. --> <!-- important! id must unique add-in, if reuse manifest ensure change id new guid. --> <id>e4a1b6ce-9333-44b5-bf03-59435dbf66ac</id> <!--version. updates store triggered if there version change. --> <version>1.0.0.0</version> <providername>name</providername> <defaultlocale>en-us</defaultlocale> <!-- display name of add-in. used on store , various places of office ui such add-ins dialog. --> <displayname defaultvalue="name" /> <description defaultvalue="name"/> <!-- icon add-in. used on installation screens , add-ins dialog. --> <iconurl defaultvalue="~remoteappurl/images/button32x32.png" /> <!-- domains allowed when navigating. example, if use showtaskpane , have href link, navigation allowed if domain on list. --> <appdomains> <appdomain>appdomain1</appdomain> <appdomain>appdomain2</appdomain> <appdomain>appdomain3</appdomain> </appdomains> <!--end basic settings. --> <!--begin taskpane mode integration. section used if there no versionoverrides or if office client version not support add-in commands. --> <hosts> <host name="document" /> </hosts> <defaultsettings> <sourcelocation defaultvalue="~remoteappurl/" /> </defaultsettings> <!-- end taskpane mode integration. --> <permissions>readwritedocument</permissions> <!-- begin add-in commands mode integration. --> <versionoverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="versionoverridesv1_0"> <!-- hosts node required. --> <hosts> <!-- each host can have different set of commands. --> <!-- excel host workbook, word host document, , powerpoint host presentation. --> <!-- make sure hosts override match hosts declared in top section of manifest. --> <host xsi:type="document"> <!-- form factor. desktopformfactor supported. --> <desktopformfactor> <!--"this code enables customizable message displayed when add-in loaded upon individual install."--> <getstarted> <!-- title of getting started callout. resid points shortstring resource --> <title resid="name.getstarted.title"/> <!-- description of getting started callout. resid points longstring resource --> <description resid="name.getstarted.description"/> <!-- point url resource details how add-in should used. --> <learnmoreurl resid="name.getstarted.learnmoreurl"/> </getstarted> <!-- function file html page includes javascript functions executeaction called. think of functionfile code behind executefunction. --> <functionfile resid="name.desktopfunctionfile.url" /> <!-- primarycommandsurface main office ribbon. --> <extensionpoint xsi:type="primarycommandsurface"> <!-- use officetab extend existing tab. use customtab create new tab. --> <officetab id="tabhome"> <!-- ensure provide unique id group. recommendation ids namespace using company name. --> <group id="name.group1"> <!-- label group. resid must point shortstring resource. --> <label resid="name.group1label" /> <!-- icons. required sizes 16,32,80, optional 20, 24, 40, 48, 64. recommended provide sizes great ux. --> <!-- use png icons. urls on resources section must use https. --> <icon> <bt:image size="16" resid="name.tpicon_16x16" /> <bt:image size="32" resid="name.tpicon_32x32" /> <bt:image size="80" resid="name.tpicon_80x80" /> </icon> <!-- control. can of type "button" or "menu". --> <control xsi:type="button" id="name.taskpanebutton"> <label resid="name.taskpanebutton.label" /> <supertip> <!-- tooltip title. resid must point shortstring resource. --> <title resid="name.taskpanebutton.label" /> <!-- tooltip description. resid must point longstring resource. --> <description resid="name.taskpanebutton.tooltip" /> </supertip> <icon> <bt:image size="16" resid="name.tpicon_16x16" /> <bt:image size="32" resid="name.tpicon_32x32" /> <bt:image size="80" resid="name.tpicon_80x80" /> </icon> <!-- happens when command triggered (e.g. click on ribbon). supported actions executefunction or showtaskpane. --> <action xsi:type="showtaskpane"> <taskpaneid>buttonid1</taskpaneid> <!-- provide url resource id location displayed on task pane. --> <sourcelocation resid="name.taskpane.url" /> </action> </control> </group> </officetab> </extensionpoint> </desktopformfactor> </host> </hosts> <!-- can use resources across hosts , form factors. --> <resources> <bt:images> <bt:image id="name.tpicon_16x16" defaultvalue="~remoteappurl/app_data/img/name_logo_16.png" /> <bt:image id="name.tpicon_32x32" defaultvalue="~remoteappurl/app_data/img/name_logo_32.png" /> <bt:image id="name.tpicon_80x80" defaultvalue="~remoteappurl/images/button80x80.png" /> </bt:images> <bt:urls> <bt:url id="name.desktopfunctionfile.url" defaultvalue="~remoteappurl/functions/functionfile.html" /> <bt:url id="name.taskpane.url" defaultvalue="~remoteappurl/" /> <bt:url id="name.getstarted.learnmoreurl" defaultvalue="https://go.microsoft.com/fwlink/?linkid=276812" /> </bt:urls> <!-- shortstrings max characters==125. --> <bt:shortstrings> <bt:string id="name.taskpanebutton.label" defaultvalue="templates" /> <bt:string id="name.group1label" defaultvalue="name" /> <bt:string id="name.getstarted.title" defaultvalue="name templates" /> </bt:shortstrings> <!-- longstrings max characters==250. --> <bt:longstrings> <bt:string id="name.taskpanebutton.tooltip" defaultvalue="click show taskpane" /> <bt:string id="name.getstarted.description" defaultvalue="your sample add-in loaded succesfully. go home tab , click 'show taskpane' button started." /> </bt:longstrings> </resources> </versionoverrides> <!-- end add-in commands mode integration. --> </officeapp>
i'm assuming it's manifest file that's causing this. i'm not sure what's wrong file, followed default tutorials , file -> new project in visual studio.
add-in command annotations not supported in sharepoint add-in catalog. deployment option support add-in commands in short term (other store) our new office 365 centralized deployment tool, in preview right now. check out documentation here. (note preview available on these geographies: us,ca,gb,au,ireland , nz. )
that said, can still use sp-based catalog, need remove add-in commands annotations manifest (all overrides), , users need go insertion dialog insert add-in.
please make sure consult page deployment options add-ins , important remarks each of them.
Comments
Post a Comment