Categories: ProgrammingTutorials

Working with Dashboards in Dynamics CRM

4 min read

(For more resources on Microsoft Dynamics CRM, see here.)

Editing a user dashboard

After creating a user dashboard or getting access to another user dashboard, you may still need to adjust the layout and settings of the dashboard.

Getting ready

Navigate to the Dashboards section in the Dynamics CRM 2011 Workplace area.

How to do it…

Carry out the following steps in order to complete this recipe:

  1. Select the Dashboards link from the Workplace area.
  2. Select one of your user dashboards, as shown in the following screenshot:
  3. From the Dashboards menu in the Dynamics CRM 2011 ribbon, click on the Edit button, as highlighted in the following screenshot:
  4. The dashboard editor screen will open, and the dashboard is now in Edit mode, as shown in the following screenshot:
  5. In order to edit the components on the dashboard, select a component by clicking on it with the mouse, and then click on the Edit Component ribbon button, as shown in the following screenshot:

There’s more…

Dynamics CRM has a robust security system that combines roles-based security and user permissions. These security settings allow the administrator to control access to data and functionality in the Dynamics CRM system.

Security roles for editing user dashboards

In order for a Dynamics CRM user to edit user dashboards, they must have a security role that grants the Write privilege for the User Dashboard entity . If a user’s security role does not have this privilege, then they will not see the Edit button on the dashboard ribbon:

Editing a system dashboard

The system dashboards are intended to be viewed by all users of Dynamics CRM. These dashboards are created and managed by users with the System Customizer or System Administrator security roles (by default these roles have the Write privilege for the System Forms entity). Edits made to these dashboards are seen by all users.

Getting ready

Editing a System dashboard requires you to first navigate to the Customization section in the Dynamics CRM 2011 Settings area.

How to do it…

Carry out the following steps in order to complete this recipe:

  1. From the Customization section, click on the Customize the System link, as shown in the following screenshot:
  2. This will launch the solution editor dialog showing the Default Solution for Dynamics CRM 2011. Click on the Dashboards link located in the left-hand side navigation section, as shown in the following screenshot:
  3. A listing of system dashboards will be shown. Double-click on the Microsoft Dynamics CRM Overview dashboard record. This will launch the dashboard editor screen.
  4. In order to edit the components on the dashboard, select a component by clicking on it with the mouse, and then click on the Edit Component ribbon button, as shown in the following screenshot:

There’s more…

Dynamics CRM has a robust security system that combines roles-based security and user permissions. These security settings allow the administrator to control access to data and functionality in the Dynamics CRM system.

Security roles for editing system dashboards

In order for a Dynamics CRM user to edit system dashboards, they must have a security role which grants the Write privilege for the System Form entity. If a user’s security role does not have this privilege, then they will not be able to edit the dashboard when customizing the system. By default, the System Forms are only editable by users with the System Customizer or System Administrator security roles as they both have full privileges to the System Form entity.

Deleting a user dashboard

Creating new dashboards in Dynamics CRM is an excellent feature; however the on-going management of dashboards may require you to remove or delete some dashboards that are no longer needed. Deleting dashboards in Dynamics CRM cannot be undone; users should understand that deleting a dashboard is permanent.

Getting ready

Navigate to the Dashboards section in the Dynamics CRM 2011 Workplace area.

How to do it…

Carry out the following steps in order to complete this recipe:

  1. Select the Dashboards link from the Workplace area, as shown in the following screenshot:
  2. The user dashboards will be in the My Dashboards section of this list.
  3. Once you have selected a user dashboard, the Delete button in the Dashboards bar will be enabled. Click on the Delete button, as shown in the following screenshot:
  4. You will be prompted with a Confirm Deletion dialog . As the message in this dialog states, deleting a dashboard cannot be undone. If you want to continue and delete this dashboard from your system, click on the OK button. When the operation is finished, the screen will refresh and that dashboard will no longer be available.

How it works…

The layouts and settings used to generate user dashboards are stored as records in the Dynamics CRM database. Deleting the dashboard will remove this record from the CRM database and cannot be reversed. Deleting the dashboard will only remove the dashboard layout and settings, not the associated data.

Packt

Share
Published by
Packt

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago