<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Anand Nigam [MSFT]</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/anand_nigam/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/anand_nigam/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:28:58 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Republished - CRM 2011 and SharePoint 2010 Integration - Part 3</title>
      <link>https://docs.microsoft.com/archive/blogs/anand_nigam/republished-crm-2011-and-sharepoint-2010-integration-part-3</link>
      <pubDate>Fri, 25 Jan 2013 13:47:23 GMT</pubDate>
      <dc:creator><![CDATA[Anand.Nigam [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anand_nigam/2013/01/25/republished-crm-2011-and-sharepoint-2010-integration-part-3/</guid>
      <description><![CDATA[&nbsp; Hi Sharepoint Folks, Just to have all the things at one location. This is a Re-Published post...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p> <p>Hi Sharepoint Folks,</p> <p>Just to have all the things at one location. This is a Re-Published post from the original post from my friend Shaiq’s Post. </p> <p>Original Post here - <a title="https://blogs.msdn.com/b/shariq/archive/2013/01/25/integrating-sharepoint-2010-and-crm-2011.aspx" href="https://blogs.msdn.com/b/shariq/archive/2013/01/25/integrating-sharepoint-2010-and-crm-2011.aspx">https://blogs.msdn.com/b/shariq/archive/2013/01/25/integrating-sharepoint-2010-and-crm-2011.aspx</a></p> <p>-------------------------------------------------------------------------------------------------------------------------------------------------</p> <p>Hello SharePointers !! <p>I have been working with SharePoint for many years, but this is the first time I decided to blog about something.  <p>The driving force behind choosing this particular topic is the two-fold: Firstly, there is not enough information available and secondly, due to the constant reminders by colleague <a href="https://blogs.technet.com/181357/ProfileUrlRedirect.ashx">Andy</a> to help the larger community out there.  <p><a href="https://blogs.technet.com/181357/ProfileUrlRedirect.ashx">Andy</a>, himself has published <a href="https://blogs.technet.com/b/anand_nigam/archive/2011/12/04/crm-2011-and-sharepoint-2010-integration-part-1.aspx">multi-part blog series</a> on this topic and in essence this post forms the part 3 of his series. <p>Over here we will see how we can fetch and display complete set of entity information from CRM 2011 in a SharePoint Web part. That is in the SharePoint Web Part I will have a drop down list with the collection of all CRM ‘<strong>Entity</strong>’ and another drop down that will contain the associated ‘<strong>Views</strong>’ and finally the Entity Result set. But before we do that it’s important to understand why this is not straight forward! <p><strong>Thought Process:</strong> <p>1) CRM 2011 provides SDK and I can always develop custom solutions. If I choose to refer to “<a href="https://msdn.microsoft.com/en-us/library/gg695790.aspx">Walkthrough: Build a Web Application That Connects to Microsoft Dynamics CRM 2011 Using Developer Extensions</a>” I can easily display CRM 2011 entity information in a Web Application. <p>2) That means I can easily transform those custom solutions (like a Web Application) into a SharePoint 2010 web part, and bingo! We are all set! <p><strong>Catch:</strong> <p>1) CRM 2011 is based on .Net framework 4.0 and SP 2010 is on .Net 3.5. So if you try to implement the step 2 you can’t even build your SharePoint Web Part forget about deploying it.  <p><strong>Resolution [Important Steps]:</strong> <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/2844.image_thumb25_2F24F12A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/2844.image_5F00_thumb25_5F00_2F24F12A.png"><img title="image_thumb25" border="0" alt="image_thumb25" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/7624.image_thumb25_thumb_26C11BD3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/7624.image_5F00_thumb25_5F00_thumb_5F00_26C11BD3.png" width="508" height="153"></a> <p>1) Publish an intermediary WCF service with relevant methods to expose information from CRM 2011. <p>2) Create a SharePoint Web Part and make appropriate calls to the WCF service and then transform the result set as per your needs for the end user. <h6><strong></strong></h6> <h6><strong>The Steps in detail:</strong></h6> <p><strong>1) We need to create and publish a WCF service to call in CRM 2011. This service can have multiple facets based on your needs; may be you intend to perform add/edit/delete apart from just “display” so create the WCF methods judiciously. For now I will stick to the display part.</strong> <p><strong>IMP</strong>: The code blocks below doesn’t confirm to the coding best practices but does work, and I am sure you guys can transform it accordingly. I have ripped the pieces from from all over the web  <p>a) Generate Early Bound Types: <p>Run the CrmSvcUtil.exe tool, with the <strong>Microsoft.Xrm.Client.CodeGeneration</strong> extension, to generate your entity classes and service contexts.  <p>The following example command creates a file called “Xrm.cs” that points at an instance of Microsoft Dynamics CRM. Note that the Microsoft.Xrm.Client.CodeGeneration.dll file must be in the same directory as the CrmSvcUtil.exe file, or in the system GAC, when you run this command.  <p>crmsvcutil.exe /codeCustomization:"Microsoft.Xrm.Client.CodeGeneration.CodeCustomization, Microsoft.Xrm.Client.CodeGeneration" <br>/out:Xrm\Xrm.cs /url:<a href="https://dpm2012/fabrikam/XRMServices/2011/Organization.svc">https://dpm2012/fabrikam/XRMServices/2011/Organization.svc</a> /domain:CONTOSO /username:spfarm <br>/password:Welcome@123 /namespace:Xrm /serviceContextName:XrmServiceContext<pre></pre>
<p>b) Use Visual Studio 2010 to create a WCF Service Application (ensure .NET Framework 4).
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/1447.Img1_thumb3_1E5D467C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/1447.Img1_5F00_thumb3_5F00_1E5D467C.png"><img title="Img1_thumb3" border="0" alt="Img1_thumb3" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/6138.Img1_thumb3_thumb_0344776E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/6138.Img1_5F00_thumb3_5F00_thumb_5F00_0344776E.png" width="648" height="446"></a><pre></pre>
<p>c) Right-click the project in Visual Studio, click <strong>Add</strong>, and then click <strong>Existing Item</strong>. Select the “xrm.cs” file that you created when you generated the early bound types.
<p>d) Right-click the project in Visual Studio, click <strong>Add, a</strong>dd a new class to the project. The Add New Item dialog box appears. Rename the class as Entities.cs. Similarly add one more class and name it as Views.cs
<p>e) Add couple of properties in <strong>both</strong> these classes (please name it appropriately)<pre>public string MyProperty { get; set; }</pre><pre>public string MyProperty1 { get; set; }</pre><pre> </pre>
<p>f) Add the references as shown below (for the CRM dll the Source will be <code>SDK\bin, don’t search for C:\Shariq <img alt="Smile" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/6644.wlEmoticon-smile_1618FB18.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/6644.wlEmoticon_2D00_smile_5F00_1618FB18.png">)</code><pre> </pre><pre><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/0743.image_thumb7_67BF756A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/0743.image_5F00_thumb7_5F00_67BF756A.png"><img title="image_thumb7" border="0" alt="image_thumb7" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/2313.image_thumb7_thumb_777F0A6E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/2313.image_5F00_thumb7_5F00_thumb_5F00_777F0A6E.png" width="820" height="497"></a></pre>
<p>g) Now your Solution should look more like below (few more references might have been inadvertently added)<pre> </pre><pre><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/5226.image_thumb3_352BF22B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/5226.image_5F00_thumb3_5F00_352BF22B.png"><img title="image_thumb3" border="0" alt="image_thumb3" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/3073.image_thumb3_thumb_1A13231D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/3073.image_5F00_thumb3_5F00_thumb_5F00_1A13231D.png" width="247" height="533"></a></pre><pre> </pre><pre>h) Right-click the project in Visual Studio and add the Service Reference for the Organization.svc</pre><pre> </pre><pre> </pre><pre>i) Open the interface IService1.cs and replace the ServiceContract with the code below:</pre><pre> </pre><pre>[ServiceContract]</pre><pre>    public interface IService1</pre><pre>    {</pre><pre> </pre><pre>        [OperationContract]</pre><pre>        string GetMessage();</pre><pre> </pre><pre>        [OperationContract]</pre><pre>        List&lt;Entities&gt; GetEntityData();</pre><pre> </pre><pre> </pre><pre>        [OperationContract]</pre><pre>        List&lt;Views&gt; GetViewData(int SelectedEntity);</pre><pre> </pre><pre>        [OperationContract]</pre><pre>        DataSet GetCompleteData(string _SavedQueryId);</pre><pre> </pre><pre>    }</pre>
<p>j) Now we need to implement the Service1.svc, copy the below code (make appropriate changes for your OrganizationUri i.e. Organization.svc )<pre>    public class Service1 : IService1
    {
        public List&lt;Entities&gt; GetEntityData()
        {
        ClientCredentials Credentials = new ClientCredentials();

        Credentials.Windows.ClientCredential = CredentialCache.DefaultNetworkCredentials;

        //This URL needs to be updated to match the servername and Organization for the environment. 

        Uri OrganizationUri = new Uri("https://DPM2012/TailspinToysDB/XRMServices/2011/Organization.svc");
        List&lt;Entities&gt; EntityList = new List&lt;Entities&gt;();
        Uri HomeRealmUri = null;
        using (OrganizationServiceProxy serviceProxy = new OrganizationServiceProxy(OrganizationUri, HomeRealmUri, </pre><pre>        Credentials, null))
        {

            Microsoft.Xrm.Sdk.IOrganizationService service = serviceProxy as Microsoft.Xrm.Sdk.IOrganizationService;

            RetrieveAllEntitiesRequest request = new RetrieveAllEntitiesRequest()
            {
                EntityFilters = EntityFilters.Attributes,
                RetrieveAsIfPublished = true
            };

            // Retrieve the MetaData.
            RetrieveAllEntitiesResponse response = (RetrieveAllEntitiesResponse)serviceProxy.Execute(request);

            foreach (EntityMetadata currentEntity in response.EntityMetadata)
            {
                if (currentEntity.IsCustomizable.Value == true)
                {
                    foreach (AttributeMetadata currentAttribute in currentEntity.Attributes)
                    {

                        Entities e = new Entities();
                        e.MyProperty = currentEntity.LogicalName;
                        e.MyProperty1 = currentEntity.ObjectTypeCode.Value.ToString();

                        if (EntityList.Where(en =&gt; en.MyProperty.Equals(e.MyProperty) &amp;&amp; </pre><pre>                        en.MyProperty1.Equals(e.MyProperty1)).Count() == 0)
                        {
                            EntityList.Add(e);
                        }
                    }
                }
            }

        }
        return EntityList;
        }

        public List&lt;Views&gt; GetViewData(int paramSelectedEntity)
        {
        ClientCredentials Credentials = new ClientCredentials();

        Credentials.Windows.ClientCredential = CredentialCache.DefaultNetworkCredentials;

        //This URL needs to be updated to match the servername and Organization for the environment. 

        Uri OrganizationUri = new Uri("https://dpm2012/TailspinToysDB/XRMServices/2011/Organization.svc");

        Uri HomeRealmUri = null;
        List&lt;Views&gt; ViewsList = new List&lt;Views&gt;();

        using (OrganizationServiceProxy serviceProxy = new OrganizationServiceProxy(OrganizationUri, HomeRealmUri, </pre><pre>        Credentials, null))
        {
            serviceProxy.EnableProxyTypes();

            Microsoft.Xrm.Sdk.IOrganizationService service = (Microsoft.Xrm.Sdk.IOrganizationService)serviceProxy;

            // Retrieve Views
            QueryExpression mySavedQuery = new QueryExpression
            {
                ColumnSet = new ColumnSet("savedqueryid", "name", "querytype", "isdefault", "returnedtypecode", </pre><pre>                "isquickfindquery"),
                EntityName = SavedQuery.EntityLogicalName,
                Criteria = new FilterExpression
                {
                    Conditions =
        {
                
            new ConditionExpression
            {
                AttributeName = "returnedtypecode",
                Operator = ConditionOperator.Equal,
                Values = {paramSelectedEntity}
            }
        }
                }
            };
            RetrieveMultipleRequest retrieveSavedQueriesRequest = new RetrieveMultipleRequest { Query = mySavedQuery };

            RetrieveMultipleResponse retrieveSavedQueriesResponse = </pre><pre>            (RetrieveMultipleResponse)serviceProxy.Execute(retrieveSavedQueriesRequest);

            DataCollection&lt;Entity&gt; savedQueries = retrieveSavedQueriesResponse.EntityCollection.Entities;
                
            foreach (Entity ent in savedQueries)
            {
                SavedQuery rsq = (SavedQuery)ent;
                if (rsq.IsDefault == true)
                {
                    Views e = new Views();
                    e.MyProperty = rsq.Name.ToString();
                    e.MyProperty1 = rsq.Id.ToString();
                    ViewsList.Add(e);
                }
            }
        }

        return ViewsList;           

        }

        public DataTable convertEntityCollectionToDataTable(EntityCollection BEC)
        {
            DataTable dt = new DataTable();
            int total = BEC.Entities.Count;
            for (int i = 0; i &lt; total; i++)
            {
                DataRow row = dt.NewRow();
                Entity myEntity = (Entity)BEC.Entities[i];
                var keys = myEntity.Attributes.Keys;
                foreach (var item in keys)
                {
                    string columnName = item;
                    string value = getValuefromAttribute(myEntity.Attributes[item]);
                    if (dt.Columns.IndexOf(columnName) == -1)
                    {
                        dt.Columns.Add(item, Type.GetType("System.String"));
                    }
                    row[columnName] = value;
                }
                dt.Rows.Add(row);
            }
            return dt;
        }

        private string getValuefromAttribute(object p)
        {
            if (p.ToString() == "Microsoft.Xrm.Sdk.EntityReference")
            {
                return ((EntityReference)p).Name;
            }
            if (p.ToString() == "Microsoft.Xrm.Sdk.OptionSetValue")
            {
                return ((OptionSetValue)p).Value.ToString();
            }
            if (p.ToString() == "Microsoft.Xrm.Sdk.Money")
            {
                return ((Money)p).Value.ToString();
            }
            if (p.ToString() == "Microsoft.Xrm.Sdk.AliasedValue")
            {
                return ((Microsoft.Xrm.Sdk.AliasedValue)p).Value.ToString();
            }
            else
            {
                return p.ToString();
            }
        }

        public DataSet GetCompleteData(string _strSavedQueryId)
        {
        DataSet ds = new DataSet();

        Guid _SavedQueryId = new Guid(_strSavedQueryId);

        ClientCredentials Credentials = new ClientCredentials();

        Credentials.Windows.ClientCredential = CredentialCache.DefaultNetworkCredentials;

        //This URL needs to be updated to match the servername and Organization for the environment. 

        Uri OrganizationUri = new Uri("https://dpm2012/TailspinToysDB/XRMServices/2011/Organization.svc");

        Uri HomeRealmUri = null;


        using (OrganizationServiceProxy serviceProxy = new OrganizationServiceProxy(OrganizationUri, HomeRealmUri, </pre><pre>        Credentials, null))
        {
            serviceProxy.EnableProxyTypes();

            Microsoft.Xrm.Sdk.IOrganizationService service = (Microsoft.Xrm.Sdk.IOrganizationService)serviceProxy;

            ColumnSet cSet = new ColumnSet("savedqueryid", "fetchxml");

            SavedQuery rsq = (SavedQuery)service.Retrieve(SavedQuery.EntityLogicalName, _SavedQueryId, cSet);

            RetrieveMultipleRequest req = new RetrieveMultipleRequest();
            FetchExpression fetch = new FetchExpression(rsq.FetchXml);
            req.Query = fetch;
            RetrieveMultipleResponse resp = (RetrieveMultipleResponse)service.Execute(req);
            DataTable ObjDT = convertEntityCollectionToDataTable(resp.EntityCollection);
            ds.Tables.Add(ObjDT);

        }
        return ds;
        }
    }</pre>
