uap7:Extension

Description

Declares an extensibility point for the app.

Element Hierarchy

<Package>
<Extensions>
<uap7:Extension>

Syntax

<uap7:Extension Category       = "windows.sharedFonts" | "windows.enterpriseDataProtection"
                   Executable?    = A string between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: <, >, :, ", |, ?, or *. It specifies the default executable for the extension. If not specified, the executable defined for the app is used.  If specified, the EntryPoint property is also used. If that EntryPoint property isn't specified, the EntryPoint defined for the app is used.
                   EntryPoint?    = A string between 1 and 256 characters in length, representing the  task handling the extension. This is normally the fully namespace-qualified name of a Windows Runtime type. If EntryPoint is not specified, the EntryPoint defined for the app is used instead.
                   RuntimeType?   = A string between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, ", /, \, |, ?, or *.
                   StartPage?     = A string between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *. 
                   ResourceGroup? = An alphanumeric string between 1 and 255 characters in length. Must begin with an alphabetic character. 
                   uap10:TrustLevel?       = String value. Can be one of the following: "appContainer", "mediumIL".
                   uap10:RuntimeBehavior?  = String value. Can be one of the following: "windowsApp", "packagedClassicApp", "win32App".
                   uap10:HostId?           = An alphanumeric string between 1 and 255 characters in length. Must begin with an alphabetic character.
                   uap10:Parameters?       = A string between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. >

  <!-- Child elements -->
  ( uap7:sharedFonts
  | uap7:enterpriseDataProtection )?

</uap7:Extension>

Key

? optional (zero or one)

Attributes

Attribute Description Data type Required
Category The category of the extension. One of the following:
  • windows.sharedFonts
  • windows.enterpriseDataProtection
Yes
Executable The default launch executable. A string between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: <, >, :, ", |, ?, or *. It specifies the default executable for the extension. If not specified, the executable defined for the app is used. If specified, the EntryPoint property is also used. If that EntryPoint property isn't specified, the EntryPoint defined for the app is used. No
EntryPoint The activatable class ID. A string between 1 and 256 characters in length, representing the task handling the extension. This is normally the fully namespace-qualified name of a Windows Runtime type. If EntryPoint is not specified, the EntryPoint defined for the app is used instead. No
RuntimeType The runtime provider. This attribute is used typically when there are mixed frameworks in an app. A string between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, ", /, , |, ?, or *. No
StartPage The web page that handles the extensibility point. A string between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *. No
uap10:TrustLevel Specifies the trust level of the extension. String value. Can be one of the following: "appContainer", "mediumIL". No
uap10:RuntimeBehavior Specifies the run time behavior of the extension. String value. Can be one of the following: "windowsApp", "packagedClassicApp", "win32App". No
uap10:HostId Specifies the app ID of the host app for the extension. An alphanumeric string between 1 and 255 characters in length. Must begin with an alphabetic character. No
uap10:Parameters Contains command line parameters to pass to the extension. Only supported for desktop apps that have package identity. A string between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. No

Child Elements

Child Element Description
uap7:SharedFonts Contains the locations of shared fonts to be used with the app.
uap7:EnterpriseDataProtection When declared in an app, this ensures that all files it creates and clipboard/dragged items are encrypted.

Requirements

Value
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/7

http://schemas.microsoft.com/appx/manifest/uap/windows10/10 (for the uap10 attributes)