You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Navigation/openAlertDialog.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: "openAlertDialog (Client API reference) in model-driven apps| MicrosoftDo
3
3
description: Includes description and supported parameters for the openAlertDialog method.
4
4
author: HemantGaur
5
5
ms.author: hemantg
6
-
ms.date: 03/12/2022
6
+
ms.date: 09/18/2023
7
7
ms.reviewer: jdaly
8
8
ms.topic: reference
9
9
search.audienceType:
@@ -23,17 +23,19 @@ contributors:
23
23
24
24
## Parameters
25
25
26
+
> [!NOTE]
27
+
> With the *[new look](../../../../../user/modern-fluent-design.md)* enabled, dialog height will resize automatically if you don't set the **height** value of the dialog options.
28
+
26
29
|Name |Type |Required |Description |
27
30
|---|---|---|---|
28
-
|alertStrings|Object|Yes|The strings to be used in the alert dialog. The object contains the following values:<br/>- **confirmButtonLabel**: (Optional) String. The confirm button label. If you do not specify the button label, **OK** is used as the button label.<br/>- **text**: String. The message to be displayed in the alert dialog.<br/>- **title**: (Optional) String. The title of the alert dialog.|
29
-
|alertOptions|Object|No|The height and width options for alert dialog. The object contains the following values:<br/>- **height**: (Optional) Number. Height of the alert dialog in pixels.<br/>- **width**: (Optional) Number. Width of the alert dialog pixels.|
30
-
|successCallback|function|No|A function to execute when the alert dialog is closed by either clicking the confirm button or canceled by pressing ESC.|
31
+
|alertStrings|Object|Yes|The strings to be used in the alert dialog. The object contains the following values:<br/>- **confirmButtonLabel**: (Optional) String. The confirm button label. If you don't specify the button label, **OK** is used as the button label.<br/>- **text**: String. The message to be displayed in the alert dialog.<br/>- **title**: (Optional) String. The title of the alert dialog.|
32
+
|alertOptions|Object|No|The height and width options for alert dialog. The object contains the following values:<br/>- **height**: (Optional) Number. Height of the alert dialog in pixels.<br/>- **width**: (Optional) Number. Width of the alert dialog pixels.<br><br> With the *[new look](../../../../../user/modern-fluent-design.md)* enabled, dialog height resizes automatically if you don't set the **height** value of the dialog options.|
33
+
|successCallback|function|No|A function to execute when the alert dialog closes either clicking the confirm button or canceled by pressing ESC.|
31
34
|errorCallback|function|No|A function to execute when the operation fails.|
32
35
33
-
34
36
## Example
35
37
36
-
The following sample code displays an alert dialog. Clicking **Yes** button in the alert dialog or canceling the alert dialog by pressing ESC calls the `close` function::
38
+
The following sample code displays an alert dialog. Clicking **Yes** button in the alert dialog or canceling the alert dialog by pressing ESC calls the `close` function:
37
39
38
40
```JavaScript
39
41
var alertStrings = { confirmButtonLabel:"Yes", text:"This is an alert.", title:"Sample title" };
Copy file name to clipboardExpand all lines: powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Navigation/openConfirmDialog.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: "openConfirmDialog (Client API reference) in model-driven apps| Microsoft
3
3
description: Includes description and supported parameters for the openConfirmDialog method.
4
4
author: HemantGaur
5
5
ms.author: hemantg
6
-
ms.date: 03/12/2022
6
+
ms.date: 09/18/2023
7
7
ms.reviewer: jdaly
8
8
ms.topic: reference
9
9
applies_to: "Dynamics 365 (online)"
@@ -24,10 +24,15 @@ contributors:
24
24
25
25
## Parameters
26
26
27
+
> [!NOTE]
28
+
> With the *[new look](../../../../../user/modern-fluent-design.md)* enabled, dialog height will resize automatically if you don't set the **height** value of the dialog options.
29
+
30
+
31
+
27
32
|Name |Type |Required |Description |
28
33
|---|---|---|---|
29
-
|confirmStrings|Object|Yes|The strings to be used in the confirmation dialog. The object contains the following values:<br/>- **cancelButtonLabel**: (Optional) String. The cancel button label. If you do not specify the cancel button label, **Cancel** is used as the button label.<br/>- **confirmButtonLabel**: (Optional) String. The confirm button label. If you do not specify the confirm button label, **OK** is used as the button label.<br/>- **subtitle**: (Optional) String. The subtitle to be displayed in the confirmation dialog.<br/>- **text**: String. The message to be displayed in the confirmation dialog.<br/>- **title**: (Optional) String. The title to be displayed in the confirmation dialog.|
30
-
|confirmOptions|Object|No|The height and width options for confirmation dialog. The object contains the following values:<br/>- **height**: (Optional) Number. Height of the confirmation dialog in pixels.<br/>- **width**: (Optional) Number. Width of the confirmation dialog in pixels.|
34
+
|confirmStrings|Object|Yes|The strings to be used in the confirmation dialog. The object contains the following values:<br/>- **cancelButtonLabel**: (Optional) String. The cancel button label. If you don't specify the cancel button label, **Cancel** is used as the button label.<br/>- **confirmButtonLabel**: (Optional) String. The confirm button label. If you don't specify the confirm button label, **OK** is used as the button label.<br/>- **subtitle**: (Optional) String. The subtitle to be displayed in the confirmation dialog.<br/>- **text**: String. The message to be displayed in the confirmation dialog.<br/>- **title**: (Optional) String. The title to be displayed in the confirmation dialog.|
35
+
|confirmOptions|Object|No|The height and width options for confirmation dialog. The object contains the following values:<br/>- **height**: (Optional) Number. Height of the confirmation dialog in pixels.<br/>- **width**: (Optional) Number. Width of the confirmation dialog in pixels. <br><br>With the *[new look](../../../../../user/modern-fluent-design.md)* enabled, dialog height resizes automatically if you don't set the **height** value of the dialog options.|
31
36
|successCallback|function|No|A function to execute when the confirmation dialog is closed by clicking the confirm, cancel, or **X** in the top-right corner of the dialog. An object with the **confirmed** (Boolean) attribute is passed that indicates whether the confirm button was clicked to close the dialog.|
32
37
|errorCallback|function|No|A function to execute when the operation fails.|
description: Learn about the updated, user interface that makes model-driven apps easier to use.
4
4
author: chmoncay
5
5
ms.topic: overview
6
-
ms.date: 08/22/2023
6
+
ms.date: 09/18/2023
7
7
ms.service: powerapps
8
8
ms.subservice: end-user
9
9
ms.author: chmoncay
@@ -21,13 +21,13 @@ contributors:
21
21
22
22
Model-driven apps have a modern, refreshed look when the **Try the new look** feature has been [turned on by end users](modern-fluent-design.md#turn-on-the-new-look). This new look provides updated styling including fonts, colors, borders, shadows, and more that align to the latest [Microsoft Fluent design system](https://react.fluentui.dev/?path=/docs/concepts-introduction--page). The updated look makes model-driven apps easier to use so that users can accomplish their goals quickly and efficiently. This feature is transitioning from preview to general availability. Learn more about this process in [Preview to general availability rollout](modern-fluent-design.md#preview-to-general-availability-rollout).
23
23
24
-
The Fluent design system provides consistency, quality, and Microsoft-wide platform coherence. It also provides a solid foundation for extensibility and allows support for dark mode in the future.
24
+
The Fluent design system provides consistency, quality, and Microsoft-wide platform coherence. It also provides a solid foundation for extensibility and allows support for dark mode in the future.
25
25
26
-
## What’s included with the new look
26
+
## What's included with the new look
27
27
Here's what you can expect in the modern, refreshed experience:
28
28
29
29
- Updated styling in form, view, and dashboard pages, which includes the use of drop shadows and brighter background colors to create an elevated or _floating_ appearance. The floating appearance helps to visually separate sections and focuses attention on primary content.
30
-
- New Fluent-based controls in forms, business process flows, and dialogs.
30
+
- New Fluent-based controls in forms, business process flows, and dialogs. Dialogs now resize height automatically based on the content.
31
31
- A new Power Apps grid in place of the read-only grid in view and standard, dashboard pages.
32
32
- An end user setting called **Try the new look** that enables the modern, refreshed experience.
33
33
@@ -39,7 +39,7 @@ The _floating_ command bar aligns with the Microsoft 365 experience, with consis
View pages use the new command bar and have updated grid areas that take advantage of the elevation changes to help draw the user’s attention.
42
+
View pages use the new command bar and have updated grid areas that take advantage of the elevation changes to help draw the user's attention.
43
43
44
44
The biggest change on view pages is the switch from the read-only grid to the [Power Apps grid control (preview)](../maker/model-driven-apps/the-power-apps-grid-control.md), which features infinite scrolling for a modern, data browsing experience. This grid also appears in subgrids and associated grids in main forms, but isn't yet supported in dashboards. The Power Apps grid control also supports inline editing using the **Enable filtering** property. Makers may manually configure their editable grids to use the Power Apps grid control.
0 commit comments