Skip to content

Instantly share code, notes, and snippets.

@IntegerMan
Last active October 25, 2016 15:15
Show Gist options
  • Select an option

  • Save IntegerMan/43205cc31063505d9011054757671740 to your computer and use it in GitHub Desktop.

Select an option

Save IntegerMan/43205cc31063505d9011054757671740 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<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">
<Id>a6916f96-d11d-4353-9b83-4113de5dcdbd</Id>
<Version>1.0.0.0</Version>
<ProviderName>MyApp</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="MyApp Reporting" />
<Description DefaultValue="An Excel Add-In for MyApp Reporting" />
<IconUrl DefaultValue="https://i.imgur.com/oZFS95h.png" />
<Hosts>
<Host Name="Workbook" />
</Hosts>
<DefaultSettings>
<SourceLocation DefaultValue="https://localhost:44300/App/Auth/About.html" />
</DefaultSettings>
<Permissions>ReadWriteDocument</Permissions>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
<Hosts>
<Host xsi:type="Workbook">
<DesktopFormFactor>
<GetStarted>
<Title resid="WG.GetStarted.Title"/>
<Description resid="WG.GetStarted.Description"/>
<LearnMoreUrl resid="WG.GetStarted.LearnMoreUrl"/>
</GetStarted>
<FunctionFile resid="WG.FunctionFile.Url" />
<ExtensionPoint xsi:type="PrimaryCommandSurface">
<CustomTab id="WG.Tab1">
<Group id="WG.Tab1.Group1">
<Label resid="WG.Tab1.Group1Label" />
<Icon>
<bt:Image size="16" resid="WG.Group1.Icon_16" />
<bt:Image size="32" resid="WG.Group1.Icon_32" />
<bt:Image size="80" resid="WG.Group1.Icon_80" />
</Icon>
<Control xsi:type="Button" id="WG.LoginTaskpaneButton">
<Label resid="WG.Login.Label" />
<Supertip>
<Title resid="WG.Login.Label" />
<Description resid="WG.Login.Tooltip" />
</Supertip>
<Icon>
<bt:Image size="16" resid="WG.Settings.Icon_16" />
<bt:Image size="32" resid="WG.Settings.Icon_32" />
<bt:Image size="80" resid="WG.Settings.Icon_80" />
</Icon>
<Action xsi:type="ShowTaskpane">
<TaskpaneId>MainTaskPane</TaskpaneId>
<SourceLocation resid="WG.Login.Url" />
</Action>
</Control>
</Group>
<Group id="WG.Tab1.Group2">
<Label resid="WG.Tab1.Group2Label" />
<Icon>
<bt:Image size="16" resid="WG.Group1.Icon_16" />
<bt:Image size="32" resid="WG.Group1.Icon_32" />
<bt:Image size="80" resid="WG.Group1.Icon_80" />
</Icon>
<Control xsi:type="Button" id="WG.AnalyzeTaskpaneButton">
<Label resid="WG.Import.Label" />
<Supertip>
<Title resid="WG.Import.Label" />
<Description resid="WG.Import.Tooltip" />
</Supertip>
<Icon>
<bt:Image size="16" resid="WG.Import.Icon_16" />
<bt:Image size="32" resid="WG.Import.Icon_32" />
<bt:Image size="80" resid="WG.Import.Icon_80" />
</Icon>
<Action xsi:type="ShowTaskpane">
<TaskpaneId>MainTaskPane</TaskpaneId>
<SourceLocation resid="WG.Taskpane1.Url" />
</Action>
</Control>
<Control xsi:type="Button" id="WG.RunReportButton">
<Label resid="WG.Run.Label" />
<Supertip>
<Title resid="WG.Run.Label" />
<Description resid="WG.Run.Tooltip" />
</Supertip>
<Icon>
<bt:Image size="16" resid="WG.Run.Icon_16" />
<bt:Image size="32" resid="WG.Run.Icon_32" />
<bt:Image size="80" resid="WG.Run.Icon_80" />
</Icon>
<Action xsi:type="ExecuteFunction">
<FunctionName>getReports</FunctionName>
</Action>
</Control>
</Group>
<Group id="WG.Tab1.Group3">
<Label resid="WG.Tab1.Group3Label" />
<Icon>
<bt:Image size="16" resid="WG.Group1.Icon_16" />
<bt:Image size="32" resid="WG.Group1.Icon_32" />
<bt:Image size="80" resid="WG.Group1.Icon_80" />
</Icon>
<Control xsi:type="Button" id="WG.AboutButton">
<Label resid="WG.About.Label" />
<Supertip>
<Title resid="WG.About.Label" />
<Description resid="WG.About.Tooltip" />
</Supertip>
<Icon>
<bt:Image size="16" resid="WG.About.Icon_16" />
<bt:Image size="32" resid="WG.About.Icon_32" />
<bt:Image size="80" resid="WG.About.Icon_80" />
</Icon>
<Action xsi:type="ShowTaskpane">
<TaskpaneId>MainTaskPane</TaskpaneId>
<SourceLocation resid="WG.About.Url" />
</Action>
</Control>
</Group>
<Label resid="WG.Tab1.TabLabel" />
</CustomTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="WG.Group1.Icon_16" DefaultValue="https://localhost:44300/Images/import_16x16.png" />
<bt:Image id="WG.Group1.Icon_32" DefaultValue="https://localhost:44300/Images/import_32x32.png" />
<bt:Image id="WG.Group1.Icon_80" DefaultValue="https://localhost:44300/Images/import_80x80.png" />
<bt:Image id="WG.Settings.Icon_16" DefaultValue="https://localhost:44300/Images/yearoveryear_16x16.png" />
<bt:Image id="WG.Settings.Icon_32" DefaultValue="https://localhost:44300/Images/yearoveryear_32x32.png" />
<bt:Image id="WG.Settings.Icon_80" DefaultValue="https://localhost:44300/Images/yearoveryear_80x80.png" />
<bt:Image id="WG.Import.Icon_16" DefaultValue="https://localhost:44300/Images/import_16x16.png" />
<bt:Image id="WG.Import.Icon_32" DefaultValue="https://localhost:44300/Images/import_32x32.png" />
<bt:Image id="WG.Import.Icon_80" DefaultValue="https://localhost:44300/Images/import_80x80.png" />
<bt:Image id="WG.Run.Icon_16" DefaultValue="https://localhost:44300/Images/followup_16x16.png" />
<bt:Image id="WG.Run.Icon_32" DefaultValue="https://localhost:44300/Images/followup_32x32.png" />
<bt:Image id="WG.Run.Icon_80" DefaultValue="https://localhost:44300/Images/followup_80x80.png" />
<bt:Image id="WG.About.Icon_16" DefaultValue="https://localhost:44300/Images/getStarted_16.png" />
<bt:Image id="WG.About.Icon_32" DefaultValue="https://localhost:44300/Images/getStarted_32.png" />
<bt:Image id="WG.About.Icon_80" DefaultValue="https://localhost:44300/Images/getStarted_80.png" />
</bt:Images>
<bt:Urls>
<bt:Url id="WG.FunctionFile.Url" DefaultValue="https://localhost:44300/App/Auth/Home.html" />
<bt:Url id="WG.Taskpane1.Url" DefaultValue="https://localhost:44300/App/Auth/Home.html" />
<bt:Url id="WG.About.Url" DefaultValue="https://localhost:44300/App/Auth/About.html" />
<bt:Url id="WG.Login.Url" DefaultValue="http://localhost/TD/TDNext/loginWPF.aspx" />
</bt:Urls>
<bt:ShortStrings>
<bt:String id="WG.Tab1.TabLabel" DefaultValue="MyApp" />
<bt:String id="WG.Import.Label" DefaultValue="Get Reports" />
<bt:String id="WG.Run.Label" DefaultValue="Run" />
<bt:String id="WG.About.Label" DefaultValue="About" />
<bt:String id="WG.GetStarted.Title" DefaultValue="MyApp Excel add-in was succesfully loaded" />
<bt:String id="WG.Login.Label" DefaultValue="Login" />
<bt:String id="WG.Tab1.Group1Label" DefaultValue="Auth" />
<bt:String id="WG.Tab1.Group2Label" DefaultValue="Reporting" />
<bt:String id="WG.Tab1.Group3Label" DefaultValue="Help" />
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="WG.About.Tooltip" DefaultValue="Click to get more information about this add-in" />
<bt:String id="WG.Login.Tooltip" DefaultValue="Click to log into MyApp" />
<bt:String id="WG.Import.Tooltip" DefaultValue="Click to import report source data from MyApp" />
<bt:String id="WG.Run.Tooltip" DefaultValue="Click to import report source data from MyApp" />
<bt:String id="WG.GetStarted.Description" DefaultValue="Click the MyApp tab on the Office ribbon to use the add-in" />
</bt:LongStrings>
</Resources>
</VersionOverrides>
</OfficeApp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment