Tokens element
Defines tokens that could be used in template URLs. For more information about the use of this element, see Work with extended overrides of the manifest.
Add-in type: Task pane
Syntax
<Tokens></Tokens>
Contained in
Must contain
The <Tokens> element can contain the following child elements depending on the add-in type.
Element | Content | TaskPane | |
---|---|---|---|
Token | No | No | Yes |
Example
<OfficeApp ...>
<!-- other elements omitted -->
<ExtendedOverrides Url="http://contoso.com/addinmetadata/${token.locale}/extended-manifest-overrides.json">
<Tokens>
<Token Name="locale" DefaultValue="en-us" xsi:type="LocaleToken">
<Override Locale="es-*" Value="es-es" />
<Override Locale="es-mx" Value="es-mx" />
<Override Locale="fr-*" Value="fr-fr" />
<Override Locale="ja-jp" Value="ja-jp" />
</Token>
<Tokens>
</ExtendedOverrides>
</OfficeApp>