<p>k) Now the CRM WCF Service is ready and we can publish it at IIS. The steps to publish any WCF service can be found easily over web. Starters can refer to <a href="https://debugmode.net/2010/09/07/walkthrough-on-creating-wcf-4-0-service-and-hosting-in-iis-7-5/">https://debugmode.net/2010/09/07/walkthrough-on-creating-wcf-4-0-service-and-hosting-in-iis-7-5/</a>. Skip the Service creation steps from this blog just refer to Publishing steps and also ensure to test it locally using a local Client.
<p>If you have reached here successfully, the battle is almost won <img alt="Smile" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/6644.wlEmoticon-smile_1618FB18.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/6644.wlEmoticon_2D00_smile_5F00_1618FB18.png">
<p><strong>2) Now we just need to create a simple SharePoint 2010 Visual Web Part to consume this service as per need.</strong>
<p>a) Use Visual Studio 2010 to create a new Visual Web Part project.
<p>b) Right Click the project and Add the Service Reference for our CRM Service published in Step 1.
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/1488.image_thumb13_77DB1796.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/1488.image_5F00_thumb13_5F00_77DB1796.png"><img title="image_thumb13" border="0" alt="image_thumb13" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/6114.image_thumb13_thumb_6F0B0F4A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/6114.image_5F00_thumb13_5F00_thumb_5F00_6F0B0F4A.png" width="427" height="349"></a>
<p>c) Add the following code to VisualWebPart1UserControl.ascx :<pre>&lt;asp:DropDownList ID="ddlEntityList" runat="server" AutoPostBack="True" 
OnSelectedIndexChanged="ddlEntityList_SelectedIndexChanged"&gt;&lt;/asp:DropDownList&gt;
&lt;asp:DropDownList ID="ddlViewsList" runat="server" AutoPostBack="True" 
OnSelectedIndexChanged="ddlViewsList_SelectedIndexChanged"&gt;&lt;/asp:DropDownList&gt;
&lt;asp:GridView ID="gdEntity" ViewStateMode="Disabled" runat="server" /&gt;</pre>
<p>d) Add the following code to VisualWebPart1UserControl.ascx.cs:<pre>       protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Service1Client proxy = new Service1Client();

                ddlEntityList.DataSource = proxy.GetEntityData();
                ddlEntityList.DataTextField = "MyProperty";
                ddlEntityList.DataValueField = "MyProperty1";
                ddlEntityList.DataBind();
            }
        }

        protected void ddlEntityList_SelectedIndexChanged(object sender, EventArgs e)
        {
            ddlViewsList.Items.Clear();
            int index = Convert.ToInt32(ddlEntityList.SelectedValue);
            Service1Client proxy = new Service1Client();

            ddlViewsList.DataSource = proxy.GetViewData(index);
            ddlViewsList.DataTextField = "MyProperty";
            ddlViewsList.DataValueField = "MyProperty1";
            ddlViewsList.DataBind();


        }

        protected void ddlViewsList_SelectedIndexChanged(object sender, EventArgs e)
        {            
            string str = ddlViewsList.SelectedValue;
            Service1Client proxy = new Service1Client();
            gdEntity.DataSource = proxy.GetCompleteData(str);
            gdEntity.DataBind();
        }</pre>
