Skip to content

Commit f8adda6

Browse files
authored
Merge pull request MicrosoftDocs#4389 from MicrosoftDocs/terminology-updates-mda
Terminology updates model-driven apps
2 parents 266caad + e4da21d commit f8adda6

File tree

43 files changed

+620
-610
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+620
-610
lines changed

powerapps-docs/developer/model-driven-apps/actions-visualizations-charts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ To perform actions on an organization-owned visualization (`SavedQueryVisualizat
3030
> [!NOTE]
3131
> After updating an organization-owned visualization, you must publish the table definitions changes to make it visible across the organization by using the <xref:Microsoft.Crm.Sdk.Messages.PublishAllXmlRequest> message. Alternatively, whenever you publish a table, all the unpublished organization-owned visualizations that are attached to the table are published automatically.
3232
33-
- Query and retrieve all the organization-owned visualizations that are attached to a table using the `SavedQueryVisualization.PrimaryEntityTypeCode`. Multiple organization-owned visualizations can be attached to a single table. For a list of tables with which you can attach a visualization, see [Tables Supported for visualizations](view-data-with-visualizations-charts.md#SupportedVisualizationEntities). For a code sample that demonstrates how to retrieve all the organization-owned visualizations attached to an table, see [Sample: Retrieve all charts attached to a table](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/RetrieveChartsAttachedToEntity).
33+
- Query and retrieve all the organization-owned visualizations that are attached to a table using the `SavedQueryVisualization.PrimaryEntityTypeCode`. Multiple organization-owned visualizations can be attached to a single table. For a list of tables with which you can attach a visualization, see [Tables Supported for visualizations](view-data-with-visualizations-charts.md). For a code sample that demonstrates how to retrieve all the organization-owned visualizations attached to an table, see [Sample: Retrieve all charts attached to a table](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/RetrieveChartsAttachedToEntity).
3434

3535
> [!NOTE]
3636
> You cannot change or update a visualization to attach it with a different table after you have created the visualization. It implies that the `SavedQueryVisualization.PrimaryEntityTypeCode` is not valid for the update action on the organization-owned visualization.
@@ -49,7 +49,7 @@ To perform actions on an organization-owned visualization (`SavedQueryVisualizat
4949

5050
- Create, retrieve, update, and delete a user-owned visualization. More information: [Create a visualization](create-visualization-chart.md)
5151

52-
- Query and retrieve all the user-owned visualizations that are attached to a table using the `UserQueryVisualization.PrimaryEntityTypeCode`. Multiple user-owned visualizations can be attached to a table. For a list of tables with which you can attach a visualization, see [Tables supported for visualizations](view-data-with-visualizations-charts.md#SupportedVisualizationEntities).
52+
- Query and retrieve all the user-owned visualizations that are attached to a table using the `UserQueryVisualization.PrimaryEntityTypeCode`. Multiple user-owned visualizations can be attached to a table. For a list of tables with which you can attach a visualization, see [Tables supported for visualizations](view-data-with-visualizations-charts.md).
5353

5454
> [!NOTE]
5555
> You cannot change or update a visualization to attach it with a different table after you have created the visualization. It implies that the `UserQueryVisualization.PrimaryEntityTypeCode` is not valid for the update action on the user-owned visualization.

powerapps-docs/developer/model-driven-apps/best-practices/business-logic/consider-disabling-navbar-programmatically-opening-entity-forms-views.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Consider disabling NavBar when programmatically opening entity forms or views | MicrosoftDocs"
3-
description: "Opening up entity forms or views with a URL, could lead to slower client performance on high latency networks when the navigation bar (NavBar) is enabled."
2+
title: "Consider disabling NavBar when programmatically opening forms or views | MicrosoftDocs"
3+
description: "Opening up forms or views with a URL, could lead to slower client performance on high latency networks when the navigation bar (NavBar) is enabled."
44
services: ''
55
suite: powerapps
66
documentationcenter: na
@@ -13,15 +13,15 @@ ms.devlang: na
1313
ms.topic: article
1414
ms.tgt_pltfrm: na
1515
ms.workload: na
16-
ms.date: 3/04/2019
16+
ms.date: 04/14/2021
1717
ms.author: jowells
1818
search.audienceType:
1919
- developer
2020
search.app:
2121
- PowerApps
2222
- D365CE
2323
---
24-
# Consider disabling NavBar when programmatically opening entity forms or views
24+
# Consider disabling NavBar when programmatically opening forms or views
2525

2626
**Category**: Design, Performance
2727

@@ -31,15 +31,17 @@ search.app:
3131

3232
## Symptoms
3333

34-
Opening up entity forms or views with a URL, could lead to slower client performance on high latency networks when the navigation bar (NavBar) is enabled.
34+
Opening up forms or views with a URL, could lead to slower client performance on high latency networks when the navigation bar (NavBar) is enabled.
3535

3636
<a name='guidance'></a>
3737

3838
## Guidance
3939

40-
Determine if your users need to have the full navigation bar when creating customizations that open entity forms or views through a URL. In most cases, users click on a link to open an entity form, do some quick work, and then close the record. Disabling the navigation bar will lower the amount of resources to be loaded which lowers the number of network requests being made.
40+
Determine if your users need to have the full navigation bar when creating customizations that open forms or views through a URL. In most cases, users selects on a link to open a form, do some quick work, and then close the record. Disabling the navigation bar will lower the amount of resources to be loaded which lowers the number of network requests being made.
4141

42-
When constructing URLs to open up entity forms or views, implement `navbar=off` within your query string parameters for the `main.aspx` page. The following example opens an Account entity form with the navigation bar disabled.
42+
[!INCLUDE[cc-terminology](../../../data-platform/includes/cc-terminology.md)]
43+
44+
When constructing URLs to open up forms or views, implement `navbar=off` within your query string parameters for the `main.aspx` page. The following example opens an Account form with the navigation bar disabled.
4345

4446
```JavaScript
4547
function disableNavBar() {
@@ -58,7 +60,7 @@ function disableNavBar() {
5860
> [!WARNING]
5961
> These scenarios should be avoided.
6062
61-
Keeping the navigation bar (NavBar) enabled does not mean users will experience performance issues. However, it does mean that additional resources must be loaded on the entity form or view which does require additional network requests. It has been observed on highly latent networks this can lead to a poor user experience.
63+
Keeping the navigation bar (NavBar) enabled does not mean users will experience performance issues. However, it does mean that additional resources must be loaded on the form or view which does require additional network requests. It has been observed on highly latent networks this can lead to a poor user experience.
6264

6365
An example of a constructed URL with the NavBar enabled is as follows
6466

powerapps-docs/developer/model-driven-apps/best-practices/business-logic/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ search.app:
2626

2727
This list below contains all of the Best practices and guidance of client side scripting for model-driven apps.
2828

29+
[!INCLUDE[cc-terminology](../../../data-platform/includes/cc-terminology.md)]
30+
2931
|Best Practice |Description |
3032
|---------|---------|
3133
|[Avoid using window.top](avoid-window-top.md) |Describes how to avoid script errors and incorrect application behavior associated with using window.top in JavaScript customizations. |

powerapps-docs/developer/model-driven-apps/best-practices/business-logic/remove-deactivated-disabled-configurations.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ Deactivated or disabled customizations should be removed from a solution to impr
3535

3636
<a name='guidance'></a>
3737

38+
[!INCLUDE[cc-terminology](../../../data-platform/includes/cc-terminology.md)]
39+
3840
## Guidance
3941

4042
Ensure that each solution component that is deactivated, or disabled, has been done so intentionally. If so and will no longer be utilized, consider removing it from the solution to prevent confusion for users and system customizers. These components include:
@@ -44,7 +46,7 @@ Ensure that each solution component that is deactivated, or disabled, has been d
4446
- Record Creation and Update Rules
4547
- SLAs
4648

47-
As well as Entity components such as:
49+
As well as table components such as:
4850

4951
- Forms
5052
- Views

powerapps-docs/developer/model-driven-apps/best-practices/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.devlang: na
1313
ms.topic: article
1414
ms.tgt_pltfrm: na
1515
ms.workload: na
16-
ms.date: 12/12/2018
16+
ms.date: 04/14/2021
1717
ms.author: jowells
1818
search.audienceType:
1919
- developer
@@ -27,6 +27,8 @@ search.app:
2727
Model-driven apps is a component-focused approach to app development which can be extended by a developer to achieve a much more
2828
tailored experience. While customizing model-driven apps, a developer should be aware of the established guidance and best practices.
2929

30+
[!INCLUDE[cc-terminology](../../data-platform/includes/cc-terminology.md)]
31+
3032
Within this section you will learn about the issues we have identified, their impact, and understand the guidance to resolve them. We will explain the background about why things should be done in a certain way and avoid potential problems in the future. This can benefit the usability, supportability, and performance of your environment. The guidance documentation supports the existing information within the Developer and Administration guides.
3133

3234
> [!NOTE]
@@ -38,7 +40,7 @@ Within this section you will learn about the issues we have identified, their im
3840
The documentation targets the following customization types:
3941

4042
- Model-driven app design
41-
- Entity form design
43+
- Form design
4244
- Client scripting
4345
- Web resources
4446

powerapps-docs/developer/model-driven-apps/create-visualization-chart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To create a visualization programmatically, you must create a record for the [Sa
3434
> [!NOTE]
3535
> Organization-owned visualizations can only be created by those users who have the System Administrator or System Customizer role.
3636
37-
- **Associated Table**: Visualizations are attached to tables. More information: [Tables supported for visualizations](view-data-with-visualizations-charts.md#SupportedVisualizationEntities). You can attach a chart to a supported table by using the [SavedQueryVisualization.PrimaryEntityTypeCode](../data-platform/reference/entities/savedqueryvisualization.md#BKMK_PrimaryEntityTypeCode) or [UserQueryVisualization.PrimaryEntityTypeCode](../data-platform/reference/entities/userqueryvisualization.md#BKMK_PrimaryEntityTypeCode) parameter.
37+
- **Associated Table**: Visualizations are attached to tables. More information: [Tables supported for visualizations](view-data-with-visualizations-charts.md). You can attach a chart to a supported table by using the [SavedQueryVisualization.PrimaryEntityTypeCode](../data-platform/reference/entities/savedqueryvisualization.md#BKMK_PrimaryEntityTypeCode) or [UserQueryVisualization.PrimaryEntityTypeCode](../data-platform/reference/entities/userqueryvisualization.md#BKMK_PrimaryEntityTypeCode) parameter.
3838

3939
<a name="CreateChart"></a>
4040

powerapps-docs/developer/model-driven-apps/define-ribbon-display-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ When configuring ribbon elements, you can define specific rules to control when
2424
- Use the /`RuleDefinitions`/DisplayRules/`<DisplayRule>` element to define rules controlling when the ribbon element should be displayed.
2525

2626
- Use the /CommandDefinitions/`CommandDefinition`/DisplayRules/`<DisplayRule>` element to associate specific display rules to a command definition.
27-
-
27+
2828
[!INCLUDE[cc-terminology](../data-platform/includes/cc-terminology.md)]
2929

3030
## Control when ribbon elements are displayed

powerapps-docs/developer/model-driven-apps/define-ribbon-tab-display-rules.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Define ribbon tab display rules (model-driven apps) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces"
33
description: "Learn about defining ribbon tab displays rules." # 115-145 characters including spaces. This abstract displays in the search result."
44
keywords: ""
5-
ms.date: 10/31/2018
5+
ms.date: 04/14/2021
66
ms.service: powerapps
77
ms.custom:
88
- ""
@@ -21,23 +21,21 @@ search.app:
2121

2222
# Define ribbon tab display rules
2323

24-
<!-- https://docs.microsoft.com/dynamics365/customer-engagement/developer/customize-dev/define-ribbon-tab-display-rules -->
25-
2624
Tab display rules control whether a specific tab is displayed for a ribbon or not.
2725

28-
Unlike other ribbon elements like groups or specific controls, you must explicitly provide a tab display rule for a tab to be displayed in the ribbon. By default, other ribbon elements will always display unless a display rule removes them.
29-
30-
`<TabDisplayRule>` elements require that the `TabCommand` attribute matches a `<Tab>` `Command` attribute value.
26+
Unlike other ribbon elements like groups or specific controls, you must explicitly provide a tab display rule for a tab to be displayed in the ribbon. By default, other ribbon elements will always display unless a display rule removes them.
3127

32-
In the `RibbonDiffXml`, tabs can be defined for specific entities or defined globally.
33-
If the tab is defined for an entity, the only valid type of rule is `<EntityRule>`.
34-
Because defining a tab in the scope of a particular entity already limits the tab to only that entity, the only valid attributes are `AppliesTo` (`PrimaryEntity` or `SelectedEntity`) and `Context` (`Form`, `HomePageGrid`, `SubGridStandard`, or `SubGridAssociated`).
28+
`<TabDisplayRule>` elements require that the `TabCommand` parameter matches a `<Tab>` `Command` value.
3529

36-
When you define a tab display rule globally in the `RibbonDiffXml` for the application ribbons, you can apply both `EntityRule` elements and `<PageRule>` elements.
30+
In the `RibbonDiffXml`, tabs can be defined for specific tables or defined globally. If the tab is defined for a table, the only valid type of rule is `<EntityRule>`. Because defining a tab in the scope of a particular table already limits the tab to only that table, the only valid parameters are `AppliesTo` (`PrimaryEntity` or `SelectedEntity`) and `Context` (`Form`, `HomePageGrid`, `SubGridStandard`, or `SubGridAssociated`).
31+
32+
[!INCLUDE[cc-terminology](../data-platform/includes/cc-terminology.md)]
33+
34+
When you define a tab display rule globally in the `RibbonDiffXml` for the application ribbons, you can apply both `EntityRule` elements and `<PageRule>` elements.
3735

3836
### See also
3937
[Customize commands and the ribbon](customize-commands-ribbon.md)
40-
[Define Scaling for Ribbon elements](define-scaling-ribbon-elements.md)
41-
[Pass Parameters to a URL by using the Ribbon](pass-parameters-url-by-using-ribbon.md)
38+
[Define scaling for ribbon elements](define-scaling-ribbon-elements.md)
39+
[Pass parameters to a URL by using the ribbon](pass-parameters-url-by-using-ribbon.md)
4240

4341
[!INCLUDE[footer-include](../../includes/footer-banner.md)]

0 commit comments

Comments
 (0)