Skip to content

Commit 57fecaf

Browse files
authored
Live publish
2 parents e4e3e43 + d5d49e4 commit 57fecaf

File tree

9 files changed

+56
-26
lines changed

9 files changed

+56
-26
lines changed

powerapps-docs/developer/common-data-service/online-management-api/get-started-online-management-api.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Get started with Online Management API for Common Data Service| MicrosoftDocs"
33
description: "Provides basic information to help you get started with the Online Admin API for Common Data Service."
4-
ms.date: 09/30/2019
4+
ms.date: 10/23/2020
55
ms.service: powerapps
66
ms.topic: conceptual
77
ms.assetid: c292c148-01f0-41f6-a2fe-7ed05a01a733
@@ -15,6 +15,9 @@ search.app:
1515
---
1616
# Get started with Online Management API
1717

18+
> [!NOTE]
19+
> Effective August 26, 2020, the Online Management API is [deprecated](/power-platform/important-changes-coming##online-management-api-powershell-module-and-rest-api-are-deprecated).
20+
1821
This topic provides basic information to help you get started with the Online Admin API for Common Data Service.
1922

2023
## Microsoft 365 Admin roles

powerapps-docs/developer/common-data-service/online-management-api/overview.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Online Management API for Common Data Service| MicrosoftDocs"
3-
ms.date: 09/30/2019
3+
ms.date: 10/23/2020
44
ms.service: powerapps
55
ms.topic: conceptual
66
ms.assetid: b9ee3048-7065-48e6-87fc-7728c51bdd4e
@@ -14,6 +14,9 @@ search.app:
1414
---
1515
# Online Management API for Common Data Service
1616

17+
> [!NOTE]
18+
> Effective August 26, 2020, the Online Management API is [deprecated](/power-platform/important-changes-coming##online-management-api-powershell-module-and-rest-api-are-deprecated).
19+
1720
Online Management API is a REST API that lets you create and manage Common Data Service environments in your Microsoft 365 tenant.
1821

1922
Application publishers and ISVs can use the Online Management API to:

powerapps-docs/maker/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,8 @@
873873
href: ./canvas-apps/accessible-apps-content-visibility.md
874874
- name: Announce dynamic changes with live regions
875875
href: ./canvas-apps/accessible-apps-live-regions.md
876+
- name: Send notifications from an app
877+
href: ./canvas-apps/add-notifications.md
876878
- name: Experimental and preview features
877879
href: ./canvas-apps/working-with-experimental-preview.md
878880
- name: Save and publish an app

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

Lines changed: 46 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,80 @@
11
---
2-
title: Send a push notification | Microsoft Docs
3-
description: Learn how to send native push notifications to an app in Power Apps.
2+
title: Send a push notification from a canvas app. | Microsoft Docs
3+
description: Learn how to send push notifications from a canvas app in Power Apps.
44
author: kavishi
55
ms.service: powerapps
66
ms.topic: conceptual
77
ms.custom: canvas
88
ms.reviewer: tapanm
9-
ms.date: 08/20/2020
9+
ms.date: 10/23/2020
1010
ms.author: kaagar
1111
search.audienceType:
1212
- maker
1313
search.app:
1414
- PowerApps
1515
---
16-
# Send a push notification in Power Apps
16+
# Send notification from an app
1717

18-
Push notifications are used in mobile apps to engage app users and help them prioritize key tasks. In Power Apps, you can send notifications by using the Power Apps Notification connector. You can send native push notifications to any app that you create in Power Apps.
18+
You can send a push notification from one app to another or to the same app. In canvas apps, you can send notifications by using the Power Apps Notification connector.
1919

20-
## Send a notification from an app
21-
You can send a push notification from one app to another or to the same app.
20+
In this article, the sample app used for notifications is built from the default **Case Management** app template.
21+
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.md).
2224
2325
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.
24-
2. On the **Details** tab, copy the **App ID** of that app.
2526

26-
![Get App ID](./media/add-notifications/grab-id.png)
27-
3. On the **Connections** tab, create a connection to the Power Apps Notification connector, and paste in the app ID from the previous step.
27+
1. Copy the app ID. More information: [Get an app ID](get-sessionid.md#get-an-app-id)
28+
29+
1. In the left pane, select **Data** - **Connections**.
30+
31+
1. Edit the app. More information: [Edit an app](edit-app.md)
32+
33+
1. Select **View** - **Data sources**.
34+
35+
1. Select **Add data source**.
36+
37+
1. Select **New Connection**.
38+
39+
1. Select **Power Apps Notification**.
40+
41+
![Select Power Apps Notification](./media/add-notifications/select-powerapps-notification.png "Select Power Apps Notification")
42+
43+
1. Paste the app ID copied from the previous step.
44+
45+
![Paste the app ID](./media/add-notifications/paste-app-id.png "Paste the app ID")
2846

29-
![Create connection](./media/add-notifications/create-connection.png)
30-
4. Add the connection to the trigger app.
47+
1. Select **Connect**.
48+
49+
1. Add the push notification connection to the trigger app using the similar steps.
3150

3251
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.
3352

3453
![Add connection](./media/add-notifications/add-connection.png)
35-
5. From the push notification connection, call the **SendPushNotification** method.
54+
55+
1. From the push notification connection, call the **SendPushNotification** method.
3656

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

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

41-
## Load a specific page and context when a user taps the notification
61+
## Perform an action when a user taps the notification
62+
4263
### Pass parameters
64+
4365
Your push notification can pass specific parameters to the app. For example, to read the **CaseID** value, use *Param("CaseID")*. To quickly identify this parameter, add a **Label** control to your app. Set the **Text** property of that control to **Param("CaseID")**. If the user opens the app from the **All apps** list, the value is empty. If the user opens the app from another ___location on the device, the value is populated with the **CaseID** value.
4466

4567
### Set the start page
68+
4669
You can set your app to open, for example, the **Case details** page as soon as the app opens:
4770

4871
1. Add a **Timer** control, and set its **OnTimerEnd** property to this formula:
49-
<br>**Navigate(EditCase, ScreenTransition.None)**
50-
2. (optional) Hide the **Timer** control by setting its **Visible** property to **false**.
51-
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()**.
5278

5379
> [!TIP]
5480
> It's a good idea to create a unique first page in the app for the notification:
@@ -96,11 +122,7 @@ PowerAppsNotification.SendPushNotification(
96122
)
97123
```
98124

99-
## Known limitations
100-
* Currently, notifications aren't displayed on Power Apps Mobile for Windows Phone.
101-
* Currently, we don't provide push notifications for users who run apps only in a web browser.
102-
* Notifications show the generic Power Apps icon instead of a specific app icon.
103-
* Push notifications aren't currently supported for Model Driven apps.
104-
105-
For reference information, see [Power Apps Notification reference](https://docs.microsoft.com/connectors/powerappsnotification/).
125+
### See also
106126

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

0 commit comments

Comments
 (0)