Skip to content

Commit d81fa72

Browse files
committed
Merge branch 'master' into wimcoor-createfirstapp
2 parents 0c31a09 + b5ae616 commit d81fa72

16 files changed

+258
-242
lines changed

powerapps-docs/developer/model-driven-apps/actions-dashboards.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Actions on dashboards (model-driven apps) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces"
33
description: "Learn about performing actions such as create, retrieve, update, or delete, on organization-owned and user-owned dashboards." # 115-145 characters including spaces. This abstract displays in the search result."
44
keywords: ""
5-
ms.date: 10/31/2018
5+
ms.date: 04/15/2021
66
ms.service: powerapps
77
ms.topic: article
88
ms.assetid: 339eb79d-5dec-885b-496f-bfa26e9cae08
@@ -19,47 +19,47 @@ search.app:
1919

2020
# Actions on dashboards
2121

22-
<!-- https://docs.microsoft.com/dynamics365/customer-engagement/developer/customize-dev/actions-dashboards -->
23-
2422
You can perform actions such as create, retrieve, update, or delete, on organization-owned and user-owned dashboards.
2523

26-
## Actions on an Organization-Owned Dashboard
24+
## Actions on an organization-owned dashboard
2725

2826
To perform the following actions on an organization-owned dashboard (`SystemForm`), you must have the System Administrator or the System Customizer role assigned to your account in Microsoft Dataverse:
2927

30-
- Create, retrieve, update, and delete. You can create or update an organization-owned dashboard by using the Dataverse web services or by customizing the entity form. For detailed information about creating a dashboard, see [Create a Dashboard](create-dashboard.md).
28+
- Create, retrieve, update, and delete. You can create or update an organization-owned dashboard by using the Dataverse web services or by customizing the form. For detailed information about creating a dashboard, see [Create a dashboard](create-dashboard.md).
3129

32-
- Set an organization-owned dashboard as the default dashboard for an organization by setting the `SystemForm.IsDefault` attribute value to `true` while creating or updating the dashboard.
30+
- Set an organization-owned dashboard as the default dashboard for an organization by setting the `SystemForm.IsDefault` value to `true` while creating or updating the dashboard.
3331

3432
> [!IMPORTANT]
3533
> Using the methods available in the Dataverse Web Services, it is possible to set two dashboards as the default. Make sure that no other dashboard is the default dashboard for the organization before updating this setting programmatically.
3634
37-
After you update an organization-owned dashboard, you must publish the metadata changes to make it visible across the organization. You can use the <xref:Microsoft.Crm.Sdk.Messages.PublishAllXmlRequest> message or <xref:Microsoft.Crm.Sdk.Messages.PublishXmlRequest> message to publish the changes made for an organization-owned dashboard. For a sample code that demonstrates this, see [Sample: Create, Retrieve, Update and Delete (CRUD) a Dashboard](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/CRUDOperationsDashboard).
35+
After you update an organization-owned dashboard, you must publish the metadata changes to make it visible across the organization. You can use the <xref:Microsoft.Crm.Sdk.Messages.PublishAllXmlRequest> message or <xref:Microsoft.Crm.Sdk.Messages.PublishXmlRequest> message to publish the changes made for an organization-owned dashboard. For a sample code that demonstrates this, see [Sample: Create, retrieve, update, and delete (CRUD) a dashboard](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/CRUDOperationsDashboard).
3836

39-
For a list of supported messages on the organization-owned dashboard entity, see [SystemForm Entity](../data-platform/reference/entities/systemform.md).
37+
For a list of supported messages on the organization-owned dashboard table, see [SystemForm table](../data-platform/reference/entities/systemform.md).
4038

41-
## Actions on a User-Owned Dashboard
39+
[!INCLUDE[cc-terminology](../data-platform/includes/cc-terminology.md)]
40+
41+
## Actions on a user-owned dashboard
4242

4343
You can perform the following actions on a user-owned dashboard (`UserForm`):
4444

45-
- Create, retrieve, update, and delete. For detailed information about creating a user-owned dashboard, see [Create a Dashboard](create-dashboard.md).
45+
- Create, retrieve, update, and delete. For detailed information about creating a user-owned dashboard, see [Create a dashboard](create-dashboard.md).
4646

4747
- Change the ownership of a user-owned dashboard by assigning it to another user or team using the <xref:Microsoft.Crm.Sdk.Messages.AssignRequest> message.
4848

4949
- Retrieve the access that the specified security principal (user or team) has to a user-owned dashboard using the <xref:Microsoft.Crm.Sdk.Messages.RetrievePrincipalAccessRequest> message. You can also retrieve all the security principals (users or teams) that have access to a user-owned dashboard, along with their access rights to the user dashboard using the <xref:Microsoft.Crm.Sdk.Messages.RetrieveSharedPrincipalsAndAccessRequest> message.
5050

