uap3:AppUriHandler

Declares an app extensibility point of type windows.appUriHandler.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <uap3:Extension>

                        <uap3:AppUriHandler>

Syntax

<uap3:AppUriHandler
    desktop2:Parameters = 'An optional string format of parameters (for example, `/L %1`).'
    uap7:Name = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.' >

  <!-- Child elements -->
  uap3:Host{0,1000}
  uap5:Host{0,1000}

</uap3:AppUriHandler>

Key

{} specific range of occurrences

Attributes and elements

Attributes

Attribute Description Data type Required Default value
desktop2:Parameters Specifies how to pass the URI handler into the app. %1 is a token that specifies the full path. A string format of parameters (for example, /L %1). No
uap7:Name A friendly name for the app URI handler. A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. No

Child elements

Child element Description
uap3:Host Represents a valid HTTP or HTTPS host name that the app wants to register as able to handle.
uap5:Host Represents a valid HTTP or HTTPS host name with a wildcard that the app wants to register as able to handle.

Parent elements

Parent element Description
uap3:Extension Declares an extensibility point for the app..

Examples

<Package
    xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"  
    IgnorableNamespaces="... uap3">
    <Applications>
        <Application>
            <Extensions>
                <uap3:Extension
                    Category="windows.appUriHandler">  
                    <uap3:AppUriHandler>  
                        <uap3:Host
                            Name="www.app-uri-handler.com" />  
                        <uap3:Host
                            Name="appUriHandler.com" />  
                    </uap3:AppUriHandler>  
                </uap3:Extension>  
            </Extensions>
        </Application>
    </Applications>
</Package>

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/3
Minimum OS Version Windows 10 version 1607 (Build 14393)