Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Microsoft Dynamics CRM 4.0 : Using Microsoft Dynamics CRM with Microsoft SharePoint

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
1/21/2013 11:23:01 AM

Different from the previous sections in which we used Microsoft SharePoint as the primary application to display CRM data, this section illustrates how to use Microsoft Dynamics CRM to display data from SharePoint (which can contain CRM data if properly integrated).

IFrame Integration Using Static and Dynamic Data from SharePoint

There are two possible options for IFrame integration:

  • Static IFrame integration

  • Dynamic IFrame integration

Static IFrame Integration

Static IFrame integration is useful when you have to show some static information with each entity (for example, if you want to display, as a tab within the form for accounts, account-naming best practices, or if you want to show the standard opportunity management best practices on the Opportunity screen). Figure 1 shows a sample IFrame integration.

Figure . Sample IFrame integration with Microsoft Dynamics CRM.

You can also use static SharePoint integration to embed SharePoint Search in Microsoft Dynamics CRM.

Another common use for static SharePoint integration is for viewing dashboards made in SharePoint. You can build a dashboard using Excel Services, BDC, and PerformancePoint in SharePoint and display that as an integrated view in Microsoft Dynamics CRM.

In the following example, we show you how to integrate a dashboard. Once the Dashboard is ready and built in SharePoint, get the appropriate link to the dashboard.

To view the new dashboard, you need to customize Microsoft Dynamics CRM to include the dashboard, as follows:

1.
Open the Microsoft Dynamics CRM application.

2.
Select Customizations from the left navigation pane.

3.
Select Export Customizations.

4.
Select Site Map.

5.
Select Export Select Customization, and save the file in an easy accessible location.

6.
Unzip the recently saved file and extract customization.xml.

7.
Open the customization.xml in Visual Studio 2008.

8.
Add the following line under the kbarticle entity:

<SubArea Id="Dashboard" Title="Dashboard"
Url="http://SharePointServer/CRMDashboard" Icon="/_imgs/
bar_bottom_ico_reports.gif " />

9.
Save and close the file.

10.
Open the Microsoft Dynamics CRM application.

11.
Select Customizations from the left navigation pane.

12.
Select Import Customizations.

13.
Select Browse, and locate the recently modified file.

14.
Select Upload.

15.
Select Import Selected Customizations.

Now when you refresh the CRM application, there will be a new link under Articles, as shown in Figure 2

Figure 2. Dashboard link in Microsoft Dynamics CRM.


Dynamic IFrame Integration

Dynamic IFrame integration is very similar to static IFrame integration with one major difference: The dynamic integration has a referential link between the two systems that enable users to view record-sensitive data.

For example, when a user opens an account screen, you can create some custom tabs to show additional information from a remote application in the same screen (shown in Figure 3). In the following example, we show you how to open a SharePoint screen that has some web parts that are being filtered by a URL parameter.

Figure 3. Account dashboard built using SharePoint available in Microsoft Dynamics CRM.

Before we begin this example, ensure that the SharePoint dashboard can accept URL parameters and can filter the data on the required web parts using the Connections feature in SharePoint. To set up this feature in Microsoft Dynamics CRM, follow these steps:

1.
Open the Microsoft Dynamics CRM application.

2.
Select Customizations from the left navigation pane.

3.
Select Customize Entities.

4.
Open the Accounts entity.

5.
Select Forms and Views.

6.
Open the form.

7.
Select Add a Tab from the Common Tasks located on the right side.

8.
Give it a name (for example, SharePoint Account Dashboard), and then click OK.

9.
Navigate to the new tab created.

10.
Select Add a Section, and give it a friendly name (for example, SharePointSection). Then click OK.

11.
Select the new IFrame created.

12.
Select Add an IFrame with the following properties:

Name: SharePointIFrame

URL: about:blank

13.
Select Form Properties from the Common Tasks list located on the right side.

14.
Select OnLoad.

15.
Click Edit.

16.
Enter the following code:

crmForm.all.tab4Tab.onclick = function()
{
if(crmForm.all.IFRAME_ SharePointIFrame.url.length < 15)
{
crmForm.all.IFRAME_iBASE.url =
"http://SharePointServer/CRMDashboard?AccountNumber=" +
crmForm.all.accountnumber.value;
}
}

17.
Click OK.

18.
Select Save and Close to save the form modifications. Select Save and Close to save the entity modifications.

19.
Select the Accounts entity, and then select Publish, to deploy the changes.

The preceding steps will pass the Account Number value to the SharePoint site as a URL variable. The URL variable can be used to filter the data on web parts created using BDC connections.

Note

The preceding steps will dynamically set the URL property of the IFrame. Using this technique will help optimize initial page load times, and will help preserve end-user experience.

Other -----------------
- Windows Server 2003 on HP ProLiant Servers : Defining the Windows 2003 Infrastructure
- Microsoft Content Management Server : Implementing Server-Side Validation
- Microsoft Content Management Server : Preventing Pages with Invalid Content from Being Saved
- Microsoft Systems Management Server 2003 : Permissions and Security Objects (part 2) - Assigning Permissions
- Microsoft Systems Management Server 2003 : Permissions and Security Objects (part 1)
- Microsoft Systems Management Server 2003 : Security - Accounts and Groups
- Windows Server 2003 on HP ProLiant Servers : Assessment of the Enterprise - Conducting the Assessment
- Windows Server 2003 on HP ProLiant Servers : Assessment of the Enterprise - The Assessment Team
- Windows Small Business Server 2011 : Disaster Planning - Preparing for a Disaster, Restoring from Backup
- Windows Small Business Server 2011 : Disaster Planning - Planning for Disaster
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server