Skip to content

Commit ef6a1d4

Browse files
committed
update
1 parent c0bf0e5 commit ef6a1d4

File tree

3 files changed

+16
-18
lines changed

3 files changed

+16
-18
lines changed

powerapps-docs/maker/canvas-apps/add-notifications.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,16 @@ You can send a push notification from one app to another or to the same app. In
1919

2020
In this article, the sample app used for notifications is built from the default **Case Management** app template.
2121

22+
> [!NOTE]
23+
> Before you begin, create push notifications for the Power Apps mobile app. More information: [Create push notifications for the Power Apps mobile app](../../mobile/power-apps-mobile-notification).
24+
2225
1. In [Power Apps](https://make.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), go to the app to which you want to send push notifications.
2326

2427
1. Copy the app ID. More information: [Get an app ID](get-sessionid.md#get-an-app-id)
2528

2629
1. In the left pane, select **Data** - **Connections**.
2730

28-
1. Edit the app that you want to send the notifications from. More information: [Edit an app](edit-app.md)
31+
1. Edit the app. More information: [Edit an app](edit-app.md)
2932

3033
1. Select **View** - **Data sources**.
3134

@@ -43,23 +46,19 @@ In this article, the sample app used for notifications is built from the default
4346

4447
1. Select **Connect**.
4548

46-
1. Add the connection to the trigger app.
49+
1. Add the push notification connection to the trigger app using the similar steps.
4750

4851
In our example, we use the same app as the trigger app. The user who reassigns the case also triggers a push notification to the new case owner.
4952

5053
![Add connection](./media/add-notifications/add-connection.png)
5154

52-
1. In [Power Automate](https://flow.microsoft.com), create a trigger that specifies when the push notification is sent.
53-
54-
55-
56-
5. From the push notification connection, call the **SendPushNotification** method.
55+
1. From the push notification connection, call the **SendPushNotification** method.
5756

5857
In our example, we trigger this notification by using the **OnSuccess** property in a form.
5958

6059
![Power Apps formula](./media/add-notifications/powerapps-function.png)
6160

62-
## Load a specific page and context when a user taps the notification
61+
## Perform an action when a user taps the notification
6362

6463
### Pass parameters
6564

@@ -70,9 +69,12 @@ Your push notification can pass specific parameters to the app. For example, to
7069
You can set your app to open, for example, the **Case details** page as soon as the app opens:
7170

7271
1. Add a **Timer** control, and set its **OnTimerEnd** property to this formula:
73-
<br>**Navigate(EditCase, ScreenTransition.None)**
74-
2. (optional) Hide the **Timer** control by setting its **Visible** property to **false**.
75-
3. Set the **OnVisible** property of the screen to **Timer.Start()**.
72+
73+
`Navigate(EditCase, ScreenTransition.None)`
74+
75+
1. (optional) Hide the **Timer** control by setting its **Visible** property to **false**.
76+
77+
1. Set the **OnVisible** property of the screen to **Timer.Start()**.
7678

7779
> [!TIP]
7880
> It's a good idea to create a unique first page in the app for the notification:
@@ -120,11 +122,7 @@ PowerAppsNotification.SendPushNotification(
120122
)
121123
```
122124

123-
## Known limitations
124-
125-
* Currently, notifications aren't displayed on Power Apps Mobile for Windows Phone.
126-
* Currently, we don't provide push notifications for users who run apps only in a web browser.
127-
* Notifications show the generic Power Apps icon instead of a specific app icon.
128-
* Push notifications aren't currently supported for Model Driven apps.
125+
### See also
129126

130-
For reference information, see [Power Apps Notification reference](https://docs.microsoft.com/connectors/powerappsnotification/).
127+
- [Create push notifications for the Power Apps mobile app](../../mobile/power-apps-mobile-notification)
128+
- [Power Apps Notification reference](https://docs.microsoft.com/connectors/powerappsnotification/)
Loading
Loading

0 commit comments

Comments
 (0)