Skip to content

Instantly share code, notes, and snippets.

@rajeevprasanna
Created November 21, 2018 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rajeevprasanna/5ef93e3df80f304826742bb81a0b4421 to your computer and use it in GitHub Desktop.
Save rajeevprasanna/5ef93e3df80f304826742bb81a0b4421 to your computer and use it in GitHub Desktop.
<?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:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0"
xsi:type="MailApp">
<!-- Begin Basic Settings: Add-in metadata, used for all versions of Office unless override provided. -->
<!-- IMPORTANT! Id must be unique for your add-in, if you reuse this manifest ensure that you change this id to a new GUID. -->
<Id>504c90a8-b38d-4fe7-1234-eed812c585b5</Id>
<!--Version. Updates from the store only get triggered if there is a version change. -->
<Version>1.0.0.1</Version>
<ProviderName>TestAddin-Dev</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<!-- The display name of your add-in. Used on the store and various places of the Office UI such as the add-ins dialog. -->
<DisplayName DefaultValue="TestAddin-Dev" />
<Description DefaultValue="Outlook Web-Add-in"/>
<IconUrl DefaultValue="https://localhost:8000/images/testaddin-logo.png" />
<HighResolutionIconUrl DefaultValue="https://localhost:8000/images/testaddin-logo.png"/>
<SupportUrl DefaultValue="https://testaddin.com" />
<!-- Domains that will be allowed when navigating. For example, if you use ShowTaskpane and then have an href link, navigation will only be allowed if the domain is on this list. -->
<AppDomains>
<AppDomain>https://login.microsoftonline.com</AppDomain>
<AppDomain>https://accounts.zoho.com</AppDomain>
<AppDomain>https://login.salesforce.com</AppDomain>
<AppDomain>https://account.box.com</AppDomain>
<AppDomain>https://www.dropbox.com</AppDomain>
<AppDomain>https://accounts.google.com</AppDomain>
<AppDomain>https://login.live.com</AppDomain>
<AppDomain>https://secure.sharefile.com</AppDomain>
<AppDomain>https://api.syncplicity.com</AppDomain>
</AppDomains>
<!--End Basic Settings. -->
<Hosts>
<Host Name="Mailbox" />
</Hosts>
<Requirements>
<Sets>
<Set Name="Mailbox" MinVersion="1.1" />
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<SourceLocation DefaultValue="https://localhost:8000/web-addin/index/read"/>
<RequestedHeight>250</RequestedHeight>
</DesktopSettings>
</Form>
<Form xsi:type="ItemEdit">
<DesktopSettings>
<SourceLocation DefaultValue="https://localhost:8000/web-addin/index/compose"/>
</DesktopSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteMailbox</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit"/>
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Read"/>
</Rule>
<DisableEntityHighlighting>false</DisableEntityHighlighting>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<Requirements>
<bt:Sets DefaultMinVersion="1.1">
<bt:Set Name="Mailbox" />
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<!-- Location of the Functions that UI-less buttons can trigger (ExecuteFunction Actions). -->
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
<OfficeTab id="TabDefault">
<!-- Up to 6 Groups added per Tab -->
<Group id="msgComposeCmdGroup">
<Label resid="groupLabel"/>
<!-- Launch the add-in : task pane button -->
<Control xsi:type="Button" id="msgCompose">
<Label resid="msgComposePaneButtonLabel"/>
<Supertip>
<Title resid="msgComposePaneButtonTitle"/>
<Description resid="msgComposePaneButtonDesc"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="icon16"/>
<bt:Image size="32" resid="icon32"/>
<bt:Image size="80" resid="icon80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="composePaneUrl"/>
</Action>
</Control>
<!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
</Group>
</OfficeTab>
</ExtensionPoint>
<!-- Message Read -->
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<!-- Use the default tab of the ExtensionPoint or create your own with <CustomTab id="myTab"> -->
<OfficeTab id="TabDefault">
<!-- Up to 6 Groups added per Tab -->
<Group id="msgReadGroup">
<Label resid="groupLabel"/>
<!-- Launch the add-in : task pane button -->
<Control xsi:type="Button" id="msgReadOpenPaneButton">
<Label resid="paneReadButtonLabel"/>
<Supertip>
<Title resid="paneReadSuperTipTitle"/>
<Description resid="paneReadSuperTipDescription"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="icon16"/>
<bt:Image size="32" resid="icon32"/>
<bt:Image size="80" resid="icon80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="messageReadTaskPaneUrl"/>
</Action>
</Control>
<!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
</Group>
</OfficeTab>
</ExtensionPoint>
<!-- Go to http://aka.ms/ExtensionPointsCommands to learn how to add more Extension Points: MessageRead, AppointmentOrganizer, AppointmentAttendee -->
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="icon16" DefaultValue="https://localhost:8000/images/testaddin-logo.png"/>
<bt:Image id="icon32" DefaultValue="https://localhost:8000/images/testaddin-logo.png"/>
<bt:Image id="icon80" DefaultValue="https://localhost:8000/images/testaddin-logo.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="messageReadTaskPaneUrl" DefaultValue="https://localhost:8000/web-addin/index/read"/>
<bt:Url id="composePaneUrl" DefaultValue="https://localhost:8000/web-addin/index/compose"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="groupLabel" DefaultValue="My Add-in Group"/>
<bt:String id="customTabLabel" DefaultValue="My Add-in Tab"/>
<bt:String id="paneReadButtonLabel" DefaultValue="TestAddin"/>
<bt:String id="paneReadSuperTipTitle" DefaultValue="TestAddin"/>
<bt:String id="msgComposePaneButtonLabel" DefaultValue="TestAddin"/>
<bt:String id="msgComposePaneButtonTitle" DefaultValue="TestAddin"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="paneReadSuperTipDescription" DefaultValue="Opens a pane TestAddin. This is a button that opens a task pane."/>
<bt:String id="msgComposePaneButtonDesc" DefaultValue="Opens a pane TestAddin. This is a button that opens a task pane."/>
</bt:LongStrings>
</Resources>
<!-- VersionOverrides for the v1.1 schema -->
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
<Requirements>
<bt:Sets DefaultMinVersion="1.1">
<bt:Set Name="Mailbox" />
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<!-- Location of the Functions that UI-less buttons can trigger (ExecuteFunction Actions). -->
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
<OfficeTab id="TabDefault">
<!-- Up to 6 Groups added per Tab -->
<Group id="msgComposeCmdGroup">
<Label resid="groupLabel"/>
<!-- Launch the add-in : task pane button -->
<Control xsi:type="Button" id="msgCompose">
<Label resid="msgComposePaneButtonLabel"/>
<Supertip>
<Title resid="msgComposePaneButtonTitle"/>
<Description resid="msgComposePaneButtonDesc"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="icon16"/>
<bt:Image size="32" resid="icon32"/>
<bt:Image size="80" resid="icon80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="composePaneUrl"/>
<SupportsPinning>true</SupportsPinning>
</Action>
</Control>
<!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
</Group>
</OfficeTab>
</ExtensionPoint>
<!-- Message Read -->
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<!-- Use the default tab of the ExtensionPoint or create your own with <CustomTab id="myTab"> -->
<OfficeTab id="TabDefault">
<!-- Up to 6 Groups added per Tab -->
<Group id="msgReadGroup">
<Label resid="groupLabel"/>
<!-- Launch the add-in : task pane button -->
<Control xsi:type="Button" id="msgReadOpenPaneButton">
<Label resid="paneReadButtonLabel"/>
<Supertip>
<Title resid="paneReadSuperTipTitle"/>
<Description resid="paneReadSuperTipDescription"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="icon16"/>
<bt:Image size="32" resid="icon32"/>
<bt:Image size="80" resid="icon80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="messageReadTaskPaneUrl"/>
<SupportsPinning>true</SupportsPinning>
</Action>
</Control>
<!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
</Group>
</OfficeTab>
</ExtensionPoint>
<!-- Go to http://aka.ms/ExtensionPointsCommands to learn how to add more Extension Points: MessageRead, AppointmentOrganizer, AppointmentAttendee -->
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="icon16" DefaultValue="https://localhost:8000/images/testaddin-logo.png"/>
<bt:Image id="icon32" DefaultValue="https://localhost:8000/images/testaddin-logo.png"/>
<bt:Image id="icon80" DefaultValue="https://localhost:8000/images/testaddin-logo.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="messageReadTaskPaneUrl" DefaultValue="https://localhost:8000/web-addin/index/read"/>
<bt:Url id="composePaneUrl" DefaultValue="https://localhost:8000/web-addin/index/compose"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="groupLabel" DefaultValue="TestAddin"/>
<bt:String id="customTabLabel" DefaultValue="TestAddin"/>
<bt:String id="paneReadButtonLabel" DefaultValue="TestAddin"/>
<bt:String id="paneReadSuperTipTitle" DefaultValue="TestAddin"/>
<bt:String id="msgComposePaneButtonLabel" DefaultValue="TestAddin"/>
<bt:String id="msgComposePaneButtonTitle" DefaultValue="TestAddin"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="paneReadSuperTipDescription" DefaultValue="Opens a pane TestAddin. This is a button that opens a task pane."/>
<bt:String id="msgComposePaneButtonDesc" DefaultValue="Opens a pane TestAddin. This is a button that opens a task pane."/>
</bt:LongStrings>
</Resources>
</VersionOverrides>
</VersionOverrides>
</OfficeApp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment