SharePoint Blogs / SharePoint University
SharePoint Blogs and SharePoint University - all in one place!
Need SharePoint Training? Attend a SharePoint Bootcamp!

Please delete cookies related to sharepointblogs.com and sharepointu.com to resolve login issues!

MS CRM and SharePoint 2007 Integration
The Boiler Room - Mark Kruger (Moving to http:www.sharepointbloggers.com )

Syndication

News

  • My SharePoint Blog is moving: Mark Kruger's SharePoint Blog @ SharePointBloggers.com Interested in consulting work or becoming a consultant? Contact Me.

    - Quick Links -
    <script> google_ad_client = "pub-5278830398312697"; google_ad_width = 120; google_ad_height = 600; google_ad_format = "120x600_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = ["336699","DFF2FD","CCCCCC"]; google_color_bg = ["FFFFFF","DFF2FD","FFFFFF"]; google_color_link = ["0000FF","0000CC","000000"]; google_color_url = ["008000","008000","666666"]; google_color_text = ["000000","000000","333333"]; </script>
    <script> google_ad_client = "pub-5278830398312697"; google_ad_width = 120; google_ad_height = 90; google_ad_format = "120x90_0ads_al_s"; google_ad_channel =""; google_color_border = "336699"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_url = "008000"; google_color_text = "000000"; </script>
    <script> google_ad_client = "pub-5278830398312697"; google_ad_width = 110; google_ad_height = 32; google_ad_format = "110x32_as_rimg"; google_cpa_choice = "CAAQ0ZGazgEaCNfGe9Y_ARDqKPmNxXQ"; </script>
    - Blog Bits -
     My Professional Profile




    Subscribe in NewsGator Online
    Add to My MSN
    Add to Google

    Subscribe with Bloglines

    <script> var data, p; var agt=navigator.userAgent.toLowerCase(); p='http'; if((location.href.substr(0,6)=='https:')||(location.href.substr(0,6)=='HTTPS:')) {p='https';} data = '&r=' + escape(document.referrer) + '&n=' + escape(navigator.userAgent) + '&p=' + escape(navigator.userAgent) + '&g=' + escape(document.location.href); if(navigator.userAgent.substring(0,1)>'3') {data = data + '&sd=' + screen.colorDepth + '&sw=' + escape(screen.width+ 'x'+screen.height)};document.write(''); document.write(''); document.write(''); </script>
    <script> var AFS_Account="00721733"; var AFS_Tracker="0009"; var AFS_Server="www7"; var AFS_Page="SharePoint Blog"; var AFS_Url="http://www.sharepointblogs.com/mkruger"; </script> <script> </script>


    Tags:

    Translate Text or URLs
    <script> _uacct = "UA-67892-3"; urchinTracker(); </script> Who links to my website?

Rehman Gul, a SharePoint blogger and a friend, has written an article about the integration of CRM with SharePoint. Following is his article:

 ******** Article ***************

http://www.microsoft.com/presspass/press/2007/mar07/03-12Day1DynamicsOfficePR.mspx

Lets have a walkthrough of how can we connect with MS CRM using SharePoint’s Business Data Catalog (BDC) and Web Parts.

First of all we need an XML definition file to connect with CRM Database. Writing these files is difficult and error prone. You can easily find tools over the internet that will provide you with the ability to create Application Definitions for MOSS 2007. One such tool could be found here.

Here is the file I am going to use for the purpose of this exercise. This sample metadata XML defines various entities for MS CRM 3.0 database. If you have downloaded Dynamics Snap-ins, you can get one such file already present on your disk. If you intend to use the file that I am using, remember to change the Server and Database Names in it. They have been marked within the file…changes are required at the line 27 and 29.First of all we need to import this definition file to MOSS (Microsoft Office SharePoint Server) 2007.

Go to central Administration. It is usually created at the port 12779. The Url should look something like this:

 

 http://moss:12779/default.aspx  

untitledb.jpg

On the left Navigation Column click “SharedServices1” link. If its not there, you can create one clicking “Shared Services Administration” link on the left navigation column. “SharedServices1” site should look like this:

untitled1b.jpg

Under “Business Data Catalog” click “Import application definition”. Following screen appears:

untitled2b.jpg

Browse and select the definition file from your disk. Keep the default settings and click “Import”. This will initiate the upload process and take some time.

untitled3b.jpg 

After the file has been uploaded you can view the file clicking “View applications” under “Business Data Catalog”.

untitled4b.jpg

Now go to the site where you want to provide CRM connectivity. Click “ Site Actions” and “Edit Page”.

untitled5b1.jpg

Click “Add a Web Part”.

untitled6b1.jpg

From the list select “Business Data List” web part and click “Add”.

untitled7b.jpg

Click “open the tool pane” link in the “Business Data List” web part.

untitled8b.jpg

Click “Browse” icon right next to the “Type” text box displayed on the right top.

untitled9b.jpg

Select any “Business Data Type” and click “Ok”. 

untitled10b.jpg

Click “Ok” at the bottom of the options displayed in the right column. 

untitled12b.jpgHere is what you should see:untitled13b.jpg

Just add the value in the empty text box that you want to fetch from the CRM Database and click “Retrieve Data”. You are connected to MS CRM through your MOSS 2007.

Hope you enjoyed this post….I’ll continue on SharePoint’s integration with other Microsoft Products….hope to see you again….it’s bye for now……:)


Posted 05-10-2007 5:57 PM by ssa

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Need SharePoint Training? Attend a SharePoint Bootcamp!
Posts (c) their respective authors. Everything else (c) 2009 SharePoint Experts, Inc.