add in - Office365 outlook add-in commands -
i'm using following manifest add addin command in outlook 2016.
<?xml version="1.0" encoding="utf-8"?> <officeapp xsi:type="mailapp" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"> <id></id> <version>1.0.0.0</version> <providername></providername> <defaultlocale>en-us</defaultlocale> <displayname defaultvalue="" /> <description defaultvalue="" /> <supporturl defaultvalue="" /> <hosts> <host name="mailbox" /> </hosts> <requirements> <sets> <set name="mailbox" minversion="1.1" /> </sets> </requirements> <formsettings> <form xsi:type="itemread"> <desktopsettings> <sourcelocation defaultvalue="~remoteappurl/appread/home/home.html" /> <requestedheight>250</requestedheight> </desktopsettings> <tabletsettings> <sourcelocation defaultvalue="~remoteappurl/appread/home/home.html" /> <requestedheight>250</requestedheight> </tabletsettings> <phonesettings> <sourcelocation defaultvalue="~remoteappurl/appread/home/home.html" /> </phonesettings> </form> <form xsi:type="itemedit"> <desktopsettings> <sourcelocation defaultvalue="~remoteappurl/appread/home/home.html" /> </desktopsettings> <tabletsettings> <sourcelocation defaultvalue="~remoteappurl/appread/home/home.html" /> </tabletsettings> <phonesettings> <sourcelocation defaultvalue="~remoteappurl/appread/home/home.html" /> </phonesettings> </form> </formsettings> <permissions>readwritemailbox</permissions> <rule xsi:type="rulecollection" mode="or"> <rule xsi:type="itemis" itemtype="message" formtype="read" /> <rule xsi:type="itemis" itemtype="message" formtype="readoredit" /> <rule xsi:type="itemis" itemtype="appointment" formtype="read" /> <rule xsi:type="itemis" itemtype="appointment" formtype="readoredit" /> </rule> <versionoverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="versionoverridesv1_0"> <description resid="residdescription" /> <requirements> <bt:sets defaultminversion="1.3"> <bt:set name="mailbox" /> </bt:sets> </requirements> <hosts> <host xsi:type="mailhost"> <desktopformfactor> <functionfile resid="residdesktopfuncurl" /> <extensionpoint xsi:type="messagecomposecommandsurface"> <officetab id="tabdefault"> <group id="msgreadtabmessage.grp1"> <label resid="residtemplatemanagement" /> <tooltip resid="residtemplatemanagementtip" /> <control xsi:type="button" id="msgreadtabmessage.grp1.btnview"> <label resid="residviewtemplates" /> <tooltip resid="residviewtemplatestip" /> <supertip> <title resid="residvewandmanagetemplates" /> <description resid="residviewmanagetemplatessprtip" /> </supertip> <icon> <bt:image size="16" resid="icon1_16x16" /> <bt:image size="32" resid="icon1_32x32" /> <bt:image size="80" resid="icon1_80x80" /> </icon> <action xsi:type="showtaskpane"> <sourcelocation resid="residmanagetemplatesurl" /> </action> </control> </group> </officetab> </extensionpoint> </desktopformfactor> </host> </hosts> <resources> <bt:images> <bt:image id="icon1_16x16" defaultvalue="https://contoso.com/owa/images/app_icon_small.png" > </bt:image> <bt:image id="icon1_32x32" defaultvalue="https://contoso.com/owa/images/app_icon.png" > </bt:image> <bt:image id="icon1_80x80" defaultvalue="https://contoso.com/owa/images/app_icon_large.png" > </bt:image> </bt:images> <bt:urls> <bt:url id="residdesktopfuncurl" defaultvalue="~remoteappurl/appread/home/home.html" > </bt:url> <bt:url id="residmanagetemplatesurl" defaultvalue="~remoteappurl/appread/home/home.html"> </bt:url> <bt:url id="residaddnewtemplateurl" defaultvalue="~remoteappurl/appread/home/home.html"> </bt:url> </bt:urls> <bt:shortstrings> <bt:string id="residtemplatemanagement" defaultvalue="do.com"> </bt:string> <bt:string id="residviewtemplates" defaultvalue="launch do.com"> </bt:string> <bt:string id="residvewandmanagetemplates" defaultvalue="view , manage templates"> </bt:string> </bt:shortstrings> <bt:longstrings> <bt:string id="residdescription" defaultvalue="use app automatically scan outgoing mails , insert content according customizable mark-up. app not share data third-party service."> </bt:string> <bt:string id="residtemplatemanagementtip" defaultvalue="operations managing template collection"> </bt:string> <bt:string id="residviewtemplatestip" defaultvalue="open taskpane display , manage current templates"> </bt:string> <bt:string id="residviewmanagetemplatessprtip" defaultvalue="open taskpane display templates saved under profile , default templates provided service. pane can add, remove, or change template properties."> </bt:string> <bt:string id="residmytemplatestabtip" defaultvalue="insert content saved collection of prepared data, or embed tags mail automatically replaced on send!"> </bt:string> </bt:longstrings> </resources> </versionoverrides> </officeapp>
but button not getting added ribbon. if remove "versionoverrides" addin getting shown in outlook 2016.
so, versionoverrides working somehow button not getting shown inside mail during read , in list of addins in compose mode. missing?
use sample grab manifest, can edit liking: github.com/jasonjoh/command-demo
Comments
Post a Comment