Skip to content

Commit 1dadbc0

Browse files
committed
minor updates
1 parent 524c84f commit 1dadbc0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

powerapps-docs/maker/canvas-apps/functions/object-app.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,14 @@ Nobody wants to lose unsaved changes. Use the **ConfirmExit** and **ConfirmExitM
5757
> [!NOTE]
5858
> **ConfirmExit** doesn't work in apps that are embedded in, for example, Power BI and SharePoint.
5959
60+
> [!NOTE]
61+
> At present, these properties cannot reference controls on any screens besides the first screen. If references are made, no error will appear while authoring, but the resulting published app will not load in any players. We are actively working to lift this limitation.
62+
6063
### ConfirmExit
6164

6265
**ConfirmExit** is a Boolean property that, when *true*, opens a confirmation dialog box before the app is closed. By default, this property is *false*, and no dialog box appears.
6366

64-
Use this property to show a confirmation dialog box if the user has made changes but not saved them. Use a formula that can check variables and control properties (for example, the **Unsaved** property of form controls).
67+
Use this property to show a confirmation dialog box if the user has made changes but not saved them. Use a formula that can check variables and control properties (for example, the **Unsaved** property of the [**Edit form**](../controls/control-form-detail.md) control).
6568

6669
The confirmation dialog box appears in any situation where data could be lost, as in these examples:
6770

@@ -70,9 +73,8 @@ The confirmation dialog box appears in any situation where data could be lost, a
7073
- Closing the browser or the browser tab in which the app is running.
7174
- Selecting the browser's back button.
7275
- If the app is running in PowerApps Mobile (iOS or Android):
73-
- Running the [**Launch**](function-param.md) function.<br>If you run this function in a browser, another tab opens. No data would be lost, so the **ConfirmExit** function doesn't run.
74-
- Closing PowerApps Mobile.
75-
- Swiping to switch to a different app.
76+
- Running the [**Launch**](function-param.md) function.<br>If you run this function in a browser, another tab opens (no data would be lost, so the **ConfirmExit** formula doesn't evaluate).
77+
- Swiping to switch to a different app in the player.
7678
- Selecting the back button on an Android device.
7779

7880
The exact look of the confirmation dialog box might vary across devices and versions of PowerApps.

0 commit comments

Comments
 (0)