Rule

Specifies which pages in the web context have access to the system's geolocation devices (if the app has permission to access this capability) and access to the clipboard.

Element hierarchy

<Package>
<Applications>
<Application>
<ApplicationContentUriRules>
<Rule>

Syntax

<Rule Type  = "include" | "exclude"
      Match = A string between 1 and 2084 characters in length. />

Attributes and Elements

Attributes

AttributeDescriptionData typeRequiredDefault value
Match

The IRI to use in the rule. See RFC 3987 - Internationalized Resource Identifiers (IRIs) for details. It is unique per application in the package and is case sensitive.

A string between 1 and 2084 characters in length.Yes
Type

A string that specifies whether the rule is an inclusion or exclusion rule.

This attribute can have one of the following values:

  • include
  • exclude
Yes

 

Child Elements

None.

Parent Elements

Parent ElementDescription
ApplicationContentUriRules

Specifies which pages in the web context have access to the system's geolocation devices (if the app has permission to access this capability) and access to the clipboard.

 

Remarks

If more than one rule is defined, then the order of the rules is important.

To define the Match attribute with an IRI for a web resource, you can specify only secure "https:" sites - unsecure "http:" sites aren't allowed. If you specify a "http:" site, you get a schema sematic check validation error.

Requirements

Namespace

http://schemas.microsoft.com/appx/2010/manifest

 

 

Show:
© 2014 Microsoft