5151
- Collaborate with other users and teams on specific areas by sharing a user-owned dashboard with them using the <xref:Microsoft.Crm.Sdk.Messages.GrantAccessRequest>, <xref:Microsoft.Crm.Sdk.Messages.ModifyAccessRequest>, and <xref:Microsoft.Crm.Sdk.Messages.RevokeAccessRequest> messages.
5252

53-
For a list of supported messages on the user-owned dashboard entity, see [UserForm Entity](../data-platform/reference/entities/userform.md).
53+
For a list of supported messages on the user-owned dashboard table, see [UserForm table](../data-platform/reference/entities/userform.md).
5454

5555
### See also
5656

57-
[Dashboards for Microsoft Dynamics 365](analyze-data-with-dashboards.md)
58-
[Using FormXML for Dashboards](understand-dashboards-dashboard-components-formxml.md)
59-
[Create a Dashboard](create-dashboard.md)
60-
[Sample Dashboards](sample-dashboards.md)
61-
[Sample: Create, Retrieve, Update and Delete (CRUD) a Dashboard](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/CRUDOperationsDashboard)
62-
[Sample: Assign a User-Owned Dashboard to Another User](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/AssignUserOwnedDashboardToAnother)
57+
[Dashboards for Microsoft Dataverse](analyze-data-with-dashboards.md)
58+
[Using FormXML for dashboards](understand-dashboards-dashboard-components-formxml.md)
59+
[Create a dashboard](create-dashboard.md)
60+
[Sample dashboards](sample-dashboards.md)
61+
[Sample: Create, retrieve, update, and delete (CRUD) a dashboard](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/CRUDOperationsDashboard)
62+
[Sample: Assign a user-owned dashboard to another user](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/AssignUserOwnedDashboardToAnother)
6363

6464

6565
[!INCLUDE[footer-include](../../includes/footer-banner.md)]
Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: "Actions on visualizations (charts) (model-driven apps) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces"
3-
description: "Using the Microsoft Dataverse web services, you can perform the following actions on the visualization entities." # 115-145 characters including spaces. This abstract displays in the search result."
3+
description: "Using the Microsoft Dataverse web services, you can perform the following actions on the visualization tables." # 115-145 characters including spaces. This abstract displays in the search result."
44
keywords: ""
5-
ms.date: 10/31/2018
5+
ms.date: 04/15/2021
66
ms.service: powerapps
77
ms.topic: article
88
ms.assetid: c7eb3bdf-9d6f-9bcc-8114-4c3dc5be2976
@@ -19,61 +19,60 @@ search.app:
1919

2020
# Actions on visualizations (charts)
2121

22-
<!-- https://docs.microsoft.com/dynamics365/customer-engagement/developer/customize-dev/actions-visualizations-charts -->
23-
24-
Using the Microsoft Dataverse Web Services, you can perform the following actions on the visualization entities.
22+
Using the Microsoft Dataverse Web Services, you can perform the following actions on the visualization tables.
2523

2624
## Actions on organization-owned visualizations
2725

2826
To perform actions on an organization-owned visualization (`SavedQueryVisualization`), you must have the System Administrator or the System Customizer role. You can perform the following actions on an organization-owned visualization:
2927

30-
- Create, retrieve, update, and delete an organization-owned visualization. More information: [Create a Visualization](create-visualization-chart.md)
28+
- Create, retrieve, update, and delete an organization-owned visualization. More information: [Create a visualization](create-visualization-chart.md)
3129

