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/actions-dashboards.md
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Actions on dashboards (model-driven apps) | Microsoft Docs"# Intent and product brand in a unique string of 43-59 chars including spaces"
3
3
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."
You can perform actions such as create, retrieve, update, or delete, on organization-owned and user-owned dashboards.
25
23
26
-
## Actions on an Organization-Owned Dashboard
24
+
## Actions on an organization-owned dashboard
27
25
28
26
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:
29
27
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).
31
29
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.
33
31
34
32
> [!IMPORTANT]
35
33
> 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.
36
34
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).
38
36
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).
You can perform the following actions on a user-owned dashboard (`UserForm`):
44
44
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).
46
46
47
47
- 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.
48
48
49
49
- 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.
50
50
51
51
- 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.
52
52
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).
54
54
55
55
### See also
56
56
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)
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."
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.
25
23
26
24
## Actions on organization-owned visualizations
27
25
28
26
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:
29
27
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)
31
29
32
30
> [!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.
34
32
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).
36
34
37
35
> [!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.
39
37
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.
41
39
42
40
> [!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.
46
42
43
+
For a list of supported messages on the organization-owned visualization table, see [SavedQueryVisualization table](../data-platform/reference/entities/savedqueryvisualization.md).
You can perform the following actions on a user-owned visualization (`UserQueryVisualization`):
50
49
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)
52
51
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).
54
53
55
54
> [!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.
57
56
58
57
- Change the ownership of a user-owned visualization by assigning it to another user or team using <xref:Microsoft.Crm.Sdk.Messages.AssignRequest>.
59
58
60
59
- 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>.
61
60
62
61
- 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>.
63
62
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).
65
64
66
65
### See also
67
66
68
67
[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)
[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)
0 commit comments