forked from OfficeDev/Office-Add-in-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest-localhost.xml
142 lines (134 loc) · 5.9 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
<?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:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="MailApp">
<Id>{C341AD31-BF7A-4C1D-99F1-D2E5896BEB0A}</Id>
<Version>1.0</Version>
<ProviderName>Contoso</ProviderName>
<DefaultLocale>en-us</DefaultLocale>
<DisplayName DefaultValue="Office Add-ins signature sample"/>
<Description DefaultValue="Insert your signature with ease."/>
<IconUrl DefaultValue="https://localhost:3000/assets/final_logo.png"/>
<HighResolutionIconUrl DefaultValue="https://localhost:3000/assets/final_logo.jpg"/>
<SupportUrl DefaultValue="https://www.contoso.com/help"/>
<AppDomains>
<AppDomain>https://www.contoso.com</AppDomain>
</AppDomains>
<Hosts>
<Host Name="Mailbox"/>
</Hosts>
<Requirements>
<Sets DefaultMinVersion="1.1">
<Set Name="Mailbox" />
</Sets>
</Requirements>
<!-- Old schema. This will be overridden by the VersionOverrides below. -->
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<SourceLocation DefaultValue="https://localhost:3000/editsignature.html"/>
<RequestedHeight>250</RequestedHeight>
</DesktopSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteMailbox</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
</Rule>
<DisableEntityHighlighting>true</DisableEntityHighlighting>
<!-- /Old schema. -->
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
<Description resid="residAppDesc" />
<Requirements>
<bt:Sets DefaultMinVersion="1.10">
<bt:Set Name="Mailbox" />
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<!-- Specify the runtime for event-based activation. -->
<!-- For more information, see https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch -->
<Runtimes>
<Runtime resid="Autorun">
<Override type="javascript" resid="runtimeJs"/>
</Runtime>
</Runtimes>
<DesktopFormFactor>
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
<OfficeTab id="TabDefault">
<Group id="mccsG0">
<Label resid="residGL0"/>
<Control xsi:type="Button" id="MRCS_TpBtn0">
<Label resid="residStr0"/>
<Supertip>
<Title resid="residStr0" />
<Description resid="residTT0" />
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon16x16" />
<bt:Image size="32" resid="Icon16x16" />
<bt:Image size="80" resid="Icon16x16" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="residUrl0"/>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
<OfficeTab id="TabDefault">
<Group id="aocsG0">
<Label resid="residGL0"/>
<Control xsi:type="Button" id="MRCS_TpBtn1">
<Label resid="residStr0"/>
<Supertip>
<Title resid="residStr0"/>
<Description resid="residTT0"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon16x16" />
<bt:Image size="32" resid="Icon16x16" />
<bt:Image size="80" resid="Icon16x16" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="residUrl0"/>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<!-- Specify function to call for new message and new appointment events -->
<ExtensionPoint xsi:type="LaunchEvent">
<LaunchEvents>
<LaunchEvent Type="OnNewMessageCompose" FunctionName="checkSignature" />
<LaunchEvent Type="OnNewAppointmentOrganizer" FunctionName="checkSignature" />
</LaunchEvents>
<SourceLocation resid="Autorun" />
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="Icon16x16" DefaultValue="https://localhost:3000/assets/final_logo.png"></bt:Image>
</bt:Images>
<bt:Urls>
<bt:Url id="residUrl0" DefaultValue="https://localhost:3000/editsignature.html"></bt:Url>
<bt:Url id="Autorun" DefaultValue="https://localhost:3000/autorunweb.html"></bt:Url>
<bt:Url id="runtimeJs" DefaultValue="https://localhost:3000/autorunshared.js"></bt:Url>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="residGL0" DefaultValue="Signature Injector"></bt:String>
<bt:String id="residStr0" DefaultValue="Set my signature"></bt:String>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="residAppDesc" DefaultValue="Insert your signature with ease."></bt:String>
<bt:String id="residTT0" DefaultValue="Opens a pane displaying all available properties."></bt:String>
</bt:LongStrings>
</Resources>
</VersionOverrides>
</VersionOverrides>
</OfficeApp>