3230
> [!NOTE]
33-
> After updating an organization-owned visualization, you must publish the metadata changes to make it visible across the organization by using the <xref:Microsoft.Crm.Sdk.Messages.PublishAllXmlRequest> message. Alternatively, whenever you publish an entity, all the unpublished organization-owned visualizations that are attached to the entity are published automatically.
31+
> 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.
3432
35-
- Query and retrieve all the organization-owned visualizations that are attached to an entity using the `SavedQueryVisualization.PrimaryEntityTypeCode` attribute. Multiple organization-owned visualizations can be attached to a single entity. For a list of entities with which you can attach a visualization, see [Entities 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 entity, see [Sample: Retrieve all Charts Attached to an Entity](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#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).
3634

3735
> [!NOTE]
38-
> You cannot change or update a visualization to attach it with a different entity after you have created the visualization. It implies that the `SavedQueryVisualization.PrimaryEntityTypeCode` attribute is not valid for the update action on the organization-owned visualization.
36+
> 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.
3937
40-
- Specify an organization-owned visualization as the default visualization for the associated entity by setting the `SavedQueryVisualization.IsDefault` attribute to `true`. When you set an organization-owned visualization as the default visualization for an entity, the visualization is displayed by default when you select to view the visualizations for this entity in Dataverse.
38+
- Specify an organization-owned visualization as the default visualization for the associated table by setting the `SavedQueryVisualization.IsDefault` to `true`. When you set an organization-owned visualization as the default visualization for a table, the visualization is displayed by default when you select to view the visualizations for this table in Dataverse.
4139

4240
> [!NOTE]
43-
> Using the Dataverse Web Services, if you set an organization-owned visualization as default for an entity that already has another visualization set as default, both the visualizations are marked as default visualizations for the entity. To set a visualization as a default visualization for an entity, make sure that no other visualization is set as the default visualization for the entity.
44-
45-
For a list of supported messages on the organization-owned visualization entity, see [SavedQueryVisualization Entity](../data-platform/reference/entities/savedqueryvisualization.md).
41+
> Using the Dataverse Web Services, if you set an organization-owned visualization as default for a table that already has another visualization set as default, both the visualizations are marked as default visualizations for the table. To set a visualization as a default visualization for a table, make sure that no other visualization is set as the default visualization for the table.
4642
43+
For a list of supported messages on the organization-owned visualization table, see [SavedQueryVisualization table](../data-platform/reference/entities/savedqueryvisualization.md).
44+
[!INCLUDE[cc-terminology](../data-platform/includes/cc-terminology.md)]
45+
4746
## Actions on user-owned visualizations
4847

4948
You can perform the following actions on a user-owned visualization (`UserQueryVisualization`):
5049

51-
- Create, retrieve, update, and delete a user-owned visualization. More information: [Create a Visualization](create-visualization-chart.md)
50+
- Create, retrieve, update, and delete a user-owned visualization. More information: [Create a visualization](create-visualization-chart.md)
5251

53-
- Query and retrieve all the user-owned visualizations that are attached to an entity using the `UserQueryVisualization.PrimaryEntityTypeCode` attribute. Multiple user-owned visualizations can be attached to an entity. For a list of entities with which you can attach a visualization, see [Entities 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#SupportedVisualizationEntities).
5453

5554
> [!NOTE]
56-
> You cannot change or update a visualization to attach it with a different entity after you have created the visualization. It implies that the `UserQueryVisualization.PrimaryEntityTypeCode` attribute is not valid for the update action on the user-owned visualization.
55+
> 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.
5756
5857
- Change the ownership of a user-owned visualization by assigning it to another user or team using <xref:Microsoft.Crm.Sdk.Messages.AssignRequest>.
5958

6059
- Retrieve the access that the specified security principal (user or team) has to a user-owned visualization using <xref:Microsoft.Crm.Sdk.Messages.RetrievePrincipalAccessRequest>. You can also retrieve all the security principals (users or teams) that have access to a user-owned visualization, along with their access rights to the user-owned visualization using the <xref:Microsoft.Crm.Sdk.Messages.RetrieveSharedPrincipalsAndAccessRequest>.
6160

6261
- Collaborate with other users and teams on specific areas by sharing a user-owned visualization with them using <xref:Microsoft.Crm.Sdk.Messages.GrantAccessRequest>, <xref:Microsoft.Crm.Sdk.Messages.ModifyAccessRequest>, and <xref:Microsoft.Crm.Sdk.Messages.RevokeAccessRequest>.
6362

64-
For a list of supported messages on the user-owned visualization entity, see [UserQueryVisualization Entity](../data-platform/reference/entities/userqueryvisualization.md).
63+
For a list of supported messages on the user-owned visualization table, see [UserQueryVisualization table](../data-platform/reference/entities/userqueryvisualization.md).
6564

6665
### See also
6766

6867
[Charts](view-data-with-visualizations-charts.md)
69-
[Understanding Charts: Underlying Data and Chart Representation](understand-charts-underlying-data-chart-representation.md)
70-
[Create a Chart](create-visualization-chart.md)
71-
[Sample Charts](sample-charts.md)
72-
[Sample: Create, Retrieve, Update, and Delete (CRUD) a Chart](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/CRUDOperationsChart)
73-
[Sample: Retrieve all Charts Attached to an Entity](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/RetrieveChartsAttachedToEntity)
74-
[Sample: Assign a Chart to Another User](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/AssignChartToAnotherUser)
75-
[SavedQueryVisualization Entity](../data-platform/reference/entities/savedqueryvisualization.md)
76-
[UserQueryVisualization Entity](../data-platform/reference/entities/userqueryvisualization.md)
68+
[Understanding Charts: Underlying data and chart representation](understand-charts-underlying-data-chart-representation.md)
69+
[Create a chart](create-visualization-chart.md)
70+
[Sample charts](sample-charts.md)
71+
[Sample: Create, retrieve, update, and delete (CRUD) a chart](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/CRUDOperationsChart)
72+
[Sample: Retrieve all charts attached to a table](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/RetrieveChartsAttachedToEntity)
73+
[Sample: Assign a chart to another user](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/AssignChartToAnotherUser)
74+
[SavedQueryVisualization table](../data-platform/reference/entities/savedqueryvisualization.md)
75+
[UserQueryVisualization table](../data-platform/reference/entities/userqueryvisualization.md)
7776

7877

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

0 commit comments

Comments
 (0)