Although it is possible to use an IFrame component on a Dynamics CRM dashboard to show an existing report, the team at Microsoft Dynamics Labs has released a free Dashboard Reports control for Microsoft Dynamics CRM 2011. Using this control instead of a standard IFrame creates a cleaner look to the final embedded report.
The Dashboard Reporting Control for Microsoft Dynamics CRM 2011 is freely available on the Microsoft Dynamics Marketplace website and works with both Dynamics CRM online and on-premise deployments. This recipe covers the steps to install and test the solution package.
Carry out the following steps in order to complete this recipe:
zip/cab
file that you downloaded earlier. The file will most likely be named ReportcontrolforDashboard10man.zip.cab
, as shown in the following screenshot:The free Dynamics CRM Dashboard Reporting control is part of a managed solution package. This solution will work for both Dynamics CRM online and on-premise deployments. The reporting control works with both User and System dashboards. The components included in the solution include the following:
Component Name |
Type |
Description |
---|---|---|
msdyn_ReportControl |
Web Resource |
This is an HTML web resource that uses some embedded JavaScript to read the |
My Won, Lost, and Open Opportunities |
Report |
The main report that takes the current UserId value as a parameter. |
Component Name |
Type |
Description |
My Won, Lost, and Open Opportunities for CustomerID |
Report |
Similar report, but targeted towards showing Opportunities base on the supplied CustomerID parameter. This would be good for form-level reporting. |
My Won, Lost, and Open Opportunities |
Dashboard |
A dashboard that contains one |
It is important to note that the Dynamics CRM Dashboard Reporting control has been designed to show reports that are currently hosted from Dynamics CRM. This means that only reports available in the Dynamics CRM reports listing can be shown using this control. The JavaScript functions that make up the msdyn_ReportControl
are developed to show reports using the server URL and the /crmreports/viewer/viewer.aspx
file that is part of the Dynamics CRM application.
In order to show non-CRM reports on the dashboard, the developer could simply use a standard IFrame dashboard component, or recreate the msdyn_ReportControl
to handle outside reports if needed.
18.225.117.56