Skip to content

Commit 0639e7f

Browse files
Merge pull request #3671 from MicrosoftDocs/alvinashcraft-main-fix-uwp-contacts-broken-links
Fix broken link to archived My People project on github
2 parents 2ed6859 + 6d871c9 commit 0639e7f

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

uwp/contacts-and-calendar/my-people-notifications.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ ms.localizationpriority: medium
1010
> [!IMPORTANT]
1111
> My People is no longer supported in Windows 11.
1212
13-
My People notifications provide a new way for users to connect with the people they care about, through quick expressive gestures. This article shows how to design and implement My People notifications in your application. For complete implementations, see the [My People Notifications Sample.](https://github.com/Microsoft/Windows-universal-samples/tree/dev/Samples/MyPeopleNotifications)
13+
My People notifications provide a new way for users to connect with the people they care about, through quick expressive gestures. This article shows how to design and implement My People notifications in your application. For complete implementations, see the [My People Notifications Sample.](https://github.com/microsoft/Windows-universal-samples/tree/dev/archived/MyPeopleNotifications)
1414

1515
![heart emoji notification](images/heart-emoji-notification-small.gif)
1616

1717
## Requirements
1818

19-
+ Windows 10 and Microsoft Visual Studio 2019. For installation details, see [Get set up with Visual Studio](/windows/apps/get-started/get-set-up).
19+
+ Windows 10 and Microsoft Visual Studio 2019 or later. For installation details, see [Get set up with Visual Studio](/windows/apps/get-started/get-set-up).
2020
+ Basic knowledge of C# or a similar object-oriented programming language. To get started with C#, see [Create a "Hello, world" app](../get-started/create-a-hello-world-app-xaml-universal.md).
2121

2222
## How it works
@@ -35,6 +35,7 @@ As an alternative to generic toast notifications, you can now send notifications
3535
![rainbow spritesheet](images/shoulder-tap-rainbow-spritesheet.png)
3636

3737
## Notification parameters
38+
3839
My People notifications use the [toast notification](/windows/apps/design/shell/tiles-and-notifications/adaptive-interactive-toasts) framework, but require an additional binding node in the toast payload. This second binding must include the following parameter:
3940

4041
```xml
@@ -63,11 +64,11 @@ The image node inside the binding should include the following parameters:
6364
6465
In addition, the top-level toast node must include the **hint-people** parameter to specify the sending contact. This parameter can have any the following values:
6566

66-
+ **Email address**
67+
+ **Email address**
6768
+ E.g. ` mailto:[email protected] `
68-
+ **Telephone number**
69+
+ **Telephone number**
6970
+ E.g. tel:888-888-8888
70-
+ **Remote ID**
71+
+ **Remote ID**
7172
+ E.g. remoteid:1234
7273

7374
> [!NOTE]
@@ -77,6 +78,7 @@ In addition, the top-level toast node must include the **hint-people** parameter
7778
In addition to the second binding and payload, you must include another payload in the first binding for the fallback toast. The notification will use this if it is forced to revert to a regular toast (explained further at the [end of this article](#falling-back-to-toast)).
7879

7980
## Creating the notification
81+
8082
You can create a My People notification template just like you would a [toast notification](/windows/apps/design/shell/tiles-and-notifications/adaptive-interactive-toasts).
8183

8284
Here's an example of how to create a My People notification with a static image payload:
@@ -122,6 +124,7 @@ When you start the notification, it should look like this:
122124
![spritesheet notification](images/pizza-notification-small.gif)
123125

124126
## Starting the notification
127+
125128
To start a My People notification, we need to convert the toast template into an [XmlDocument](/uwp/api/windows.data.xml.dom.xmldocument) object. When you have defined the toast in an XML file (here named "content.xml"), you can use this code to start it:
126129

127130
```CSharp
@@ -138,6 +141,7 @@ ToastNotificationManager.CreateToastNotifier().Show(notification);
138141
```
139142

140143
## Falling back to toast
144+
141145
There are some cases when a My People notification will instead display as a regular toast notification. A My People notification will fall back to toast under the following conditions:
142146

143147
+ The notification fails to display
@@ -147,7 +151,8 @@ There are some cases when a My People notification will instead display as a reg
147151
If a My People notification falls back to toast, the second My-People-specific binding is ignored, and only the first binding is used to display the toast. This is why it is critical to provide a fallback payload in the first toast binding.
148152

149153
## See also
150-
+ [My People Notifications Sample](https://github.com/Microsoft/Windows-universal-samples/tree/dev/Samples/MyPeopleNotifications)
154+
155+
+ [My People Notifications Sample](https://github.com/microsoft/Windows-universal-samples/tree/dev/archived/MyPeopleNotifications)
151156
+ [Adding My People support](my-people-support.md)
152157
+ [Adaptive toast notifications](/windows/apps/design/shell/tiles-and-notifications/adaptive-interactive-toasts)
153158
+ [ToastNotification Class](/uwp/api/windows.ui.notifications.toastnotification)

0 commit comments

Comments
 (0)