<p>e) Right click the Project and deploy to the SharePoint Site.
<p>f) Go to the SharePoint 2010 Site and add the Visual Web Part to a page where you want to display the Web Part. And ‘Bingo’. You should see the something like this:
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/7356.image_thumb29_142859B7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/7356.image_5F00_thumb29_5F00_142859B7.png"><img title="image_thumb29" border="0" alt="image_thumb29" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/6675.image_thumb29_thumb_120B5AEE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/6675.image_5F00_thumb29_5F00_thumb_5F00_120B5AEE.png" width="822" height="229"></a>
<p>This SharePoint Web Part code above is pretty basic in nature for now, but I am sure you can improve upon this sample code – you know, things like:
<ul>
<li>When not to show the ‘View’ Drop Down when the Entity is refreshed. 
<li>Or when there is no result set we must show appropriate result rather than the Yellow screen of death. 
<li>Or you want to filter the Grid by removing certain columns from the dataset or renaming the column Header etc.</li></ul>
<p>I leave all it all up to you, as the sample is attached. Use it/Break it and Enjoy !!!
<h6></h6>
<h6>Food for thought</h6>
<p>1) In principle this should work for MOSS 2007, for those who are still on it <img alt="Smile" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/92/metablogapi/6644.wlEmoticon-smile_1618FB18.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-92-metablogapi/6644.wlEmoticon_2D00_smile_5F00_1618FB18.png">
<p>2) In SharePoint 2013, we can merge the WCF code implementation within the SharePoint web part itself.
<p>You can <strong>download the complete sample</strong> from <a href="https://sdrv.ms/11XgPOE">here</a>.
<h6>Code References</h6>
<p><a href="https://mscrmbi.blogspot.com/2012/02/crm-2011-convert-entitycollection-to.html">https://mscrmbi.blogspot.com/2012/02/crm-2011-convert-entitycollection-to.html</a>
<p><a href="https://msdn.microsoft.com/en-us/library/gg695790.aspx">https://msdn.microsoft.com/en-us/library/gg695790.aspx</a>
<p>Hope this helps a needy soul! If it does, please leave your comment/feedback. 
<p>Cheers!
<p>-------------------------------------------------------------------------------------------------------------------------------------------------</p>]]></content:encoded>
    </item>
    <item>
      <title>CRM 2011 and SharePoint 2010 Integration - Part 3</title>
      <link>https://docs.microsoft.com/archive/blogs/anand_nigam/crm-2011-and-sharepoint-2010-integration-part-3</link>
      <pubDate>Fri, 25 Jan 2013 13:23:35 GMT</pubDate>
      <dc:creator><![CDATA[Anand.Nigam [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anand_nigam/2013/01/25/crm-2011-and-sharepoint-2010-integration-part-3/</guid>
      <description><![CDATA[&#160;  Hi Sharepoint Folks,  Technorati Tags: sharepoint crm integration,crm accounts in...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>Hi Sharepoint Folks,</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:d82fdc24-86aa-418e-8beb-cc0e8b2f973e" class="wlWriterEditableSmartContent">Technorati Tags: <a href="https://technorati.com/tags/sharepoint+crm+integration" rel="tag">sharepoint crm integration</a>,<a href="https://technorati.com/tags/crm+accounts+in+sharepoint" rel="tag">crm accounts in sharepoint</a>,<a href="https://technorati.com/tags/sharepoint+crm" rel="tag">sharepoint crm</a>,<a href="https://technorati.com/tags/crm+entities+sharepoint" rel="tag">crm entities sharepoint</a></div>  <p>So Finally after so much delay I and my SharePoint Developer friend <a href="https://social.msdn.microsoft.com/profile/shariq-msft/">Shariq</a> has been able to get this post done. I wont take much time, here is the Part 3 of this post series. </p>  <p>As tradition here is the index :- </p>  <p><strike>Part 1: Introduction and CRM 2011 - Document management Integration with SharePoint 2010</strike></p>  <p><strike>Part 2: Reporting CRM data in SharePoint using Excel services</strike></p>  <p>Part 3: Publishing CRM entities in SharePoint (<em>This post</em>). <a href="https://blogs.technet.com/b/anand_nigam/archive/2013/01/26/republished-crm-2011-and-sharepoint-2010-integration-part-3.aspx">Republished Version here</a></p>  <p><a title="https://blogs.msdn.com/b/shariq/archive/2013/01/25/integrating-sharepoint-2010-and-crm-2011.aspx" href="https://blogs.msdn.com/b/shariq/archive/2013/01/25/integrating-sharepoint-2010-and-crm-2011.aspx">https://blogs.msdn.com/b/shariq/archive/2013/01/25/integrating-sharepoint-2010-and-crm-2011.aspx</a></p>  <p><strike>Part 4: Search CRM entities from SharePoint Enterprise Search.</strike></p>  <p>And I am sorry for the delay too.</p>  <p>Thanks for reading ! God Bless you !</p>  <p>Andy</p>]]></content:encoded>
    </item>
    <item>
      <title>Thats what I think is Diwali</title>
      <link>https://docs.microsoft.com/archive/blogs/anand_nigam/thats-what-i-think-is-diwali</link>
      <pubDate>Wed, 14 Nov 2012 01:11:00 GMT</pubDate>
      <dc:creator><![CDATA[Anand.Nigam [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anand_nigam/2012/11/14/thats-what-i-think-is-diwali/</guid>
      <description><![CDATA[Namaste (Hi) Folks,
With this post I want to wish you all Happy Diwali !&nbsp;I ask god for world...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Namaste (Hi) Folks,</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">With this post I want to wish you all <span style="color: #3366ff;"><span style="color: #ff9900; font-size: large;">Happy Diwali !&nbsp;I ask god for world peace and happiness everywhere</span><span style="color: #000000;"><span style="color: #ff9900;">.</span>&nbsp;Diwali always excites me as&nbsp;I am with my family and friends to celebrate it,&nbsp;friends make&nbsp;diwali evening incredibly fun&nbsp;and joyful. It gives me immence happiness and peace to celebrate Diwali - the festival of lights, add to that, a beautiful cool&nbsp;star-lit night which&nbsp;make it a surreal experience&nbsp;each year. Wishing you a Happy Diwali, special wishes for my colleagues Bonoshri Sarkar, Rohit Kochher, Suchitra Sethumadhav and Pooja Chadwani&nbsp;&nbsp;to have best of the health and have great future ahead, also a wish to help the technology world with there technical skills :)</span></span></span></p>
<p><span style="color: #3366ff; font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><span style="color: #000000;">Dhanyavad (Thank you)</span></span></p>
<p><span style="color: #3366ff; font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><span style="color: #000000;">Andy</span></span></p>]]></content:encoded>
    </item>
    <item>
      <title>CRM 2011 and SharePoint 2010 Integration - Office 365 and all other combinations</title>
      <link>https://docs.microsoft.com/archive/blogs/anand_nigam/crm-2011-and-sharepoint-2010-integration-office-365-and-all-other-combinations</link>
      <pubDate>Mon, 12 Nov 2012 22:45:00 GMT</pubDate>
      <dc:creator><![CDATA[Anand.Nigam [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anand_nigam/2012/11/12/crm-2011-and-sharepoint-2010-integration-office-365-and-all-other-combinations/</guid>
      <description><![CDATA[Hi Folks,
I got a lot of customer and partner asking questions, weather CRM onprem&nbsp;can...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Hi Folks,</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">I got a lot of customer and partner asking questions, weather CRM onprem&nbsp;can integrate with sharepoint online? or crm online can integrate with Sharepoint onprem and other type of combination. So i write this post to make it crystal clear what YOU could possibly do with type of CRM and sharepoint service you have. As usual comments question and feedback are welcome.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">If you have :-</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>A. CRM Online and SharePoint Online</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>Then</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>- </strong>You can Document Management Integration. Follow the steps after label "b. On CRM Server &ndash;&ldquo;<span style="text-decoration: underline;">Configure CRM to use SharePoint as the backend document server</span>&rdquo; on post <a href="https://blogs.technet.com/b/anand_nigam/archive/2011/12/04/crm-2011-and-sharepoint-2010-integration-part-1.aspx">https://blogs.technet.com/b/anand_nigam/archive/2011/12/04/crm-2011-and-sharepoint-2010-integration-part-1.aspx</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">NOTE - You must have Sharepoint Online and CRM Online both part of your OFFICE 365 subscription for the integration to work.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">- You can also do "Reporting CRM data in SharePoint using Excel services" as described <a href="https://blogs.technet.com/b/anand_nigam/archive/2012/01/20/crm-2011-and-sharepoint-2010-integration-part-2.aspx">https://blogs.technet.com/b/anand_nigam/archive/2012/01/20/crm-2011-and-sharepoint-2010-integration-part-2.aspx</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>B. CRM OnPrem AND SharePoint Online</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>Then</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">- You can do Document Management Integration. Follow the steps after label "b. On CRM Server &ndash;&ldquo;<span style="text-decoration: underline;">Configure CRM to use SharePoint as the backend document server</span>&rdquo; on <a href="https://blogs.technet.com/b/anand_nigam/archive/2011/12/04/crm-2011-and-sharepoint-2010-integration-part-1.aspx">https://blogs.technet.com/b/anand_nigam/archive/2011/12/04/crm-2011-and-sharepoint-2010-integration-part-1.aspx</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">NOTE - You must have ADFS SSO setup for Sharepoint Online (technically you setup SSO for all the service, irespective of particular service) for this to work. Else the CRM UI would not able to connect to sharepoint, it will fail in authentication stage. A dirty work around for this is, the user needs to sign in to sharepoint online site First and then go to CRM UI and work, this is a dirty trick but works. For Enterprise I would <span style="color: black; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">recommend </span>setting up ADFS SSO, as this is a scalable and End user friendly solution.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">- You can also do "Reporting CRM data in SharePoint using Excel services" as described <a href="https://blogs.technet.com/b/anand_nigam/archive/2012/01/20/crm-2011-and-sharepoint-2010-integration-part-2.aspx">https://blogs.technet.com/b/anand_nigam/archive/2012/01/20/crm-2011-and-sharepoint-2010-integration-part-2.aspx</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>C. CRM&nbsp;Online AND SharePoint Online</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>Then</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">1. You can do Document Management Integration. Follow the steps after label "b. On CRM Server &ndash;&ldquo;<span style="text-decoration: underline;">Configure CRM to use SharePoint as the backend document server</span>&rdquo; on <a href="https://blogs.technet.com/b/anand_nigam/archive/2011/12/04/crm-2011-and-sharepoint-2010-integration-part-1.aspx">https://blogs.technet.com/b/anand_nigam/archive/2011/12/04/crm-2011-and-sharepoint-2010-integration-part-1.aspx</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">NOTE -</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong><span style="color: #ff0000;">&lt;UPDATED section on 11/14/2012</span></strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong><span style="color: #ff0000;">- added the sceanarios and corrected few spellings </span></strong><strong><span style="color: #ff0000;">&gt;</span></strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Here there are two possible <span style="color: black; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">scenarios</span></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><span style="color: black; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Senarios </span>A. Your end users are MSOL users&nbsp;( Microsoft Online users, in simple words, Cloud user, who are created in your O365 subscription)</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">- Here you dont need anything, special CRM and Sharepoint will work smoothly</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><span style="color: black; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Scenario </span>B. Your end users are Federated users ( Meaning the end users are in your On Prem Active Directory and you have federated the Domain and setup ADFS and Dirsync)</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">- You must have ADFS SSO setup for Sharepoint Online (technically you setup SSO for all the service, irespective of particular service) for this to work. Else the CRM UI would not able to connect to sharepoint, it will fail in authentication stage. A dirty work around for this is, the user needs to sign in to sharepoint online site First and then go to CRM UI and work, this is a dirty trick but works. For Enterprise I would recomend setting up ADFS SSO, as this is a scalable and End user friendly solution.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">2. You can also do "Reporting CRM data in SharePoint using Excel services" as described <a href="https://blogs.technet.com/b/anand_nigam/archive/2012/01/20/crm-2011-and-sharepoint-2010-integration-part-2.aspx">https://blogs.technet.com/b/anand_nigam/archive/2012/01/20/crm-2011-and-sharepoint-2010-integration-part-2.aspx</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">3. You could do "Sharepoint searching CRM data" Integration, For this to work you would need a. to write a WCF service to READ CRM data using CRM Online web services (<a href="https://blogs.msdn.com/b/apurvghai/archive/2011/08/26/create-your-custom-web-service-and-integrate-with-crm-2011-online.aspx">https://blogs.msdn.com/b/apurvghai/archive/2011/08/26/create-your-custom-web-service-and-integrate-with-crm-2011-online.aspx</a>) Once the WCF is ready you must write a BCS ( VS or SPD) and created ECT which will then enable sharepoint Enterprise search to Crawl the CRM entity. Simple !</span></p>
<p><span style="color: #ff0000; font-family: tahoma,arial,helvetica,sans-serif; font-size: small; background-color: #ffffff;"><strong>&lt;END of UPDATED section on 11/14/2012&gt;</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>D. CRM OnPrem AND SharePoint OnPrem</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>Then</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">- You can do anything bascially, few of the integration points are as below.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://blogs.technet.com/b/anand_nigam/archive/2011/12/04/crm-2011-and-sharepoint-2010-integration-part-1.aspx">https://blogs.technet.com/b/anand_nigam/archive/2011/12/04/crm-2011-and-sharepoint-2010-integration-part-1.aspx</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://blogs.technet.com/b/anand_nigam/archive/2012/01/20/crm-2011-and-sharepoint-2010-integration-part-2.aspx">https://blogs.technet.com/b/anand_nigam/archive/2012/01/20/crm-2011-and-sharepoint-2010-integration-part-2.aspx</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://blogs.technet.com/b/anand_nigam/archive/2012/01/20/crm-2011-and-sharepoint-2010-integration-part-2-continued.aspx">https://blogs.technet.com/b/anand_nigam/archive/2012/01/20/crm-2011-and-sharepoint-2010-integration-part-2-continued.aspx</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://blogs.technet.com/b/anand_nigam/archive/2012/07/29/crm-2011-and-sharepoint-2010-integration-part-4.aspx">https://blogs.technet.com/b/anand_nigam/archive/2012/07/29/crm-2011-and-sharepoint-2010-integration-part-4.aspx</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Bye for now folks, will be back soon.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Andy</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Workshop: CRM 2011 - Integration with SharePoint 2010</title>
      <link>https://docs.microsoft.com/archive/blogs/anand_nigam/workshop-crm-2011-integration-with-sharepoint-2010</link>
      <pubDate>Mon, 30 Jul 2012 13:23:10 GMT</pubDate>
      <dc:creator><![CDATA[Anand.Nigam [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anand_nigam/2012/07/30/workshop-crm-2011-integration-with-sharepoint-2010/</guid>
      <description><![CDATA[&#160;  Hi SharePoint/CRM Folks,  If you are a Microsoft Partner may be this is exciting. If you...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>Hi SharePoint/CRM Folks,</p>  <p>If you are a <strong>Microsoft Partner</strong> may be this is exciting. If you looking for Microsoft Consultants do a Workshop on SharePoint – CRM Integration, you can request it right here - <a href="https://blogs.technet.com/b/dynamicspts/archive/2012/07/19/dynamics-pts-workshops.aspx">https://blogs.technet.com/b/dynamicspts/archive/2012/07/19/dynamics-pts-workshops.aspx</a>.</p>  <p>This is the <strong>GPS Dynamics Team blog</strong>, I have been working these guys for a long time now. Here is there dedicated blog <a href="https://blogs.technet.com/b/dynamicspts/">https://blogs.technet.com/b/dynamicspts/</a> . Trust me they are PRO in CRM and I work closely with them, its always a pleasure working the <strong>GPS Dynamics team</strong>. Together we have had several workshops delivered. I would definitely encourage you to use their service whenever possible.</p>  <p>If you are <strong>NOT a Microsoft partner</strong>, do not worry :) I can try to arrange a workshop given to you please email at <a href="mailto:anand.nigam@hotmail.com">anand.nigam@hotmail.com</a>.</p>  <p>See you soon !</p>]]></content:encoded>
    </item>
    <item>
      <title>CRM 2011 and SharePoint 2010 Integration - Part 4 (Enhancements)</title>
      <link>https://docs.microsoft.com/archive/blogs/anand_nigam/crm-2011-and-sharepoint-2010-integration-part-4-enhancements</link>
      <pubDate>Mon, 30 Jul 2012 09:16:00 GMT</pubDate>
      <dc:creator><![CDATA[Anand.Nigam [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anand_nigam/2012/07/30/crm-2011-and-sharepoint-2010-integration-part-4-enhancements/</guid>
      <description><![CDATA[&nbsp;
Welcome Sharepoint Folks,
Now that previously here we saw that SharePoint can search CRM...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p>
<p>Welcome Sharepoint Folks,</p>
<p>Now that previously <a href="https://blogs.technet.com/b/anand_nigam/archive/2012/07/29/crm-2011-and-sharepoint-2010-integration-part-4.aspx">here</a> we saw that SharePoint can search CRM entities, I want to add a little enhancement to it. Here is the concept, Your end user does a Entity search in SharePoint and sees several record from CRM system, now that user wants to jump to the CRM entity and work on it. So we are saving few hundreds of clicks for the user ( actually just a few, but &ldquo;hundreds&rdquo; sounds cool than &ldquo;tens&rdquo; :) ).</p>
<p>We achieve this by doing two steps</p>
<p>1. Creating a <strong>Custom Actions</strong> in BCS ECT and set that action as default.</p>
<p>here is the sequence of events for end user</p>
<p>1. End user does a search and sharepoint returns a CRM result</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0027.image_7E9456E2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0027.image_5F00_7E9456E2.png"><img style="display: inline; border: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5282.image_thumb_4288152D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5282.image_5F00_thumb_5F00_4288152D.png" alt="image" width="524" height="307" border="0" /></a></p>
<p>2. End user clicks on the interesting result, and now wishes to open that crm entity directly, So he clicks on <strong>Open in CRM </strong>link</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8510.image_1930CD2F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8510.image_5F00_1930CD2F.png"><img style="display: inline; border: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3618.image_thumb_4501211E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3618.image_5F00_thumb_5F00_4501211E.png" alt="image" width="459" height="496" border="0" /></a></p>
<p>And the entity opens in CRM Form</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5873.image_70D1750D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5873.image_5F00_70D1750D.png"><img style="display: inline; border: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6036.image_thumb_66BCD3E2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6036.image_5F00_thumb_5F00_66BCD3E2.png" alt="image" width="683" height="440" border="0" /></a></p>
<p>&nbsp;</p>
<p>So here is what we are going to do to achieve this.</p>
<p>-----------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
<p>&nbsp;</p>
<p>Open the CRM ECT in Central admin</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3223.image_0A958570.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3223.image_5F00_0A958570.png"><img style="display: inline; border: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0160.image_thumb_4CB8EDF3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0160.image_5F00_thumb_5F00_4CB8EDF3.png" alt="image" width="601" height="424" border="0" /></a></p>
<p>Click on Add button</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3716.image_7ED01870.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3716.image_5F00_7ED01870.png"><img style="display: inline; border: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5850.image_thumb_49E31333.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5850.image_5F00_thumb_5F00_49E31333.png" alt="image" width="517" height="432" border="0" /></a></p>
<p>Fill the info according to the below image</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5758.image_4B642F47.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5758.image_5F00_4B642F47.png"><img style="display: inline; border: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5344.image_thumb_7DE78CB9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5344.image_5F00_thumb_5F00_7DE78CB9.png" alt="image" width="742" height="410" border="0" /></a></p>
<p>Now here the tricky part is to get the URL correct</p>
<p>Below is how to get that URL</p>
<p>-------------------------------------------------------------------------------</p>
<p>We need to construct a URL that accepts a parameter and somehow opens the specific account CRM dialog in a new window.</p>
<p>according to documentation at MSDN - <a title="https://msdn.microsoft.com/en-us/library/gg328483.aspx" href="https://msdn.microsoft.com/en-us/library/gg328483.aspx">https://msdn.microsoft.com/en-us/library/gg328483.aspx</a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5342.image_2D55FB86.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5342.image_5F00_2D55FB86.png"><img style="display: inline; border: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8176.image_thumb_4096B225.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8176.image_5F00_thumb_5F00_4096B225.png" alt="image" width="761" height="99" border="0" /></a></p>
<p>So general form of the URL is</p>
<p>https://<strong><span style="color: #ff0000;">&lt;CRMURL&gt;</span></strong>/main.aspx?etn=account&amp;pagetype=entityrecord&amp;id=%7B<strong><span style="color: #ff0000;">&lt;ACCOUNTID OF THE ACCOUNT&gt;</span></strong>%7D</p>
<p>Here CRM URL is simple to get</p>
<p>ACCOUNT ID is dynamic (depending on the result), BCS will give us the accountid all we need is, enclose that in {0} and select what parameter&nbsp; BCS should replace it with and our CRM link is ready.</p>
<p>here is the finished url i used in the box</p>
<p><a href="https://crm/fabrikam/main.aspx?etn=account&amp;pagetype=entityrecord&amp;id=%7B{0}%7D">https://crm/fabrikam/main.aspx?etn=account&amp;pagetype=entityrecord&amp;id=%7B<strong><span style="color: #ff0000;">{0}</span></strong>%7D</a></p>
<p>And thats how you get the URL</p>
<p>-------------------------------------------------------------------------------</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Ok Once you got the URL, select from the Parameter Property <strong>accountid,</strong> mark it as <strong>Default action, </strong>Click OK.</p>
<p>(You may be required to update the profile page).</p>
<p>See you soon !</p>]]></content:encoded>
    </item>
    <item>
      <title>CRM 2011 and SharePoint 2010 Integration - Part 4</title>
      <link>https://docs.microsoft.com/archive/blogs/anand_nigam/crm-2011-and-sharepoint-2010-integration-part-4</link>
      <pubDate>Sat, 28 Jul 2012 15:41:00 GMT</pubDate>
      <dc:creator><![CDATA[Anand.Nigam [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anand_nigam/2012/07/28/crm-2011-and-sharepoint-2010-integration-part-4/</guid>
      <description><![CDATA[Tags- &nbsp;crm from sharepoint, sharepoint crm integration, sharepoint crm search, SharePoint...]]></description>
      <content:encoded><![CDATA[<p><strong>Tags-</strong> &nbsp;crm from sharepoint, sharepoint crm integration, sharepoint crm search, SharePoint Enterprise search CRM 2011, CRM 2011 Sharepoint search</p>
<p>Hi SharePoint Folks,</p>
<p>I had too many things to sort out to get time for this.&nbsp; All right then, fasten your seat belts and get ready read further. So this is going to be a fast and furious ride.</p>
<p>Ok just to be on the same page &ndash; here is the index</p>
<p><span style="text-decoration: line-through;">Part 1: Introduction and CRM 2011 - Document management Integration with SharePoint 2010 </span></p>
<p><span style="text-decoration: line-through;">Part 2: Reporting CRM data in SharePoint using Excel services</span></p>
<p><span style="text-decoration: line-through;">Part 3: Publishing CRM entities in SharePoint</span> ( going to be there soon).</p>
<p>Part 4: <em>Search CRM entities from SharePoint Enterprise Search (This post).</em></p>
<p>&nbsp;</p>
<p>Here is what we are going to do, Below is my CRM 2011 with sample data populated.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0385.image_514FDEAC.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0385.image_5F00_514FDEAC.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3515.image_thumb_70825FB2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3515.image_5F00_thumb_5F00_70825FB2.png" alt="image" width="736" height="522" border="0" /></a></p>
<p>Our Goal is&nbsp; - &ldquo;We want to perform search in SharePoint Search Center and I MUST get my CRM 2011 entities as we see above. Below is our lovely SharePoint Search Center&rdquo; , to be precise we would search CRM entities like <strong>Accounts </strong>and <strong>Opportunities </strong>from SharePoint.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4505.image_450E18EB.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4505.image_5F00_450E18EB.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7888.image_thumb_09DA3D20.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7888.image_5F00_thumb_5F00_09DA3D20.png" alt="image" width="743" height="528" border="0" /></a></p>
<p>To achieve the above goal here is what we need</p>
<p>1. A SharePoint Site.</p>
<p>2. A CRM deployment.</p>
<p>3. This Post</p>
<p>=============================</p>
<h1>Overall steps are</h1>
<p>1. Create a BCS model / External content type ( here we will decide where and how to speak to CRM system , What to fetch from CRM system)</p>
<p>2. Once ECT is done, We configure the SharePoint Search Service application to crawl the data coming via&nbsp; BCS model we created in the above steps</p>
<p>3. Information on Securing the above setup, <em>usually for your production implementation.</em> <span style="color: #ff0000;"><strong>[updated entry] Sun 07/29/2012</strong></span></p>
<p>-----------------------------------------------------------------------------------------------------------------------------------------------------</p>
<h1>&nbsp;</h1>
<h1><strong>Step 1 &ndash;</strong></h1>
<h6>(<strong>1. Create a BCS model / External content type ( here we will decide where and how to speak to CRM system , What to fetch from CRM system)</strong>)</h6>
<blockquote>
<h3>On SharePoint Server</h3>
</blockquote>
<p>Here we will create an <strong>External content type</strong> that will connect to the CRM backend database and fetch us the data we are are interested in, we are looking to search Accounts and Opportunities. If think closely what attributes of Accounts and Opportunities would the end user be searching for? ok no answers now we will look at it when we reach to that step.</p>
<p>Ok Open the SharePoint site in SharePoint designer</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4760.image_0E7047DA.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4760.image_5F00_0E7047DA.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5340.image_thumb_0FF163EE.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5340.image_5F00_thumb_5F00_0FF163EE.png" alt="image" width="677" height="475" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7384.image_2D170BF8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7384.image_5F00_2D170BF8.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2021.image_thumb_6B3026A9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2021.image_5F00_thumb_5F00_6B3026A9.png" alt="image" width="356" height="283" border="0" /></a>&nbsp;</p>
<p>Here in box labeled 1 &ndash; Enter the name that you want for the ECT (External Content Type), On box 2 &ndash; Click on link next to External System.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4657.image_56CA611E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4657.image_5F00_56CA611E.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3187.image_thumb_21DD5BE1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3187.image_5F00_thumb_5F00_21DD5BE1.png" alt="image" width="592" height="318" border="0" /></a>&nbsp;</p>
<p>Once you click there, Click on <strong>Add Connection</strong> then select <strong>SQL Server</strong> Click OK</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6724.image_514BCAAD.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6724.image_5F00_514BCAAD.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7384.image_thumb_6E7172B7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7384.image_5F00_thumb_5F00_6E7172B7.png" alt="image" width="615" height="345" border="0" /></a></p>
<p>Next you enter the Database server and Enter the CRM database ( NOT THE CRM CONFIG DB). In my case my database server is &ndash; DC, the database name is Fabrikam_MSCRM. Click OK to connect.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0451.image_0B971AC2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0451.image_5F00_0B971AC2.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4152.image_thumb_6A377525.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4152.image_5F00_thumb_5F00_6A377525.png" alt="image" width="492" height="327" border="0" /></a></p>
<p>Once the connection is successful expand the <strong>Views </strong>section, look for <strong>FilteredAccount.</strong></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7384.image_2E976665.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7384.image_5F00_2E976665.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8546.image_thumb_5420E3C6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8546.image_5F00_thumb_5F00_5420E3C6.png" alt="image" width="382" height="297" border="0" /></a> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5810.image_5203E4FD.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5810.image_5F00_5203E4FD.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3666.image_thumb_5BE8D668.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3666.image_5F00_thumb_5F00_5BE8D668.png" alt="image" width="291" height="280" border="0" /></a></p>
<p>Now Right click on <strong>FilteredAccount</strong> and Select <strong>New Read Item Operation.&nbsp; (why did i chose Filtered Accounts when there is an Accounts view ?&nbsp; <a href="https://blogs.msdn.com/b/crm/archive/2006/05/01/587823.aspx">here</a> is the reason)</strong></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3250.image_59CBD79F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3250.image_5F00_59CBD79F.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2570.image_thumb_26236B41.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2570.image_5F00_thumb_5F00_26236B41.png" alt="image" width="446" height="372" border="0" /></a></p>
<p>Click next on the wizard like screen, then select <strong>accountid</strong>&nbsp; and check box next to <strong>Map to Identifier,</strong> Click Next</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3582.image_6A835C80.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3582.image_5F00_6A835C80.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2086.image_thumb_133EC1CA.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2086.image_5F00_thumb_5F00_133EC1CA.png" alt="image" width="760" height="284" border="0" /></a></p>
<p>Uncheck the box <strong>Data Source Elements ( because we don't want all the info of Accounts, we will select what we want individually)</strong></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1106.image_2C5A1C02.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1106.image_5F00_2C5A1C02.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6470.image_thumb_0E989143.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6470.image_5F00_thumb_5F00_0E989143.png" alt="image" width="614" height="373" border="0" /></a></p>
<p>Now For a minute forget about everything and think what your users are most likely to discover CRM accounts with, for example, i am an end user most probably i should be able to search a CRM account by &ndash; Account Name, Account Number, Email address, website address, primary contact name&hellip;etc etc etc.</p>
<p>Now imagine in SharePoint search box, you type in an email address and you come up with the CRM account info on SharePoint page, What all information for that specific account should you be able to see ? my guess is the above attributes PLUS Primary contact name, address, city, annual revenue, number of employees, description</p>
<p>below is the information i can get from the views, these are my options, Its huge :)</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1104.image_6B881FD2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1104.image_5F00_6B881FD2.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2086.image_thumb_5F19FCA9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2086.image_5F00_thumb_5F00_5F19FCA9.png" alt="image" width="859" height="47" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4152.image_04374716.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4152.image_5F00_04374716.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7360.image_thumb_4DE61F06.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7360.image_5F00_thumb_5F00_4DE61F06.png" alt="image" width="864" height="47" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0435.image_333982ED.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0435.image_5F00_333982ED.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5381.image_thumb_3FC73009.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5381.image_5F00_thumb_5F00_3FC73009.png" alt="image" width="876" height="37" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4336.image_251A93F0.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4336.image_5F00_251A93F0.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4336.image_thumb_5C80A51E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4336.image_5F00_thumb_5F00_5C80A51E.png" alt="image" width="454" height="30" border="0" /></a></p>
<p>Now Map these information in the CRM Account Entity UI</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3666.image_3B20FF82.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3666.image_5F00_3B20FF82.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1104.image_thumb_603E49EE.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1104.image_5F00_thumb_5F00_603E49EE.png" alt="image" width="860" height="268" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3568.image_3033F86D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3568.image_5F00_3033F86D.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2570.image_thumb_679A099B.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2570.image_5F00_thumb_5F00_679A099B.png" alt="image" width="874" height="189" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7444.image_0CB75408.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7444.image_5F00_0CB75408.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6215.image_thumb_590EE7A9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6215.image_5F00_thumb_5F00_590EE7A9.png" alt="image" width="887" height="276" border="0" /></a></p>
<p>Now most of the UI data corresponds to the fields i showed you above this. which means, most of the info in the UI is accessible via view, which in turn means i can pull it from BCS (ECT), which means My users can see those info in SharePoint search result or in SharePoint profile page (don't worry about profile page for now).</p>
<p>Now I have decided that I would fetch the below information from CRM views:-</p>
<p>1. Accountid</p>
<p>2. accountnumber</p>
<p>3. address1_city</p>
<p>4. address1_country</p>
<p>5. address1_line1</p>
<p>6. address1_line2</p>
<p>7. address1_postalcode</p>
<p>8. address1_telephone1</p>
<p>9. description</p>
<p>10. emailaddress1</p>
<p>11. fax</p>
<p>12. numberofemployees</p>
<p>13. revenue</p>
<p>14. websiteurl</p>
<p>15. name</p>
<p>Come back to reality now, Lets proceed. Now that we know what data we want from CRM accounts we will select those attributes</p>
<p>First task is to select the <strong>accountid</strong> (which is UNIQUE) and check <strong>map to Identifier</strong></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4743.image_56F1E8E0.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4743.image_5F00_56F1E8E0.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1007.image_thumb_26E7975F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1007.image_5F00_thumb_5F00_26E7975F.png" alt="image" width="480" height="151" border="0" /></a></p>
<p>Second task Check mark all other columns we decided.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6371.image_1E178F13.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6371.image_5F00_1E178F13.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2570.image_thumb_7B071DA2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2570.image_5F00_thumb_5F00_7B071DA2.png" alt="image" width="500" height="417" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1680.image_2D1E4820.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1680.image_5F00_2D1E4820.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3644.image_thumb_30BC62FD.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3644.image_5F00_thumb_5F00_30BC62FD.png" alt="image" width="244" height="25" border="0" /></a> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3250.image_3E227603.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3250.image_5F00_3E227603.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8424.image_thumb_3DB6430E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8424.image_5F00_thumb_5F00_3DB6430E.png" alt="image" width="189" height="24" border="0" /></a> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6886.image_4390E6A7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6886.image_5F00_4390E6A7.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3568.image_thumb_153760FA.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3568.image_5F00_thumb_5F00_153760FA.png" alt="image" width="164" height="26" border="0" /></a> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8446.image_0DABF18D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8446.image_5F00_0DABF18D.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5381.image_thumb_0D3FBE98.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5381.image_5F00_thumb_5F00_0D3FBE98.png" alt="image" width="184" height="28" border="0" /></a> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7455.image_3AC0DE5B.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7455.image_5F00_3AC0DE5B.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5633.image_thumb_0C6758AE.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5633.image_5F00_thumb_5F00_0C6758AE.png" alt="image" width="199" height="30" border="0" /></a> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8053.image_67D5CB29.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8053.image_5F00_67D5CB29.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5807.image_thumb_0065687A.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5807.image_5F00_thumb_5F00_0065687A.png" alt="image" width="182" height="26" border="0" /></a> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6371.image_18F505CA.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6371.image_5F00_18F505CA.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8053.image_thumb_1888D2D5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8053.image_5F00_thumb_5F00_1888D2D5.png" alt="image" width="167" height="31" border="0" /></a> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3731.image_31187025.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3731.image_5F00_31187025.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8446.image_thumb_5E998FE8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8446.image_5F00_thumb_5F00_5E998FE8.png" alt="image" width="194" height="23" border="0" /></a></p>
<p>&nbsp;</p>
<p>Click Finish</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7776.image_25167FF1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7776.image_5F00_25167FF1.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3644.image_thumb_26979C05.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3644.image_5F00_thumb_5F00_26979C05.png" alt="image" width="630" height="270" border="0" /></a></p>
<p>you will see a dialog like this</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3568.image_6AF78D44.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3568.image_5F00_6AF78D44.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1581.image_thumb_37BB53DB.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1581.image_5F00_thumb_5F00_37BB53DB.png" alt="image" width="326" height="109" border="0" /></a></p>
<p>And a new Read Item Operation is created</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8446.image_6F216509.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8446.image_5F00_6F216509.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1581.image_thumb_0C470D14.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1581.image_5F00_thumb_5F00_0C470D14.png" alt="image" width="630" height="370" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Now again right click on <strong>FilteredAccount</strong> and this time select <strong>New Read List Operation</strong></p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1184.image_22B9AB9B.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1184.image_5F00_22B9AB9B.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5810.image_thumb_1CFE91F5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5810.image_5F00_thumb_5F00_1CFE91F5.png" alt="image" width="462" height="462" border="0" /></a></p>
<p>&nbsp;</p>
<p>Click Next</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6371.image_12E9F0CA.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6371.image_5F00_12E9F0CA.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7457.image_thumb_10CCF201.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7457.image_5F00_thumb_5F00_10CCF201.png" alt="image" width="484" height="366" border="0" /></a></p>
<p>&nbsp;</p>
<p>Click <strong>Add Filter Parameter</strong></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0523.image_4EE60CB2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0523.image_5F00_4EE60CB2.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3666.image_thumb_2D866716.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3666.image_5F00_thumb_5F00_2D866716.png" alt="image" width="486" height="458" border="0" /></a></p>
<p>Click in the sequence shown and set the values as showed below.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2086.image_7D7C1594.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2086.image_5F00_7D7C1594.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3666.image_thumb_41DC06D4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3666.image_5F00_thumb_5F00_41DC06D4.png" alt="image" width="801" height="486" border="0" /></a></p>
<p>Now after clicking OK, In the <strong>Default value</strong> box type 100 ( you can use any number, this number defines the result set returned. you should be careful in selecting this number, if you enter 1 million here BCS will ask CRM to give 1 million records, you can imagine the load CRM DB server would have. 100 appears to be decent amount.)</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7853.image_31145C26.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7853.image_5F00_31145C26.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6215.image_thumb_64DC5277.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6215.image_5F00_thumb_5F00_64DC5277.png" alt="image" width="244" height="179" border="0" /></a></p>
<p>&nbsp;</p>
<p>Click Next and we see the same familiar screen, 1st select accountid and Check <strong>Map to Identifier, Read only </strong>and <strong>Show in Picker.</strong></p>
<p>2nd &ndash; select the same fields we selected in previous operation</p>
<p>1. accountid &ndash; we already have selected this (skip this field)</p>
<p>2. accountnumber</p>
<p>3. address1_city</p>
<p>4. address1_country</p>
<p>5. address1_line1</p>
<p>6. address1_line2</p>
<p>7. address1_postalcode</p>
<p>8. address1_telephone1</p>
<p>9. description</p>
<p>10. emailaddress1</p>
<p>11. fax</p>
<p>12. numberofemployees</p>
<p>13. revenue</p>
<p>14. websiteurl</p>
<p>15. name</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0842.image_437CACDB.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0842.image_5F00_437CACDB.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1106.image_thumb_799E252A.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1106.image_5F00_thumb_5F00_799E252A.png" alt="image" width="751" height="564" border="0" /></a></p>
<p>Now click <strong>Finish,</strong>&nbsp; the page should look like this, notice the new operation gets listed</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3247.image_562180C5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3247.image_5F00_562180C5.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2260.image_thumb_1A817205.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2260.image_5F00_thumb_5F00_1A817205.png" alt="image" width="748" height="367" border="0" /></a></p>
<p>Now Save the ECT</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7360.image_09B9C757.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7360.image_5F00_09B9C757.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5126.image_thumb_358A1B46.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5126.image_5F00_thumb_5F00_358A1B46.png" alt="image" width="328" height="190" border="0" /></a>&nbsp; =&gt; <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1106.image_615A6F35.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1106.image_5F00_615A6F35.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7455.image_thumb_5F3D706C.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7455.image_5F00_thumb_5F00_5F3D706C.png" alt="image" width="403" height="129" border="0" /></a></p>
<p>Once Save is done, now its time for testing if ECT can fetch the info from CRM, for this click <strong>Create Lists and Forms, </strong>give list a name then click OK</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2086.image_1D568B1E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2086.image_5F00_1D568B1E.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3247.image_thumb_54BC9C4C.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3247.image_5F00_thumb_5F00_54BC9C4C.png" alt="image" width="345" height="174" border="0" /></a> &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6470.image_6B9B6DC8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6470.image_5F00_6B9B6DC8.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7776.image_thumb_63379871.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7776.image_5F00_thumb_5F00_63379871.png" alt="image" width="300" height="180" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4130.image_4F3E05DB.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4130.image_5F00_4F3E05DB.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4237.image_thumb_071049FF.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4237.image_5F00_thumb_5F00_071049FF.png" alt="image" width="319" height="126" border="0" /></a></p>
<p>Now open the sharepoint site in brower and&nbsp; open the list and verify if you can see the CRM info over there.</p>
<p>And we see the CRM info just fine, Incase you face error here its most probably due to the permissions of the logged in user and the explicit permission on of the farm admin on the BCS Model. You can play with it in central admin.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5633.image_055F7E2B.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5633.image_5F00_055F7E2B.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1184.image_thumb_10A89268.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1184.image_5F00_thumb_5F00_10A89268.png" alt="image" width="768" height="444" border="0" /></a></p>
<p>Even during testing if you face error accessing the site just use the permissions i have set for my lab on service account. My service account of SharePoint ( spfarm) has access to the CRM as well as the database). I have given the following permission&nbsp;</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1680.image_31D88844.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1680.image_5F00_31D88844.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2502.image_thumb_6AA2BC44.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2502.image_5F00_thumb_5F00_6AA2BC44.png" alt="image" width="391" height="289" border="0" /></a></p>
<p>Notice - that spfarm is my SharePoint and CRM service account and spfarm has all the rights on metadata store. (NOTE- you don't have to explicitly set object permission if you have granted permission here and also <strong>Check the box</strong> on &ldquo;<strong>Propagate permission to all BCD models&hellip;..&rdquo;</strong>)</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2063.image_7A625148.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2063.image_5F00_7A625148.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8053.image_thumb_2632A538.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8053.image_5F00_thumb_5F00_2632A538.png" alt="image" width="391" height="383" border="0" /></a></p>
<p>&nbsp;</p>
<p>Anyways now that the CRM info is showing up in SharePoint list, we are confirmed its working. NOW Delete that list, we don't need it.</p>
<p>Now Open central admin and navigate toe BCS service application and Click Configure</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0458.image_2415A66F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0458.image_5F00_2415A66F.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1018.image_thumb_017167F4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1018.image_5F00_thumb_5F00_017167F4.png" alt="image" width="519" height="349" border="0" /></a>&nbsp;</p>
<p>Enter a site url here, This site would be used to host the BCS pages, it would a simple page not a subsite, I just used the root site collection. Click OK</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2021.image_2A2CCD3D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2021.image_5F00_2A2CCD3D.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1680.image_thumb_67D9B4F9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1680.image_5F00_thumb_5F00_67D9B4F9.png" alt="image" width="322" height="428" border="0" /></a></p>
<p>Come back to SharePoint designer and click <strong>Create Profile Page</strong></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2570.image_5373EF6E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2570.image_5F00_5373EF6E.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7888.image_thumb_76E06E06.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7888.image_5F00_thumb_5F00_76E06E06.png" alt="image" width="624" height="402" border="0" /></a></p>
<p>the pages will be created now, This page will be used when a user clicks on the search result,</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7875.image_459183A6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7875.image_5F00_459183A6.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6403.image_thumb_12554A3D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6403.image_5F00_thumb_5F00_12554A3D.png" alt="image" width="319" height="122" border="0" /></a></p>
<p>Now from the list of fields, select <strong>name</strong> and then click <strong>Set as Title</strong></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4645.image_77A8AE23.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4645.image_5F00_77A8AE23.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2514.image_thumb_186C710B.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2514.image_5F00_thumb_5F00_186C710B.png" alt="image" width="737" height="529" border="0" /></a></p>
<p>&nbsp;</p>
<p>Save the ECT again, What we did just now was to set the CRM account name as the title of the profile page</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3582.image_428BF926.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3582.image_5F00_428BF926.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5756.image_thumb_0F4FBFBD.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5756.image_5F00_thumb_5F00_0F4FBFBD.png" alt="image" width="690" height="141" border="0" /></a></p>
<p>Now Click on Create Profile Page ( Yes, I forgot to do this before :) ) Click yes on the confirmation box</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8461.image_5F456E3B.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8461.image_5F00_5F456E3B.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2514.image_thumb_56E198E4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2514.image_5F00_thumb_5F00_56E198E4.png" alt="image" width="416" height="155" border="0" /></a></p>
<p>&nbsp;</p>
<h1>Step 2 &ndash; Still On SharePoint Server</h1>
<h6>(2. Once ECT is done, We configure the SharePoint Search Service application to crawl the data coming via BCS model we created in the above steps)</h6>
<p>Now our goal is simply to Configure the Search service application to search the CRM entities via BCS model we created above.</p>
<p>Open SharePoint Central Admin &gt; Service application &gt; <em>your search service application</em></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4657.image_69B61C8E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4657.image_5F00_69B61C8E.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3187.image_thumb_6B3738A2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3187.image_5F00_thumb_5F00_6B3738A2.png" alt="image" width="569" height="456" border="0" /></a></p>
<p>Click on Content Sources</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2022.image_4488AC55.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2022.image_5F00_4488AC55.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3681.image_thumb_7BEEBD83.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3681.image_5F00_thumb_5F00_7BEEBD83.png" alt="image" width="185" height="253" border="0" /></a>&nbsp; = &gt; <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5756.image_731EB537.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5756.image_5F00_731EB537.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6648.image_thumb_7FAC6253.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6648.image_5F00_thumb_5F00_7FAC6253.png" alt="image" width="326" height="252" border="0" /></a></p>
<p>Fill the details as shown below</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6811.image_76DC5A07.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6811.image_5F00_76DC5A07.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5756.image_thumb_264AC8D4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5756.image_5F00_thumb_5F00_264AC8D4.png" alt="image" width="549" height="383" border="0" /></a></p>
<p>in the bottom check on <strong>Start full crawl&hellip;</strong>&nbsp; and click OK</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1856.image_11E50349.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1856.image_5F00_11E50349.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8484.image_thumb_0FC80480.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8484.image_5F00_thumb_5F00_0FC80480.png" alt="image" width="543" height="393" border="0" /></a></p>
<p>Notice that the Crawling (reading CRM entities and creating an Index) is taking place in SharePoint). All we have to do is now wait for Crawl to complete.</p>
<p>Also for troubleshooting purpose you can look at the crawl logs ( crawl logs can be accessed by hover mouse on CRM Entities&gt; View Crawl log), Most common issue is insufficient permission on crawl account on CRM DB. Minimum permission required for this solution to work is READ.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4274.image_0DAB05B7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4274.image_5F00_0DAB05B7.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1856.image_thumb_05473060.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1856.image_5F00_thumb_5F00_05473060.png" alt="image" width="555" height="289" border="0" /></a></p>
<p>here is my Crawl logs showing a successful crawl, More importantly there are 0 errors, even if you have 1 error please investigate what is it.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0882.image_43604B11.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0882.image_5F00_43604B11.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5756.image_thumb_7AC65C3F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5756.image_5F00_thumb_5F00_7AC65C3F.png" alt="image" width="739" height="194" border="0" /></a></p>
<p>&nbsp;</p>
<p>Time for testing !!</p>
<p>Now I did a search for an CRM account &ldquo;A Store (Sample)&rdquo; and SharePoint gave me all the CRM + SharePoint results&nbsp; :) I am a happy guy now. Lets open one of the results</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6242.image_6019C026.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6242.image_5F00_6019C026.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0474.image_thumb_2479B166.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0474.image_5F00_thumb_5F00_2479B166.png" alt="image" width="745" height="457" border="0" /></a></p>
<p>Here we see the CRM details in a clean SharePoint page, BTW this page is the profile page we created/set.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5684.image_13B206B8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5684.image_5F00_13B206B8.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2548.image_thumb_119507EF.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2548.image_5F00_thumb_5F00_119507EF.png" alt="image" width="669" height="422" border="0" /></a></p>
<p>Now keep in mind the above page is a REAL TIME info from CRM System. To prove that keep an eye on the Name attribute which is &ndash; A Store (Sample) ( in the bottom of the page)</p>
<p>Now once i update the details in CRM application and refresh this page it fetches the new updated value there is no cache, no old data problem :)</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5265.image_7D2F4263.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5265.image_5F00_7D2F4263.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7318.image_thumb_53D7FA65.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7318.image_5F00_thumb_5F00_53D7FA65.png" alt="image" width="656" height="539" border="0" /></a></p>
<p><span style="color: #ff0000;"><strong>[ Start of updated section] Sun 07/29/2012</strong></span></p>
<h1>3. Information on Securing the above setup,</h1>
<h5><em>usually for your production implementation.</em></h5>
<p>Alright now that these two guys (CRM and SharePoint) are speaking, you must be aware about the security implications given the setup we used, I just used the most simple technique and it worked. So here are few ways to Ideally do this.</p>
<p>1. This is the screen where we connect to the CRM database, If you notice closely I did not specify any credentials to connect to the DB, Ideally You can setup a Application ID in Secure Store Service (How to setup this? <a href="https://blogs.technet.com/b/anand_nigam/archive/2012/01/20/crm-2011-and-sharepoint-2010-integration-part-2.aspx">Click here</a>) , And put the Application ID in Box 3 (in below pic), this way you don't grant SharePoint admin any special privileges on CRM system. Also do remember CRM system knows ( not the SQL Server only) which user has what privileges, so if i grant an account X permission on just sql db of CRM, you will se no results, because the Filtered views we are using are Security Context aware and will only show content if the calling account has permission to it. So best way is to grant user access on the CRM System (most probably as reader) and also on SQL DB (reader).</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2047.image_18EFB6EC.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2047.image_5F00_18EFB6EC.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0081.image_thumb_7168C4B4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0081.image_5F00_thumb_5F00_7168C4B4.png" alt="image" width="582" height="283" border="0" /></a></p>
<p>Step 1- Open Secure Store service and create a new Application ID</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2045.image_40F2403E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2045.image_5F00_40F2403E.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2047.image_thumb_660F8AAA.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2047.image_5F00_thumb_5F00_660F8AAA.png" alt="image" width="519" height="319" border="0" /></a></p>
<p>Fill in the details, Click Next</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1067.image_0ECAEFF4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1067.image_5F00_0ECAEFF4.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5277.image_thumb_414E4D66.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5277.image_5F00_thumb_5F00_414E4D66.png" alt="image" width="542" height="242" border="0" /></a></p>
<p>This is fine Click Next</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2541.image_2A3FCC2A.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2541.image_5F00_2A3FCC2A.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6758.image_thumb_3D8082C9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6758.image_5F00_thumb_5F00_3D8082C9.png" alt="image" width="596" height="122" border="0" /></a></p>
<p>here in the 1st box &ndash; enter who ever is owner of the target app, can be crm admin and SP admin, in the 2nd box, enter who can use this Application ID- I used all users because, i want all of my company users to be able to search and see the details, if you have restrictions on who can see the crm info, create a security group in AD and enter that here. Click OK</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0410.image_0DE2643D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0410.image_5F00_0DE2643D.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5518.image_thumb_39B2B82C.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5518.image_5F00_thumb_5F00_39B2B82C.png" alt="image" width="611" height="254" border="0" /></a></p>
<p>Now dropdown on the newly created Application ID, and Set credentials, Enter the account which has at least READ permission in CRM site and DB.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3146.image_22A436F0.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3146.image_5F00_22A436F0.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6170.image_thumb_20873827.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6170.image_5F00_thumb_5F00_20873827.png" alt="image" width="642" height="318" border="0" /></a></p>
<p>Now Edit the ECT model in SharePoint Designer</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6761.image_335BBBD1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6761.image_5F00_335BBBD1.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0486.image_thumb_236C770D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0486.image_5F00_thumb_5F00_236C770D.png" alt="image" width="388" height="310" border="0" /></a></p>
<p>Change the 1 and 2 box as shown,Box1 &ndash; here we specified the type of credential, Box 2 is where we specified use this Application ID credential to speak to CRM db. Click OK and Save this config, create an external list of this ECT and verify if information is visible for sharepoint service account also to end user account.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1882.image_7A152F0E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1882.image_5F00_7A152F0E.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3036.image_thumb_1A4FC5BF.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3036.image_5F00_thumb_5F00_1A4FC5BF.png" alt="image" width="414" height="514" border="0" /></a></p>
<p>below is the end result, Dan- end user can see the CRM info too,</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2475.image_30C26446.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2475.image_5F00_30C26446.png"><img style="display: inline; border-width: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6170.image_thumb_26ADC31B.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6170.image_5F00_thumb_5F00_26ADC31B.png" alt="image" width="749" height="429" border="0" /></a></p>
<p><span style="color: #ff0000;"><strong>[End of updated section]</strong></span></p>
<p><strong>Enhancements &ndash; Open the CRM form directly from search results follow this&nbsp; - </strong><a title="CRM 2011 and SharePoint 2010 Integration - Part 4 (Enhancements)" href="https://blogs.technet.com/b/anand_nigam/archive/2012/07/30/crm-2011-and-sharepoint-2010-integration-part-4-enhancements.aspx"><strong>CRM 2011 and SharePoint 2010 Integration - Part 4 (Enhancements)</strong></a></p>
<p>Hope I was descriptive enough, Incase you feel you need more info on any of the steps, please let me know and it will be fixed soon.</p>
<p>Finally I want to say big sorry to Brent Tenney , Pam Jensen , Brian L. Tenney , Sanjiv Sharma, Nick Verhangen, Bill Kelly, Erwin Sanders, Colin V, Thomas Binder to keep you waiting.</p>
<p><strong>Important info for Microsoft Partners &ndash; If you are an Microsoft Partner and would like to have a workshop on any of the topics included in this blog please send email directly to me at </strong><a href="mailto:anand.nigam@hotmail.com"><strong>anand.nigam@hotmail.com</strong></a></p>
<p>Have a fantastic day</p>]]></content:encoded>
    </item>
    <item>
      <title>FUTURE of CRM 2011 and SharePoint 2010 Integration - Part 3 and Part 4</title>
      <link>https://docs.microsoft.com/archive/blogs/anand_nigam/future-of-crm-2011-and-sharepoint-2010-integration-part-3-and-part-4</link>
      <pubDate>Sun, 22 Apr 2012 13:52:19 GMT</pubDate>
      <dc:creator><![CDATA[Anand.Nigam [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anand_nigam/2012/04/22/future-of-crm-2011-and-sharepoint-2010-integration-part-3-and-part-4/</guid>
      <description><![CDATA[Hello SharePoint Folks,  I am really want to apologies for the delay on my part in writing Part 3...]]></description>
      <content:encoded><![CDATA[<p>Hello SharePoint Folks,</p>  <p>I am really want to apologies for the delay on my part in writing Part 3 and Part 4. This is due to the new challenge i have taken on and I am struggling to find time to write the remaining parts, I have completed the draft for Part 3, it needs some polishing and further technical verfication before I publish, and for all the worlds reasons i am unable to find time.</p>  <p>If you urgently need the steps and information&#160; OR your organisation wants to implement the part 3 and part 4 of crm-sharepoint integration blog, please shoot me an email at anand.nigam@hotmail.com .I will for sure can sent you the steps, yes the unpolished ones. I have set goal to finish the Part 3 and Part 4 before May.</p>  <p>In Future expect SharePoint and ADFS step by step, this would be cross forest authentication on sharepoint ( its a fancy way of saying, a user from an external forest authenticates to shareponit in your organisation, using purely ADFS trust, No NT trust)</p>  <p>Thanks for stopping by and sorry for trouble due to my schedule.</p>  <p><font color="#ff0000" size="3">UPDATE – The Part 3 is Published- </font><a title="https://blogs.technet.com/b/anand_nigam/archive/2013/01/26/republished-crm-2011-and-sharepoint-2010-integration-part-3.aspx" href="https://blogs.technet.com/b/anand_nigam/archive/2013/01/26/republished-crm-2011-and-sharepoint-2010-integration-part-3.aspx"><font color="#ff0000" size="3">https://blogs.technet.com/b/anand_nigam/archive/2013/01/26/republished-crm-2011-and-sharepoint-2010-integration-part-3.aspx</font></a></p>  <p>Andy</p>]]></content:encoded>
    </item>
    <item>
      <title>CRM 2011 and SharePoint 2010 Integration - Part 2 Continued….</title>
      <link>https://docs.microsoft.com/archive/blogs/anand_nigam/crm-2011-and-sharepoint-2010-integration-part-2-continued</link>
      <pubDate>Thu, 19 Jan 2012 18:31:01 GMT</pubDate>
      <dc:creator><![CDATA[Anand.Nigam [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anand_nigam/2012/01/19/crm-2011-and-sharepoint-2010-integration-part-2-continued/</guid>
      <description><![CDATA[&#160;  Technorati Tags: Excel Services sharepoint 2010,crm sharepoint integration,sharepoint crm...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:ade5e054-c16b-4924-8d0d-73e3625d9b9b" class="wlWriterEditableSmartContent">Technorati Tags: <a href="https://technorati.com/tags/Excel+Services+sharepoint+2010" rel="tag">Excel Services sharepoint 2010</a>,<a href="https://technorati.com/tags/crm+sharepoint+integration" rel="tag">crm sharepoint integration</a>,<a href="https://technorati.com/tags/sharepoint+crm+integration" rel="tag">sharepoint crm integration</a>,<a href="https://technorati.com/tags/excel+services+sharepoint+2010" rel="tag">excel services sharepoint 2010</a></div>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6557.clip_image002_74277BF5.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6557.clip_5F00_image002_5F00_74277BF5.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7450.clip_image002_thumb_441D2A74.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7450.clip_5F00_image002_5F00_thumb_5F00_441D2A74.jpg" width="522" height="431" /></a></p>  <p>By default <b>Count</b> is selected, change it to <b>Sum</b> and click OK</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6457.clip_image004_2FB764E9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6457.clip_5F00_image004_5F00_2FB764E9.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image004" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2251.clip_image004_thumb_06601CEB.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2251.clip_5F00_image004_5F00_thumb_5F00_06601CEB.png" width="408" height="322" /></a><b> </b><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0272.clip_image006_557D657F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0272.clip_5F00_image006_5F00_557D657F.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image006" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5852.clip_image006_thumb_5A137039.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5852.clip_5F00_image006_5F00_thumb_5F00_5A137039.png" width="363" height="285" /></a></p>  <p>Now we see the table and the chart correctly</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0763.clip_image008_3E223B41.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0763.clip_5F00_image008_5F00_3E223B41.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image008" border="0" alt="clip_image008" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8686.clip_image008_thumb_3A5470A4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8686.clip_5F00_image008_5F00_thumb_5F00_3A5470A4.png" width="543" height="386" /></a></p>  <p>Now the next job is to Add a Slicer that will filter the chart and table based on the number of employees. Select the Chart by clicking it once and then Click <b>Insert </b>and select slicer </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8015.clip_image010_16D7CC3F.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8015.clip_5F00_image010_5F00_16D7CC3F.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image010" border="0" alt="clip_image010" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4477.clip_image010_thumb_7BBEFD30.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4477.clip_5F00_image010_5F00_thumb_5F00_7BBEFD30.jpg" width="559" height="129" /></a></p>  <p>Select “numberofemployees” and click OK</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7103.clip_image012_32B8DB6A.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7103.clip_5F00_image012_5F00_32B8DB6A.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image012" border="0" alt="clip_image012" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6840.clip_image012_thumb_0961936C.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6840.clip_5F00_image012_5F00_thumb_5F00_0961936C.jpg" width="551" height="469" /></a></p>  <p>You will now be able to see some meaning ful report</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1715.clip_image014_74FBCDE0.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1715.clip_5F00_image014_5F00_74FBCDE0.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image014" border="0" alt="clip_image014" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2705.clip_image014_thumb_3C8DA708.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2705.clip_5F00_image014_5F00_thumb_5F00_3C8DA708.png" width="556" height="418" /></a></p>  <h4>Task 6</h4>  <p>Now the real hero comes into picture, the Excel Services. Click on the file&gt;Save &amp; Send&gt; Save to SharePoint &gt; double click on “Browser for a location” and locate the SharePoint document library location where the Excel report will be saved</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7266.clip_image016_74EBA813.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7266.clip_5F00_image016_5F00_74EBA813.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image016" border="0" alt="clip_image016" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7585.clip_image016_thumb_2BE5864D.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7585.clip_5F00_image016_5F00_thumb_5F00_2BE5864D.jpg" width="560" height="254" /></a></p>  <p>Navigate to <b>shared document </b>library</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8244.clip_image018_10CCB73F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8244.clip_5F00_image018_5F00_10CCB73F.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image018" border="0" alt="clip_image018" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6574.clip_image018_thumb_669D0956.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6574.clip_5F00_image018_5F00_thumb_5F00_669D0956.png" width="566" height="426" /></a></p>  <p>As soon as you save you see the report in the browser</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8244.clip_image002_6A5AAE26.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8244.clip_5F00_image002_5F00_6A5AAE26.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2330.clip_image002_thumb_5FD9DA06.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2330.clip_5F00_image002_5F00_thumb_5F00_5FD9DA06.png" width="578" height="434" /></a></p>  <p>Verify if its working by selecting the “number of employee” slicer</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7635.clip_image0044_276BB32E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7635.clip_5F00_image0044_5F00_276BB32E.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image004[4]" border="0" alt="clip_image004[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1460.clip_image0044_thumb_401ADA71.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1460.clip_5F00_image0044_5F00_thumb_5F00_401ADA71.png" width="580" height="436" /></a></p>  <p><b>And yes it does </b><b>J</b></p>  <p><b>Ok what happens when the CRM data changes ? Try it – Open an CRM account and change the revenue value , I did for “A store (sample)” frm 10000, to 12000.</b></p>  <p><b><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5141.clip_image006_00F9AA16.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5141.clip_5F00_image006_5F00_00F9AA16.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image006" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3482.clip_image006_thumb_13CE2DC0.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3482.clip_5F00_image006_5F00_thumb_5F00_13CE2DC0.jpg" width="416" height="544" /></a></b></p>  <p><b></b></p>  <p><b>Now go back to the excel service report and click Data&gt; refersh all connection</b></p>  <p><b><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8204.clip_image008_3C899309.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8204.clip_5F00_image008_5F00_3C899309.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image008" border="0" alt="clip_image008" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4062.clip_image008_thumb_4E85B0C9.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4062.clip_5F00_image008_5F00_thumb_5F00_4E85B0C9.jpg" width="584" height="475" /></a></b></p>  <p><b>And see the smooth update of data</b></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7380.clip_image010_7DF41F95.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7380.clip_5F00_image010_5F00_7DF41F95.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image010" border="0" alt="clip_image010" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8345.clip_image010_thumb_0864CDE9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8345.clip_5F00_image010_5F00_thumb_5F00_0864CDE9.png" width="603" height="453" /></a><b></b></p>  <p><b>And this way you can hopefully build complex and more meaning ful reports and publish it in SharePoint. </b></p>  <h4>Enhance this ?</h4>  <p>If you want to show/display the excel workbook anywhere in SharePoint, you can use the Built in “<b>Excel Web Access web part</b>”</p>  <p>Open your SharePoint site and edit the page and add a webpart “Excel Web Access”</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3051.clip_image0024_0497034C.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3051.clip_5F00_image0024_5F00_0497034C.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002[4]" border="0" alt="clip_image002[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8322.clip_image0024_thumb_10B87D73.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8322.clip_5F00_image0024_5F00_thumb_5F00_10B87D73.jpg" width="610" height="277" /></a></p>  <p>Click Add and see the web part added. Now open web part properties</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4135.clip_image0046_47B25BAC.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4135.clip_5F00_image0046_5F00_47B25BAC.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image004[6]" border="0" alt="clip_image004[6]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4113.clip_image0046_thumb_16CFA441.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4113.clip_5F00_image0046_5F00_thumb_5F00_16CFA441.png" width="640" height="481" /></a></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8420.clip_image0064_6C9FF658.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8420.clip_5F00_image0064_5F00_6C9FF658.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image006[4]" border="0" alt="clip_image006[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4604.clip_image0064_thumb_583A30CD.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4604.clip_5F00_image0064_5F00_thumb_5F00_583A30CD.jpg" width="657" height="399" /></a></p>  <p>You will see the properties</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3122.clip_image0084_2EE2E8CF.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3122.clip_5F00_image0084_5F00_2EE2E8CF.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image008[4]" border="0" alt="clip_image008[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1452.clip_image0084_thumb_12F1B3D7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1452.clip_5F00_image0084_5F00_thumb_5F00_12F1B3D7.png" width="667" height="338" /></a></p>  <p>In the workbook Box enter the excel work book location, in my case - <b>\crmrpt/shareddocument/CRM report.xlsx. </b>Click Apply.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1055.clip_image0104_01BDD634.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1055.clip_5F00_image0104_5F00_01BDD634.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image010[4]" border="0" alt="clip_image010[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4760.clip_image0104_thumb_5E4131CE.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4760.clip_5F00_image0104_5F00_thumb_5F00_5E4131CE.png" width="672" height="538" /></a></p>  <p>Further we can just have the chart shown in the site</p>  <p>Change the web part property, Enter Named Item to <b>Chart 1</b> (This is the chart object’s name), if you want to verify open excel and see the chart property</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0451.clip_image0124_0F13C36D.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0451.clip_5F00_image0124_5F00_0F13C36D.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image012[4]" border="0" alt="clip_image012[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3187.clip_image0124_thumb_5F0971EB.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3187.clip_5F00_image0124_5F00_thumb_5F00_5F0971EB.jpg" width="680" height="438" /></a></p>  <p>And It just shows the chart on the home page, </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2514.clip_image0144_4AA3AC60.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2514.clip_5F00_image0144_5F00_4AA3AC60.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image014[4]" border="0" alt="clip_image014[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1524.clip_image0144_thumb_2EB27768.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1524.clip_5F00_image0144_5F00_thumb_5F00_2EB27768.png" width="696" height="523" /></a></p>  <p>To get the chart name see in the Excel, click on the chart object to select it and see the name in ribbon.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6215.clip_image0164_32701C38.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6215.clip_5F00_image0164_5F00_32701C38.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image016[4]" border="0" alt="clip_image016[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6305.clip_image0164_thumb_6969FA71.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6305.clip_5F00_image0164_5F00_thumb_5F00_6969FA71.jpg" width="665" height="197" /></a></p>  <h3></h3>  <h3>Further Enhance this using Connected Web parts</h3>  <p>If you have several reports in the library AND you want to just have <b><i>click and see </i></b>behavior we can create connections between web parts to have that kind of experience. Just ensure that you have multiple reports in the library.</p>  <p>Edit the home page, Add the <b>library</b> that has Excel Reports in it AND add the Excel Web Access webpart on that same page, Configure the Excel Web access to show a report (this would be the default report that it will show). Now click on the menu of the Library &gt;Connections&gt;Send Row of Data To &gt; Excel Web Access Web part.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6886.clip_image0026_4E512B63.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6886.clip_5F00_image0026_5F00_4E512B63.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002[6]" border="0" alt="clip_image002[6]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1680.clip_image0026_thumb_2BACECE8.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1680.clip_5F00_image0026_5F00_thumb_5F00_2BACECE8.jpg" width="698" height="524" /></a></p>  <p>In the following popup menu</p>  <p>Got to Tab 2. Configure Connection&gt; and set the <b>Field name </b>to <b>Document URL&gt; </b>and Finish. Now save and Close the page.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5810.clip_image0048_7ACA357C.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5810.clip_5F00_image0048_5F00_7ACA357C.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image004[8]" border="0" alt="clip_image004[8]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3731.clip_image0048_thumb_5825F701.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3731.clip_5F00_image0048_5F00_thumb_5F00_5825F701.png" width="701" height="463" /></a></p>  <p>See it in action, by selecting the report </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8422.clip_image0066_4CCCBCF7.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8422.clip_5F00_image0066_5F00_4CCCBCF7.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image006[6]" border="0" alt="clip_image006[6]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2148.clip_image0066_thumb_5FA140A1.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2148.clip_5F00_image0066_5F00_thumb_5F00_5FA140A1.jpg" width="723" height="444" /></a></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0676.clip_image007_085CA5EB.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0676.clip_5F00_image007_5F00_085CA5EB.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image007" border="0" alt="clip_image007" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2146.clip_image007_thumb_1B312995.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2146.clip_5F00_image007_5F00_thumb_5F00_1B312995.png" width="439" height="377" /></a></p>  <p>With that I will come back with the 3<sup>rd</sup> and the 4<sup>th</sup> part soon. Thanks for reading.</p>]]></content:encoded>
    </item>
    <item>
      <title>CRM 2011 and SharePoint 2010 Integration - Part 2</title>
      <link>https://docs.microsoft.com/archive/blogs/anand_nigam/crm-2011-and-sharepoint-2010-integration-part-2</link>
      <pubDate>Thu, 19 Jan 2012 18:23:02 GMT</pubDate>
      <dc:creator><![CDATA[Anand.Nigam [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anand_nigam/2012/01/19/crm-2011-and-sharepoint-2010-integration-part-2/</guid>
      <description><![CDATA[&#160;  Technorati Tags: Excel Services sharepoint 2010,crm sharepoint integration,sharepoint crm...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:64bddf04-9526-4ed1-959e-afed45703f21" class="wlWriterEditableSmartContent">Technorati Tags: <a href="https://technorati.com/tags/Excel+Services+sharepoint+2010" rel="tag">Excel Services sharepoint 2010</a>,<a href="https://technorati.com/tags/crm+sharepoint+integration" rel="tag">crm sharepoint integration</a>,<a href="https://technorati.com/tags/sharepoint+crm+integration" rel="tag">sharepoint crm integration</a>,<a href="https://technorati.com/tags/excel+services" rel="tag">excel services</a></div>  <p>Hi SharePoint Folks, </p>  <p>This post comes after a long time after the Part 1. But as the saying goes – <b>better late than never</b>. Here I am back with Part 2, this time we will focus on Reporting CRM information into SharePoint Using Excel services.</p>  <p><s>Part 1: Introduction and CRM 2011 - Document management Integration with SharePoint 2010 </s></p>  <p>Part 2: <i><font color="#ff8000"><strong>Reporting CRM data in SharePoint using Excel services (This post)</strong></font></i></p>  <p>Part 3: Publishing CRM entities in SharePoint.</p>  <p>Part 4: Search CRM entities from SharePoint Enterprise Search.</p>  <p>The word you are thinking is “awesome”, well I know J. Ok let’s cut short the talking and make it work, get ready!</p>  <h4><u>Reporting CRM data in SharePoint using Excel services</u><u></u></h4>  <p>So below is what you will need J</p>  <p>1. CRM 2011 deployment and some sample data (I populated my CRM with built in sample data).</p>  <p>2. A SharePoint 2010 farm, with a web app created</p>  <p>3. This post</p>  <h4><font size="2" face="Segoe UI">What we will achieve by end of this post is to create an excel based report, to – Show all the account’s revenue, and have a filter on accounts based on number of employees . Our first step in the direction of SharePoint –is the SSS i.e. Secure Store Service. We will use Secure Store Service to, create an Application ID, We will use that App ID to retrieve the information from database server where the CRM 2011 is currently connected.</font></h4>  <p>&#160;</p>  <h4>TASK 1</h4>  <p>So we open SharePoint Central admin &gt; Secure Store Service application and Create a New Application ID&gt; and fill in the info as shown in the figure below, </p>  <p>1. Target Application ID – CRMKey</p>  <p>2. Display name – CRMKey</p>  <p>3. Contact E-mail – any valid email address preferably</p>  <p>4. Target Application Type – Keep it to <b>Indivdual</b></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2514.clip_image002_2FEAEE30.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2514.clip_5F00_image002_5F00_2FEAEE30.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1031.clip_image002_thumb_138D8643.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1031.clip_5F00_image002_5F00_thumb_5F00_138D8643.png" width="515" height="262" /></a></p>  <p>Click Next,</p>  <p>Modify the <b>Field name</b> to reflect appropriate application credentials, this is not a necessary step, you could leave the default names as is.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6708.clip_image004_779C514A.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6708.clip_5F00_image004_5F00_779C514A.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image004" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3666.clip_image004_thumb_270AC017.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3666.clip_5F00_image004_5F00_thumb_5F00_270AC017.png" width="528" height="218" /></a></p>  <p>Click Next</p>  <p>Specify who is going to manage the target application, Apart from farm admin, who by default has rights to modify the settings. For now, I have specified my CRM admin’s account – contoso\crm11.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7776.clip_image006_1958040F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7776.clip_5F00_image006_5F00_1958040F.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image006" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8424.clip_image006_thumb_7ABE1365.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8424.clip_5F00_image006_5F00_thumb_5F00_7ABE1365.png" width="532" height="220" /></a></p>  <p>Click Ok and proceed to SSS main page, with our Application ID created.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2161.clip_image008_5819D4EA.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2161.clip_5F00_image008_5F00_5819D4EA.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image008" border="0" alt="clip_image008" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6787.clip_image008_thumb_232CCFAD.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6787.clip_5F00_image008_5F00_thumb_5F00_232CCFAD.png" width="538" height="238" /></a></p>  <p>Here we just need to set the credentials once, Click on the drop down and select Set Credentials</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2158.clip_image010_0EC70A22.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2158.clip_5F00_image010_5F00_0EC70A22.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image010" border="0" alt="clip_image010" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0412.clip_image010_thumb_45C0E85B.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0412.clip_5F00_image010_5F00_thumb_5F00_45C0E85B.jpg" width="548" height="312" /></a></p>  <p>Below is what you will see, in <b>Credentials owner</b> specify the account that will manage this credentials – more simply put – just put the farm admin account here. What is more important here is in the <b>username</b> and <b>password</b> box, you specify the CRM 2011 account who has admin credentials, basically who can create a connection to the database Server of CRM 2011 deployment</p>  <p>I have specified my crm11 admin account and its password. Click Ok to Finish</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2146.clip_image012_7CBAC694.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2146.clip_5F00_image012_5F00_7CBAC694.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image012" border="0" alt="clip_image012" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7848.clip_image012_thumb_2E65BE1D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7848.clip_5F00_image012_5F00_thumb_5F00_2E65BE1D.png" width="563" height="377" /></a></p>  <p>We are DONE with SSS now.</p>  <h4>Task 2 </h4>  <p>Next we will create a Data connection Library, which is a specific type of library where we will store the data connection file (.odc), </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7851.clip_image014_4F95B3F9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7851.clip_5F00_image014_5F00_4F95B3F9.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image014" border="0" alt="clip_image014" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7026.clip_image014_thumb_3B2FEE6E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7026.clip_5F00_image014_5F00_thumb_5F00_3B2FEE6E.png" width="573" height="376" /></a></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0576.clip_image016_1F3EB976.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0576.clip_5F00_image016_5F00_1F3EB976.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image016" border="0" alt="clip_image016" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0488.clip_image016_thumb_47FA1EBF.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0488.clip_5F00_image016_5F00_thumb_5F00_47FA1EBF.png" width="581" height="201" /></a></p>  <p>Now create a library where you want the resulting excel file to be published, this can be any normal library. I am going to use my Shared document library. </p>  <p><b>TASK 3</b></p>  <p>Now one important task, We need to configure excel service to trust the “data connection library” and the “shared documents” . Unless the trust is configured the report would not render.</p>  <p>So Open Excel Service application main page &gt; click on “<b>Trusted File Location</b>”</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0574.clip_image018_33945934.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0574.clip_5F00_image018_5F00_33945934.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image018" border="0" alt="clip_image018" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0160.clip_image018_thumb_187B8A26.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0160.clip_5F00_image018_5F00_thumb_5F00_187B8A26.jpg" width="599" height="485" /></a></p>  <p>Click “<b>Add Trusted File Location”</b></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2234.clip_image002_47E9F8F2.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2234.clip_5F00_image002_5F00_47E9F8F2.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4784.clip_image002_thumb_3B0FA2D4.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4784.clip_5F00_image002_5F00_thumb_5F00_3B0FA2D4.jpg" width="606" height="295" /></a></p>  <p>Enter the shared documents location (and of course remove the trailing /forms/allitems.aspx)</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8475.clip_image004_78BC8A90.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8475.clip_5F00_image004_5F00_78BC8A90.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image004" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0574.clip_image004_thumb_2FB668CA.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0574.clip_5F00_image004_5F00_thumb_5F00_2FB668CA.jpg" width="615" height="248" /></a></p>  <p><b>Tick mark – Children Trusted</b></p>  <p>Scroll down, Under the <b>External Data </b>section Select <b>Trusted data connection libraries only </b>(this is because we will use the connection kept in SharePoint)</p>  <p>Uncheck<b> Refresh warning enabled</b></p>  <p><b><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2100.clip_image006_149D99BC.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2100.clip_5F00_image006_5F00_149D99BC.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image006" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3288.clip_image006_thumb_4B9777F5.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3288.clip_5F00_image006_5F00_thumb_5F00_4B9777F5.jpg" width="630" height="343" /></a></b><b></b></p>  <p>Click on OK</p>  <p>Now go back to Open Excel Service application main page&gt; click on “<b>Trusted Data connection Libraries</b>”</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4265.clip_image008_54A40376.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4265.clip_5F00_image008_5F00_54A40376.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image008" border="0" alt="clip_image008" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4834.clip_image008_thumb_4E7CB6DB.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4834.clip_5F00_image008_5F00_thumb_5F00_4E7CB6DB.jpg" width="643" height="398" /></a></p>  <p>Click on <b>Add Trusted data connection library</b></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6404.clip_image010_25256EDD.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6404.clip_5F00_image010_5F00_25256EDD.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image010" border="0" alt="clip_image010" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4010.clip_image010_thumb_62D25699.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4010.clip_5F00_image010_5F00_thumb_5F00_62D25699.png" width="662" height="440" /></a></p>  <p>Enter the location for <b>data connection library </b>and click OK</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1614.clip_image012_303ED35A.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1614.clip_5F00_image012_5F00_303ED35A.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image012" border="0" alt="clip_image012" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2671.clip_image012_thumb_1526044C.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2671.clip_5F00_image012_5F00_thumb_5F00_1526044C.jpg" width="668" height="330" /></a></p>  <p>The result should like this</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2843.clip_image0144_4C1FE285.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2843.clip_5F00_image0144_5F00_4C1FE285.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image014[4]" border="0" alt="clip_image014[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6866.clip_image0144_thumb_5768F6C2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6866.clip_5F00_image0144_5F00_thumb_5F00_5768F6C2.png" width="675" height="284" /></a></p>  <h4>TASK 4</h4>  <p>After this Next comes the task to create a connection file which will enable Excel to connect to CRM database views</p>  <p>1. Open Excel &gt; Data &gt; From Other Sources&gt; From SQL Server</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4403.clip_image016_5473920F.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4403.clip_5F00_image016_5F00_5473920F.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image016" border="0" alt="clip_image016" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8623.clip_image016_thumb_0B6D7049.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8623.clip_5F00_image016_5F00_thumb_5F00_0B6D7049.jpg" width="693" height="377" /></a></p>  <p>2. Specify the CRM’s SQL server name,</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1680.clip_image018_7DBAB440.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1680.clip_5F00_image018_5F00_7DBAB440.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image018" border="0" alt="clip_image018" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2335.clip_image018_thumb_1FC31007.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2335.clip_5F00_image018_5F00_thumb_5F00_1FC31007.png" width="710" height="489" /></a></p>  <p>3. Specify the <b>Organization database </b>of the CRM, in my case its <b>Fabrikam_MSCRM</b>, and Select FilteredAccount</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0675.clip_image020_30E6C7DD.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0675.clip_5F00_image020_5F00_30E6C7DD.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image020" border="0" alt="clip_image020" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6840.clip_image020_thumb_39872069.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6840.clip_5F00_image020_5F00_thumb_5F00_39872069.png" width="727" height="522" /></a></p>  <p>4. On the next screen, click <b>Authentication Settings</b> next to <b>Excel Services</b>, and enter the SSS Application ID we created</p>  <p>1.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1727.clip_image0024_01A4B679.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1727.clip_5F00_image0024_5F00_01A4B679.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002[4]" border="0" alt="clip_image002[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5531.clip_image0024_thumb_31EB8B2F.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5531.clip_5F00_image0024_5F00_thumb_5F00_31EB8B2F.jpg" width="440" height="358" /></a></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7181.clip_image0044_2BC43E94.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7181.clip_5F00_image0044_5F00_2BC43E94.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image004[4]" border="0" alt="clip_image004[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7563.clip_image0044_thumb_547FA3DD.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7563.clip_5F00_image0044_5F00_thumb_5F00_547FA3DD.png" width="454" height="381" /></a></p>  <p>&#160;</p>  <p>1. Click ok and come back to the wizard, Now clik on Browse and save the connection file to SharePoint Data connection library</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1307.clip_image0024_5EF05230.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1307.clip_5F00_image0024_5F00_5EF05230.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002[4]" border="0" alt="clip_image002[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0317.clip_image0024_thumb_62ADF700.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0317.clip_5F00_image0024_5F00_thumb_5F00_62ADF700.png" width="471" height="339" /></a></p>  <p>Click Finish in the wizard, after the wizard finishes just click on OK, in the property window that pops up</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0726.clip_image0046_0A90F660.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0726.clip_5F00_image0046_5F00_0A90F660.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image004[6]" border="0" alt="clip_image004[6]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5584.clip_image0046_thumb_6F782751.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5584.clip_5F00_image0046_5F00_thumb_5F00_6F782751.png" width="466" height="362" /></a></p>  <p>Then just hit cancel and exit out of Excel.</p>  <p>2. Now click Save, Once saved, Go to SharePoint data connection library and Approve the connection file, as shown below</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5100.clip_image0064_61C56B49.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5100.clip_5F00_image0064_5F00_61C56B49.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image006[4]" border="0" alt="clip_image006[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/5008.clip_image0064_thumb_2B081045.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/5008.clip_5F00_image0064_5F00_thumb_5F00_2B081045.jpg" width="504" height="387" /></a></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/3857.clip_image0084_6848C50C.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/3857.clip_5F00_image0084_5F00_6848C50C.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image008[4]" border="0" alt="clip_image008[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7230.clip_image0084_thumb_4D2FF5FE.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7230.clip_5F00_image0084_5F00_thumb_5F00_4D2FF5FE.png" width="533" height="407" /></a></p>  <h4>TASK 5</h4>  <p>Let’s now create an Simple Excel Report. Open Excel &gt; Data&gt; Existing Connections&gt; Click on <b>Browse for More</b> and specify the SharePoint data connection library location, and click open.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6646.clip_image0104_#4816.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6646.clip_5F00_image0104_5F00_23004816.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image010[4]" border="0" alt="clip_image010[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/2746.clip_image0104_thumb_0636AD34.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/2746.clip_5F00_image0104_5F00_thumb_5F00_0636AD34.png" width="545" height="410" /></a><b></b></p>  <p>Now you will get the Import data prompt , select <b>Pivotchart and Pivotable Report</b>, and click Ok</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4186.clip_image0124_10A75B87.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4186.clip_5F00_image0124_5F00_10A75B87.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image012[4]" border="0" alt="clip_image012[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/7217.clip_image0124_thumb_67501388.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/7217.clip_5F00_image0124_5F00_thumb_5F00_67501388.png" width="534" height="377" /></a><b></b></p>  <p><b></b></p>  <p>You get the Pivot chart on the Excel worksheet</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/6131.clip_image0146_4A8678A6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/6131.clip_5F00_image0146_5F00_4A8678A6.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image014[6]" border="0" alt="clip_image014[6]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0358.clip_image0146_thumb_121851CE.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0358.clip_5F00_image0146_5F00_thumb_5F00_121851CE.png" width="550" height="414" /></a><b></b></p>  <p><b></b></p>  <p>Now Coming back to our objective to –“– Show all the account’s revenue, and filter to filter the accounts based on number of employees”</p>  <p>We will drag the Field “Name” to “Axis Fields (categories)” box, By the way the fields are sorted in alphabetical order, it should be easy to find fields.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0777.clip_image0028_1C890021.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0777.clip_5F00_image0028_5F00_1C890021.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002[8]" border="0" alt="clip_image002[8]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0456.clip_image0028_thumb_01703113.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0456.clip_5F00_image0028_5F00_thumb_5F00_01703113.jpg" width="503" height="631" /></a></p>  <p>Next drag the “revenue” field to “Values” box, </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/4075.clip_image0044_2A2B965C.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/4075.clip_5F00_image0044_5F00_2A2B965C.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image004[4]" border="0" alt="clip_image004[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/0250.clip_image0044_thumb_0F12C74E.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/0250.clip_5F00_image0044_5F00_thumb_5F00_0F12C74E.jpg" width="551" height="444" /></a></p>  <p>The end result is as below</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/8863.clip_image0066_4CBFAF0A.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/8863.clip_5F00_image0066_5F00_4CBFAF0A.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image006[6]" border="0" alt="clip_image006[6]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/50/metablogapi/1401.clip_image0066_thumb_57305D5D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-50-metablogapi/1401.clip_5F00_image0066_5F00_thumb_5F00_57305D5D.png" width="553" height="384" /></a></p>  <p>You will notice the pivot table shows the COUNT of the revenue, which is not what we want, we want to see the number, so right click on the “revenue” or “count of revenue”</p>  <p><strong><a href="https://blogs.technet.com/b/anand_nigam/archive/2012/01/20/crm-2011-and-sharepoint-2010-integration-part-2-continued.aspx" target="_blank">Continued in Page 2</a></strong></p>]]></content:encoded>
    </item>
  </channel>
</rss>