Actions on dashboards

 

Applies To: Dynamics CRM 2015

You can perform actions such as create, retrieve, update, or delete, on organization-owned and user-owned dashboards.

Actions on an Organization-Owned Dashboard

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 Dynamics CRM:

  • Create, retrieve, update, and delete. You can create or update an organization-owned dashboard by using the Microsoft Dynamics CRM SDK or by customizing the entity form. For detailed information about creating a dashboard, see Create a dashboard.

  • 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.

    Important

    Using the methods described in the Microsoft Dynamics CRM SDK, 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.

After you update an organization-owned dashboard, you must publish the metadata changes to make it visible across the organization. You can use the PublishAllXmlRequest message or 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 a dashboard.

For a list of supported messages on the organization-owned dashboard entity, see SystemForm (system dashboard) entity messages and methods.

Actions on a User-Owned Dashboard

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

  • Create, retrieve, update, and delete. For detailed information about creating a user-owned dashboard, see Create a dashboard.

  • Change the ownership of a user-owned dashboard by assigning it to another user or team using the AssignRequest message.

  • Retrieve the access that the specified security principal (user or team) has to a user-owned dashboard using the 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 RetrieveSharedPrincipalsAndAccessRequest message.

  • Collaborate with other users and teams on specific areas by sharing a user-owned dashboard with them using the GrantAccessRequest, ModifyAccessRequest, and RevokeAccessRequest messages.

For a list of supported messages on the user-owned dashboard entity, see UserForm (user dashboard) entity messages and methods.

See Also

Analyze data with dashboards
Understand dashboards: Dashboard components and FormXML
Create a dashboard
Sample dashboards
Dashboard entities
Sample: Create, retrieve, update, and delete a dashboard
Sample: Assign a user-owned dashboard to another user

© 2016 Microsoft. All rights reserved. Copyright