Tuesday, September 6, 2011

How to change the maximum no. of controls on CRM2011 Dashboards

The maximum number of controls allowed on CRM2011 dashboards are 6. You cannot put the more than 6 graphs/charts/iframes/webresources etc. on the dashboard.
This setting is applied to the server not a organisation setting. So you cannot change this setting for CRM Online but you can change this for an on-premise installation.
There are two ways to do it.
  1. Using Deployment Web Service (http://myservername/xrmdeployment/2011/deployment.svc)
  2. Using Window Power Shell
Windows Power Shell Option is the easiest one.
  • Open the Windows Power Shell
  • Add the Microsoft Dynamics CRM PowerShell snap-in using
Add-PSSnapin Microsoft.Crm.PowerShell
you may get the message saying something like “Add-PSSnapin : Cannot add Windows PowerShell snap-in Microsoft.Crm.PowerShell because it is already added.” It is okay.
  • Run the following 3 command
$setting = Get-CrmSetting -SettingType DashboardSettings
$setting.MaximumControlsLimit = 7 (// you can change this number)
Set-CrmSetting -Setting $setting
Here is my screen shot with 7 charts.
    Charts

11 comments:

  1. Hello - Thanks for this post. I was able to sucessfully run this on my dev crm install which is non-ifd but I cannot run it on my production server that is IFD/Claims based authentication. I cannot run any of the crm powershell commands and receive this message in the trace file: The Security Support Provider Interface (SSPI) negotiation failed. Any ideas on what is causing this? I have tried different admin users and all other suggestions. Thank-you.

    ReplyDelete
  2. The account you using for powershell does not have permission to use crm2011 webservices.

    ReplyDelete
  3. Hello, We also need to increase the number of controls for a dashboard and your solution sounds like a good one. However, we do not know, if the way, you supposed is a supported or unsupported one???
    thanks for answer

    ReplyDelete
    Replies
    1. It is supported. The powershell command is provided by microsoft.

      Delete
  4. many thanks for your rapid answer!

    ReplyDelete
  5. Microsoft Dynamics CRM training will help you manage and prioritize your business goals, customize.we teach MS Dynamics CRM training and class available at Hyderabad.

    ReplyDelete
  6. Hi I am getting command not found error

    ReplyDelete
  7. Hi. How this can be accomplished in CRM Online? Thanks.

    ReplyDelete
  8. Is there any way to limit this to only system views so that the users do not create huge processor intensive dashboards?

    ReplyDelete