-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest-localhost.xml
160 lines (157 loc) · 7.1 KB
/
manifest-localhost.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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">
<Id>{CREATE-A-GUID-AND-INSERT-IT-HERE}</Id>
<Version>1.0.0.0</Version>
<ProviderName>Contoso</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="Outlook Addin"/>
<Description DefaultValue="An Office Add-in."/>
<IconUrl DefaultValue="https://localhost:{INSERT-HOST-PORT-HERE}/assets/icon-32.png"/>
<HighResolutionIconUrl DefaultValue="https://localhost:{INSERT-HOST-PORT-HERE}/assets/icon-64.png"/>
<SupportUrl DefaultValue="https://learn.microsoft.com/office/dev/add-ins/overview/office-add-in-code-samples"/>
<AppDomains>
<AppDomain>https://login.microsoftonline.com</AppDomain>
<AppDomain>https://localhost:{INSERT-HOST-PORT-HERE}</AppDomain>
</AppDomains>
<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:{INSERT-HOST-PORT-HERE}/index.html"/>
<RequestedHeight>250</RequestedHeight>
</DesktopSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteItem</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit"/>
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit"/>
</Rule>
<DisableEntityHighlighting>false</DisableEntityHighlighting>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<Requirements>
<bt:Sets DefaultMinVersion="1.3">
<bt:Set Name="Mailbox"/>
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<!-- Message read form -->
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<OfficeTab id="TabDefault">
<Group id="msgReadDemoGroup">
<Label resid="CommandsGroup.Label"/>
<!-- Task pane button - Save to SharePoint -->
<Control xsi:type="Button" id="msgReadOpenPaneButtonSave">
<Label resid="TaskpaneButton.Label"/>
<Supertip>
<Title resid="TaskpaneButton.SupertipTitle"/>
<Description resid="TaskpaneButton.SupertipText"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<!-- For use with a Button Only -->
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="Taskpane.Url"/>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="Icon.16x16" DefaultValue="https://localhost:{INSERT-HOST-PORT-HERE}/assets/icon-16.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://localhost:{INSERT-HOST-PORT-HERE}/assets/icon-32.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://localhost:{INSERT-HOST-PORT-HERE}/assets/icon-80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="Taskpane.Url" DefaultValue="https://localhost:{INSERT-HOST-PORT-HERE}/index.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="CommandsGroup.Label" DefaultValue="Outlook Addin"/>
<bt:String id="TaskpaneButton.Label" DefaultValue="Outlook Addin"/>
<bt:String id="TaskpaneButton.SupertipTitle" DefaultValue="Outlook Addin"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="TaskpaneButton.SupertipText" DefaultValue="Open the Outlook Addin add-in"/>
</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.13">
<bt:Set Name="Mailbox" />
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<SupportsSharedFolders>true</SupportsSharedFolders>
<!-- Message read form -->
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<OfficeTab id="TabDefault">
<Group id="msgReadDemoGroup">
<Label resid="CommandsGroup.Label" />
<!-- Task pane button - Save to SharePoint -->
<Control xsi:type="Button" id="msgReadOpenPaneButtonSave">
<Label resid="TaskpaneButton.Label" />
<Supertip>
<Title resid="TaskpaneButton.SupertipTitle" />
<Description resid="TaskpaneButton.SupertipText" />
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<!-- For use with a Button Only -->
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="Taskpane.Url" />
<SupportsPinning>true</SupportsPinning>
<SupportsMultiSelect>true</SupportsMultiSelect>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="Icon.16x16" DefaultValue="https://localhost:{INSERT-HOST-PORT-HERE}/assets/icon-16.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://localhost:{INSERT-HOST-PORT-HERE}/assets/icon-32.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://localhost:{INSERT-HOST-PORT-HERE}/assets/icon-80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="Taskpane.Url" DefaultValue="https://localhost:{INSERT-HOST-PORT-HERE}/index.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="CommandsGroup.Label" DefaultValue="Outlook Addin"/>
<bt:String id="TaskpaneButton.Label" DefaultValue="Outlook Addin"/>
<bt:String id="TaskpaneButton.SupertipTitle" DefaultValue="Outlook Addin"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="TaskpaneButton.SupertipText" DefaultValue="Open the Outlook Addin add-in"/>
</bt:LongStrings>
</Resources>
</VersionOverrides>
</VersionOverrides>
</OfficeApp>