Microsoft CRM Hosting
Display Important CRM Data in a Dashboard
You can use either Microsoft Office SharePoint Portal Server 2003 or
Microsoft Windows SharePoint Services to create a
dashboard to display essential Microsoft Dynamics
CRM data for your users. In this example, you will
learn how to use SharePoint Portal Server and
Microsoft Office FrontPage to create a dashboard to
display a chart of the top open opportunities and
their projected revenue.
The first section explains how to create a SharePoint Portal Server
page with an Office Web component (a PivotChart),
connect it to the Microsoft CRM database, and
configure the PivotChart. The second section
explains how to create a data view on the SharePoint
site by using FrontPage. The final section explains
how to replace the default Microsoft CRM home page
with your SharePoint Portal Server dashboard.
Note
This
article below outlines the steps to create a
dashboard by using SharePoint Portal Server. The steps to create a dashboard by using Windows
SharePoint Services are similar, but the names and labels are different than those in SharePoint Portal
Server.
Prerequisites
- A SharePoint Portal Server site
- Office Web components are installed on the SharePoint Portal Server page
- The name of the server that is running Microsoft CRM Server and
Microsoft SQL Server, and the name of the Microsoft CRM database from which the dashboard
will get its data
- Standard reports permissions (Live export to Excel) and Web content permissions in SharePoint Portal Server
Create a SharePoint Portal Server page with a PivotChart
In this section, you
will learn how to create a SharePoint Portal Server page
and add a dynamic PivotChart of Microsoft CRM
opportunities and their estimated revenue.
Create a SharePoint page
- Open your SharePoint Portal Server site.
- On the title bar of the SharePoint Portal Server site Home
page, click Site Settings.
- On the Site Settings page, under Portal Site Content,
click Manage top-level lists and document
libraries.
- On the Documents and List page, on the top link
bar, click Create.
- On the Create Page page, under Web Pages,
click Web Part Page.
- On the New Web Part Page, in the Name box, type
"Microsoft CRM Opportunity Dashboard."
- In the Choose a Layout Template list, select a
layout, for example, Header, Left column,
Body.
- In the Document Library list, select Document
Library.
- Click Create.
This may take a few moments.
- On your new page, in the Add Web Parts pane, under
Browse, click Virtual Server Gallery.
- Under Web Part List, drag Office PivotChart into the body area on the page.
- In the Office PivotChart Web part, click Connect to an external data source.
For more information, click Help.
- On the Select Data Source page, point to the server
that is running Microsoft CRM Server and SQL Server, select the Microsoft CRM database, and
then click Open.
Note
If you do not have a data source, you can create one now. If you do have a data source, skip this step.
Create a new data source
- On theSelect Data Source page, click
New Source.
- 2.In the Data Connection Wizard, select
Microsoft SQL Server, and then click Next.
- 3.In the Server name box, type the name of the server that is running Microsoft CRM
Server and SQL Server.
- 4.Leave the Use Windows Authentication option selected.
- 5.ClickNext.
- 6.In the Select the database that contains the data you want list, select the
Microsoft CRM database. This name usually ends with "MSCRM."
- 7.Clear the Connect to a specific table
check box, and then click Next.
- 8.You can type a description of the data source in the Description box.
- Click Finish.
- If you created a new data source, select it, and then click
Open.
Click OK on any confirmation pages.
- In the Select Table dialog box, select
FilteredOpportunity, and then click OK.
- The PivotChart appears in your web part on your SharePoint Portal Server page, and a floating Chart
Field List dialog box is displayed. If this
dialog box disappears, click Show Field List.
- In the Office PivotChart Web part header, click the
down arrow and then click Modify Shared Web part. Click OK on any confirmation
pages.
- In the Office PivotChart Web pane, in the Title
box, type “Open Opportunities,” and then click
OK.
Click OK on any confirmation pages.
Add the fields to display
- On the Open
Opportunity Web part title bar, click
Show Field List.
- On the Chart
Field list, drag Owneridname into the
Web part Drop Category Fields Here area
on the bottom of the chart.
- Drag
Estimatedvalue into the Drop Data fields
here area on the middle of the chart.
- On the Open
Opportunity Web part title bar, click
Save.
Note
For more information about using PivotCharts, see the
SharePoint Online Help.
Turn off extra UI
- On the Open
Opportunity Web part header, click the down
arrow and then click Modify Shared Web part.
Click OK on any confirmation pages.
- On the
Office PivotChart Web pane, under
PivotView, clear the Show toolstrip
check box, and then click OK.
- On the Open
Opportunities Web part, right-click the
chart, and click Commands and Options.
- On the
Commands and Options page, on the General
tab, select Chart Workspace.
- On the
Show/Hide tab, clear Field buttons / drop
zones.
- Close the
dialog box.
Note
Save the Microsoft CRM Opportunities Dashboard page in your browser favorites
or write down the URL. You will need the URL later.
Top of Page
Add a data view with FrontPage
In this section, you will open FrontPage to a data view of the Microsoft CRM
Opportunity Dashboard page that we just created. The
data view displays the details of the opportunities
- Open your SharePoint site in FrontPage or SharePoint Designer.
- In the Folder list, expand the document library
that you saved the Microsoft CRM Opportunity Dashboard into, and double-click the file name
to open the page.
- Make sure you are in Design view. If not, at the bottom
of the document window, click Design.
- On the Microsoft CRM Opportunities Dashboard.aspx page, select the left column.
- On the Standard toolbar, on the Insert menu, point to Database, and click Data View.
- In the Data Source Catalog pane, expand Database
Connections, and click Add to Catalog.
- On the Data Source Properties page, click Configure Database connection.
- On the Configure Database Connection page, enter the server name, select the Use Windows
authentication option, and then click
Next.
- Select the Microsoft CRM database. This name usually ends
with "MSCRM."
- Under Table, view or stored procedure, select
FilteredOpportunity, and then click Finish.
- On the Data Source Properties page, on the Source
tab, in the Query Area, click
Fields
- Select all of
the fields in the Displayed fields list,
and then click Remove.
- In the
Available fields list, select the following
fields, and then click Add.
- Accountidname
- Actualvalue
- Estimatedvalue
- Owneridname
- Click OK to close the Displayed Fields page.
- Click OK to close the Data Source Properties page.
- In the Data Source Catalog pane, drag the new database
connection into the left column Web part area.
The data is displayed in the Web part.
- Save the page and close FrontPage.
To preview the page, open the page in Internet Explorer.
Replace the MicrosoftCRM home page with the SharePoint Portal Server dashboard
The site map is an XML file that defines the navigation and structure of your Microsoft CRM Web site. These procedures explain how to
replace the default site map in Microsoft CRM with a customized site map that features your new SharePoint
Portal Server dashboard, including the PivotChart.
Caution
When you import an updated site map, the prior
customizations to the site map may be overwritten. For more information about editing the sitemap.xml file, see
the topic “Navigation Configuration: SiteMap” in the
Microsoft CRM 3.0 Software Development Kit.
Replace the Microsoft CRM home page with your Microsoft CRM Opportunities Dashboard
- In Microsoft
CRM, on the Navigation Pane, click
Settings, and then click Customization.
- In the
Customizations area, click Export
Customizations.
- In the
Export Customizations list, select Site
Map.
- On the More
Actions menu, select Export Selected
Customizations, and then click OK.
- In the File
Download dialog box, click Save,
select a location for the Customizations.xml file, for example your desktop, and then click
Save again.
Note
Save a backup of the file, so that you can revert to the original site map, if you have to.
- Navigate to the Customizations.xml file location and open the file in a text editor, such as Notepad.
- Go to the SharePoint site in Internet Explorer and copy the URL of the Microsoft CRM Opportunities Dashboard page.
- To replace the home page in Microsoft CRM 3.0 client for
Microsoft Office Outlook, in the Customizations.xml file, replace the second occurrence of
<SiteMap> with
<SiteMap Url=”http://url to dashboard”>
Replace “url to dashboard” with the URL of the Microsoft CRM Opportunities Dashboard page. Make
sure to use the correct case, because this string is case sensitive.
- To display the dashboard as the default page when the Web
client is opened, above this line:<SubArea Id="nav_activities" Entity="activitypointer"
url="/Workplace/home_activities.aspx" />
Add the line:
<SubArea Id="nav_home"
ResourceId="Homepage_Home"
Icon="/_imgs/area/18_home.gif" Url="url to
dashboard" Client="Web"/>
Replace “url to dashboard” with the URL of the
Microsoft CRM Opportunities Dashboard page. Make
sure to use the correct case, because this
string is case sensitive.
- Save the Customizations.xml file on your desktop.
- In Microsoft CRM, in the Navigation Pane, click
Settings, and then click Customization.
- In the Customization area, click Import
Customizations.
- In the Import Customizations area, browse to the
updated site map file, and then click Upload.
To test the new home page, open Microsoft CRM 3.0. Under My Workplace,
a new area called My Home Page is displayed.
Note
If you have modified the site map and can no longer open the import customization list, you can access the URL in
Microsoft Internet Explorer:
Top of Page