Skip to content

Commit e28113f

Browse files
committed
Merged main into live
2 parents 320a312 + 8f9e57d commit e28113f

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

hub/apps/develop/feeds/feed-provider-manifest.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ Represents the registration for a single feed.
8585
| **ContentUri** | string | Yes | The URI from which feed content is retrieved. | N/A |
8686
| **Icon** | string | Yes | The package-relative path to an icon image file that is displayed in the Widgets Board. | N/A |
8787
| **WebRequestFilter** | string | No | A web request filter string specifying the set of URLs for which the resource requests will be redirected to the feed provider's implementation of **IFeedResourceProvider**. The pattern is expressed using the format described in [Match Patterns](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns). The filter string in the registration must use [Punycode](https://en.wikipedia.org/wiki/Punycode) where necessary. All content types will be redirected when matched so the filter should only resolve to content intended to be obtained through the **IFeedResourceProvider** in the application. | N/A |
88+
| **ExcludedRegions** | string | No | A list of regions where the feed should not be available. Feeds can specify **ExcludedRegions** or **ExclusiveRegions** but must not specify both in a single feed definition. The value of the attribute is a comma separated list of two character region codes.| N/A |
89+
| **ExclusiveRegions** | string | No | A list of the only regions where the feed should be available. Feeds can specify **ExcludedRegions** or **ExclusiveRegions** but must not specify both in single feed definition. The value of the attribute is a comma separated list of two character region codes.| N/A |
8890

8991

9092
You can use localized resources instead of string literals for the UI-facing attribute values. For more information, see [Localize strings in your UI and app package manifest](/windows/uwp/app-resources/localize-strings-ui-manifest).
@@ -101,10 +103,13 @@ The following code example illustrates the usage of the feed package manifest XM
101103
<CreateInstance ClassId="ECB883FD-3755-4E1C-BECA-D3397A3FF15C" />
102104
</Activation>
103105
<Definitions>
104-
<Definition Id="Contoso_Feed" DisplayName="ms-resource:FeedDisplayName" Description="ms-resource:FeedDescription"
106+
<Definition Id="Contoso_Feed"
107+
DisplayName="ms-resource:FeedDisplayName"
108+
Description="ms-resource:FeedDescription"
105109
ContentUri="https://contoso.com/news"
106110
Icon="ms-appx:Images\ContosoFeedIcon.png"
107-
WebRequestFilter="https://contoso.com/*/feed/appResource/*" >
111+
WebRequestFilter="https://contoso.com/*/feed/appResource/*"
112+
ExcludedRegions="FR,DE,IT">
108113
</Definition>
109114
</Definitions>
110115
</FeedProvider>

hub/apps/develop/widgets/widget-provider-manifest.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ Represents the registration for a single widget.
122122
| **Description** | string | Yes | Short description of the widget. | N/A |
123123
| **AllowMultiple** | boolean | No | Set to false if only one instance of this widget is supported. This attribute is optional and the default value is true. | true |
124124
| **IsCustomizable** | boolean | No | Introduced in Windows App SDK 1.4. Set to true if your app supports widget customization. This causes the **Customize widget** button to be displayed in the widget's ellipsis menu. | false |
125+
| **AdditionalInfoUri** | string | No | A URI that can be associated with the widget to be used when the user clicks on the title bar of the widget frame or when clicking the **Powered by** element of its context menu.| N/A |
126+
| **ExcludedRegions** | string | No | A list of regions where the widget should not be available. Widgets can specify **ExcludedRegions** or **ExclusiveRegions** but must not specify both in a single widget definition. The value of the attribute is a comma separated list of two character region codes.| N/A |
127+
| **ExclusiveRegions** | string | No | A list of the only regions where the widget should be available. Widgets can specify **ExcludedRegions** or **ExclusiveRegions** but must not specify both in single widget definition. The value of the attribute is a comma separated list of two character region codes.| N/A |
125128

126129
## Capabilities
127130

@@ -200,6 +203,8 @@ The following code example illustrates the usage of the widget package manifest
200203
Id="Weather_Widget"
201204
DisplayName="Microsoft Weather Widget"
202205
Description="Weather Widget Description"
206+
AdditionalInfoUri="https://contoso.com/widgets/Weather"
207+
ExclusiveRegions="US,UK"
203208
AllowMultiple="true">
204209
<Capabilities>
205210
<Capability>

0 commit comments

Comments
 (0)