<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-3101394961765670978</atom:id><lastBuildDate>Fri, 23 Jan 2026 20:09:01 +0000</lastBuildDate><category>JavaScript</category><title>CRMScape</title><description>Mark Kovalcson&#39;s MS CRM blog focusing on MS CRM as an agile development environment and integration tool.</description><link>http://crmscape.blogspot.com/</link><managingEditor>noreply@blogger.com (Mark Kovalcson)</managingEditor><generator>Blogger</generator><openSearch:totalResults>54</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-5192510173504346485</guid><pubDate>Sat, 03 Mar 2018 12:42:00 +0000</pubDate><atom:updated>2018-03-03T07:42:54.617-05:00</atom:updated><title>MS CRM ActivityParty REST Queries</title><description>I recently had to create a rollup display showing all activities under a 
given entity. Pulling the sender or receiver out of an email activity requires a 
few steps.&lt;br /&gt;
&lt;br /&gt;
Adding confusion the email entity has a text field &lt;span style=&quot;color: blue;&quot;&gt;ToRecipients&lt;/span&gt; which is an accumulated convenience text 
field. I would avoid using it as it is not complete if an email is sent to an 
email address that is not associated with a CRM contact, user etc.  In this 
case the &lt;span style=&quot;color: blue;&quot;&gt;ToRecipients &lt;/span&gt;field will be null 
and the activity party &lt;span style=&quot;color: blue;&quot;&gt;AddressUsed &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;field must be evaluated&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
To fully reach the sender and receivers of email activities from an &lt;span style=&quot;color: blue;&quot;&gt;ActivityPointer &lt;/span&gt;query, the REST query needs 
to expand to include the &lt;span style=&quot;color: blue;&quot;&gt;activitypointer_activity_parties&lt;/span&gt; link table. You will need 
the &lt;span style=&quot;color: blue;&quot;&gt;ParticipationTypeMask&lt;/span&gt; to find out the role of 
each related activityparty, and both the &lt;span style=&quot;color: blue;&quot;&gt;AddressUsed&lt;/span&gt; 
and &lt;span style=&quot;color: blue;&quot;&gt;PartyId&lt;/span&gt;&amp;nbsp;attributes.&lt;br /&gt;
&lt;br /&gt;
Below is a sample query for all activities (&lt;span style=&quot;color: green;&quot;&gt;ActivityPointer&lt;/span&gt;) related to an entity.&lt;br /&gt;
&lt;div class=&quot;wlWriterEditableSmartContent&quot; contenteditable=&quot;false&quot; id=&quot;scid:9D7513F9-C04C-4721-824A-2B34F0212519:d1a2999c-124e-4454-bee2-50f8613f38b7&quot; style=&quot;display: inline; float: none; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre style=&quot;background-color: #eaeaea; height: 200px; overflow: auto; width: 639px;&quot;&gt;&lt;div&gt;
&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; retrieveActivities() {

  &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; caseId &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; AllCases[ProcessCaseIndex].Id;

  &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; parameters &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;$select=ActivityId, RegardingObjectId, Subject, ActivityTypeCode, CreatedOn, ScheduledStart, Description, StateCode, OwnerId&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;
  &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; expandParameters &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;,activitypointer_activity_parties/ParticipationTypeMask,activitypointer_activity_parties/PartyId,activitypointer_activity_parties/AddressUsed &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;; 
  &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; expand &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;amp;$expand=activitypointer_activity_parties&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;; 
  &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; filter &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;amp;$filter=RegardingObjectId/Id eq (guid&#39;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; caseId &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&#39;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;
  &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; orderby &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;amp;$orderby=CreatedOn&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;
  &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; options &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; parameters &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; expandParameters &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; expand &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; orderby &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; filter;
  SDK.REST.retrieveMultipleRecords(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;ActivityPointer&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, options, retrieveActivitiesCallBack, &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; (error) { alert(error.message); }, activitiesRetrieveComplete);
}&lt;/span&gt;&lt;/div&gt;
&lt;/pre&gt;
&lt;!-- Code inserted with Steve Dunn&#39;s Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;
&lt;br /&gt;
The &lt;span style=&quot;color: green;&quot;&gt;ActivityPointer&lt;/span&gt;.&lt;span style=&quot;color: blue;&quot;&gt;ActivityTypeCode &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;specifies the activity 
types:&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;span style=&quot;color: black;&quot;&gt;
&lt;/span&gt;
&lt;li&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;email, appointment, phonecall, task, letter, fax, 
serviceappointment, campaignactivity, bulkoperation&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: black;&quot;&gt;caseresolution, opportunityclose, quoteclose, 
campaignresponse&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;The &lt;span style=&quot;color: blue;&quot;&gt;ParticipationTypeMask&lt;/span&gt; specifies the activity party 
role.&lt;/span&gt;&lt;br /&gt;
1 From, 2 To, 3 CC, 4 BCC, Owner 9, Regarding 8, and a number of others.&lt;br /&gt;
&lt;br /&gt;
In the following code snipet we are just looking for the Sender or From activity party for email activities. The &lt;span style=&quot;color: blue;&quot;&gt;PartyId.Name&lt;/span&gt; is used if available otherwise it looks at the 
&lt;span style=&quot;color: blue;&quot;&gt;AddressUsed&lt;/span&gt; field, but this field is used in all the other email activity parties (From, To, CC, BCC).&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;

&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;wlWriterEditableSmartContent&quot; contenteditable=&quot;false&quot; id=&quot;scid:9D7513F9-C04C-4721-824A-2B34F0212519:eb73170f-1539-46b4-a46c-f2e93c4a4a88&quot; style=&quot;display: inline; float: none; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre style=&quot;background-color: #eaeaea; height: 490px; overflow: auto; width: 639px;&quot;&gt;&lt;div&gt;
&lt;span style=&quot;color: black;&quot;&gt;
&lt;/span&gt;
&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style=&quot;color: black;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; retrieveActivitiesCallBack(retrievedActivities) {                            
      
        &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; i &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;; i &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; retrievedActivities.length; i&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;) {

            &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; activity &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; retrievedActivities[i]; 
            
            &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; type &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; activity.ActivityTypeCode;
            
            &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; (type &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;==&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;email&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;) {                    
                        
            &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; activityParties &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; activity.activitypointer_activity_parties.results;
                                    
            &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; j &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;; j &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; activityParties.length; j&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;) {

                &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; activityMask &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; activityParties[j].ParticipationTypeMask.Value;

                &lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt; Sender Only&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;                &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; (activityMask &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;==&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;) {
                   &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; (activityParties[j].PartyId.Name &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;==&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;) {
                        senderName &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; activityParties[j].AddressUsed
                   }
                   &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;else&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; {
                        senderName &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; activityParties[j].PartyId.Name;
                   }
                 &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;break&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;
                 }
           }
    }                                    
        &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;
&lt;/pre&gt;
&lt;!-- Code inserted with Steve Dunn&#39;s Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;
</description><link>http://crmscape.blogspot.com/2018/03/ms-crm-activityparty-rest-queries.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-1581677689750435707</guid><pubDate>Fri, 15 Dec 2017 14:22:00 +0000</pubDate><atom:updated>2017-12-15T09:22:17.221-05:00</atom:updated><title>MS CRM Email Template with dynamic id in link</title><description>You are trying to create a custom email to a group of contacts and want to create a URL with a contactid in the query string to customize what they see when they click on that link.&lt;br /&gt;
&lt;br /&gt;
It turns out that you need to understand two things to make this work.&lt;br /&gt;
&lt;br /&gt;
In the Template Editor when you press &lt;b&gt;Insert/Update&lt;/b&gt; there is no option for the contactid.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
#1 Generating a contact id&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
To create a contactid merge field you need to type the following which is case sensitive.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;{!contact:contactid;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;Now Save the Template and this text will turn into a working merge field that returns the contact id of the contact the email is being sent to.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;{!Contact:Contact;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
#2 Be careful about links in the Email Template Editor&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
The following two lines will not be processed the same way when the emails are sent.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;The following line will be merged properly and the contact&#39;s email browser will typically display a link.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;https://www.myportal.com/OrderService.aspx?id=&lt;/span&gt;&lt;a href=&quot;https://phillips.crm.phillipscorp.com:5556/PhillipsPortal/OrderService.aspx?id=%7b%21Contact:Contact%3b%7d&amp;amp;type=0&quot; style=&quot;background-color: white; border: none; color: darkblue; font-family: Tahoma, Verdana, Arial; font-size: 12px;&quot;&gt;&lt;span class=&quot;dataslug&quot; data-value=&quot;{!contact:contactid;}&quot; id=&quot;TemplateEditor1&quot; style=&quot;background-color: rgb(255, 255, 51) !important; border: 1px solid black;&quot; tabindex=&quot;-1&quot;&gt;{!Contact:Contact;}&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;&amp;amp;type=0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;u&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;This line may surprise you since the email will look fine but the link won&#39;t work.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;u&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;https://www.myportal.com/OrderService.aspx?id=&lt;/span&gt;&lt;a href=&quot;https://phillips.crm.phillipscorp.com:5556/PhillipsPortal/OrderService.aspx?id=%7b%21Contact:Contact%3b%7d&amp;amp;type=0&quot; style=&quot;background-color: white; border: none; font-family: Tahoma, Verdana, Arial; font-size: 12px;&quot;&gt;&lt;span class=&quot;dataslug&quot; data-value=&quot;{!contact:contactid;}&quot; id=&quot;TemplateEditor1&quot; style=&quot;background-color: rgb(255, 255, 51) !important; border: 1px solid black;&quot; tabindex=&quot;-1&quot;&gt;{!Contact:Contact;}&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;&amp;amp;type=0&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;What you get is the following:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinoNamA94t0RPVhunZk-iIunmH7NRPtnd5X8W4xzGqbyVf2l9LHxv9D6vZ0tJt65jfIUnOUg70ccPv61Q1dMOwAVnfQYskLP7pysyxtCATaPRZJtDyw_oQAK4kXMyimXIEAgY4_UrAI9UP/s1600/sourcelink.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;83&quot; data-original-width=&quot;761&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinoNamA94t0RPVhunZk-iIunmH7NRPtnd5X8W4xzGqbyVf2l9LHxv9D6vZ0tJt65jfIUnOUg70ccPv61Q1dMOwAVnfQYskLP7pysyxtCATaPRZJtDyw_oQAK4kXMyimXIEAgY4_UrAI9UP/s1600/sourcelink.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;

&lt;span style=&quot;font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 12px;&quot;&gt;Notice that the &lt;b&gt;text&lt;/b&gt; of the link is merged, but the &lt;b&gt;href &lt;/b&gt;value is not.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;arial&amp;quot;;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3&gt;
What if you want a nicely formatted link?&lt;/h3&gt;
Please click &lt;u&gt;&lt;span style=&quot;color: blue;&quot;&gt;here&lt;/span&gt;&lt;/u&gt; to find out more!&lt;br /&gt;
&lt;br /&gt;
At this point I &quot;believe&quot; your only course of action is to manually modify the XML in the email template body in SQL. I haven&#39;t tried that yet, but will post additional information if I do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description><link>http://crmscape.blogspot.com/2017/12/ms-crm-email-template-with-dynamic-id.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinoNamA94t0RPVhunZk-iIunmH7NRPtnd5X8W4xzGqbyVf2l9LHxv9D6vZ0tJt65jfIUnOUg70ccPv61Q1dMOwAVnfQYskLP7pysyxtCATaPRZJtDyw_oQAK4kXMyimXIEAgY4_UrAI9UP/s72-c/sourcelink.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-4783647590635544429</guid><pubDate>Wed, 04 Oct 2017 12:00:00 +0000</pubDate><atom:updated>2017-10-04T08:00:01.151-04:00</atom:updated><title>MS Dynamics CRM  Web Resources  Basic Starter Page </title><description>When creating a Web Resource Page in MS CRM there are some basic parts that I&#39;ve tend to use in all of my pages. These are all contained in the script block above the body.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;User Information:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;UserId = Xrm.Page.context.getUserId();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;UserName = Xrm.Page.context.getUserName();&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Query String parameters to drive the page&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;QueryStringParameters = Xrm.Page.context.getQueryStringParameters();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;QueryStringParm = &quot;None&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;if (QueryStringParameters[&quot;feature&quot;] != null) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;QueryStringParm = QueryStringParameters[&quot;feature&quot;].toString();&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Entity Id&amp;nbsp; - when you are running in a Form iframe and the entity has been saved.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;EntityId = window.parent.Xrm.Page.data.entity.getId();&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Id = QueryStringParameters[&quot;id&quot;].toString();&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Trigger for Query&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; document.onreadystatechange = function () {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (document.readyState == &quot;complete&quot;) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Typically call a query to populate the page&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Function to Open a CRM Form in a new window&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; function OpenCRMForm(entityName, entityId) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var windowOptions = {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;openInNewWindow: true&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;};&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Xrm.Utility.openEntityForm(entityName, entityId, null, windowOptions);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;}</description><link>http://crmscape.blogspot.com/2017/10/ms-dynamics-crm-web-resources-basic.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-3225565985378920044</guid><pubDate>Sat, 25 Jul 2015 12:56:00 +0000</pubDate><atom:updated>2015-07-25T08:56:45.761-04:00</atom:updated><title>On Premises MS CRM 2011 to CRM 2015 Upgrade</title><description>&lt;p&gt;Other than my CRM Online customers, the rest of my customer base which are using on premises systems still run CRM 2011 and are looking to upgrade to CRM 2015. While my customer base is a small subset of the microcosm, I am betting they are not alone. This is a high level overview that I will modify and embellish over time.&lt;/p&gt;  &lt;p&gt;This upgrade will need to be done in stages and will require an intermediate upgrade to CRM 2013.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Upgrade your SQL server system if necessary: &lt;/p&gt;  &lt;p&gt;CRM 2015 discontinues support for SQL Server 2008 / 2008R2&lt;/p&gt;  &lt;p&gt;However CRM 2015 continues to support Windows 2008 / 2008R2&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Any CRM 4.0 SDK solutions will no longer be supported, so make sure that all of your solutions are using the CRM 2011 SDK as a starting point.&amp;#160; This includes all of your plugins, custom workflows, web applications and scheduled applications that use the CRM API.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; it is recommended that CRM 2011 should be updated to Rollup 14 before starting.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; Run the Custom Code Validation Tool to test your JavaScript Form customizations. &lt;a title=&quot;http://blogs.msdn.com/b/crm/archive/2012/06/21/microsoft-dynamics-crm-2011-custom-code-validation-tool-released.aspx&quot; href=&quot;http://blogs.msdn.com/b/crm/archive/2012/06/21/microsoft-dynamics-crm-2011-custom-code-validation-tool-released.aspx&quot;&gt;http://blogs.msdn.com/b/crm/archive/2012/06/21/microsoft-dynamics-crm-2011-custom-code-validation-tool-released.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 5:&lt;/strong&gt; Run the &lt;a href=&quot;http://go.microsoft.com/fwlink/p/?LinkID=309565&quot; target=&quot;_blank&quot;&gt;Legacy Feature Check Tool&lt;/a&gt; to see if you are still using any CRM 4.0 API calls. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Warning:&lt;/strong&gt;&amp;#160; Inventory any SQL Views or direct SQL queries or updates that you may have created against the actual CRM database tables. It is recommended to always use the CRM Views and not access the CRM database directly, but in the event that you did anything unsupported, the Base and Extension tables will be merged at the end of this process.&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;4&quot;&gt;Running the CRM 2013 Upgrade&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;There are 3 upgrade options ranging from upgrading In-place which is over the top of your existing system to migrating your data from your existing CRM system to a completely new CRM 2013 system.&amp;#160; &lt;/p&gt;  &lt;p&gt;If you have VM’s you will want to try the In-place upgrade first as it updates similar to a rollup and if successful is the fastest.&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;4&quot;&gt;CRM 2013 Modifications&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Optional 1:&lt;/strong&gt; Most of the XRM systems I’ve worked on have numerous plugins that fire when the vast majority of the CRM entities are modified. If you have a large number of plugins that fire like this and your system could be bogged down by frequent saves by your users, you may consider disabling the new Autosave feature in 2013 at least initially.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://blogs.msdn.com/b/crm/archive/2013/10/15/manage-auto-save.aspx&quot;&gt;http://blogs.msdn.com/b/crm/archive/2013/10/15/manage-auto-save.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This feature can be disabled on a form by form basis later. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Optional 2:&lt;/strong&gt; Microsoft recommends migrating to the new forms created for each entity in 2013.&amp;#160; The CRM 2011 forms will be named “Information”. The new 2013 forms will have the entity name like “Account”.&amp;#160; From the new entity form there is a Merge feature that will pull the customizations from the 2011 form and put those customizations at the bottom of the form.&amp;#160; There will be some work to clean these forms up. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Optional 3:&lt;/strong&gt; You can merge your database in 2013 however this is a required step in the CRM 2015 Upgrade, so I prefer to let the latest upgrade code take care of this step. This is the merger of the Base and Extension tables in the CRM database. &lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;4&quot;&gt;Running the CRM 2015 Upgrade&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;There are 3 upgrade options ranging from upgrading In-place which is over the top of your existing system to migrating your data from your existing CRM system to a completely new CRM 2013 system. &lt;/p&gt;  &lt;p&gt;Since this is the step when the database tables will be merged, I would suggest going with the MS recommendation to migrate from the Updated 2013 system to a fresh CRM 2015 system especially on a production system. If you have VM copies to play with, upgrading In-place is less of a risk.&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;4&quot;&gt;CRM 2015 Modifications&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;MS says that CRM 2015 will use CRM 2011 SDK plugins but substitute calls to the 2011 SDK with calls from the CRM 2015 SDK.&lt;/p&gt;  &lt;p&gt;However there are some important changes that need to be handled.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;As of CRM 2015 Update 1 which is currently only used on CRM Online as I type this.&amp;#160; &lt;/strong&gt;For plugin registration the SetState and Assign messages have been deprecated. Ownership and the state of an entity can now be changed using Update rather than separate AssignRequest and SetStateRequest messages.&lt;/p&gt;  &lt;p&gt;Once your plugins are registered to fire on “Update” make sure to set their filtering attributes to be appropriate&amp;#160; “ownerid” and “statecode” for example and you may need to check your execution order if you have other plugins firing on the Update of an entity.&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2015/07/on-premises-ms-crm-2011-to-crm-2015.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-937441060687142262</guid><pubDate>Fri, 04 Apr 2014 16:25:00 +0000</pubDate><atom:updated>2014-04-04T12:25:09.287-04:00</atom:updated><title>MS CRM 2013 Online upgrade to Office 365 authentication</title><description>&lt;p&gt;Recently many CRM Online customers were transitioned from Live ID to Office 365 authentication.&lt;/p&gt;  &lt;p&gt;The result is that the earlier Live ID users accounts no longer exist and any software still using Live ID authentication stopped working.&lt;/p&gt;  &lt;p&gt;This requires updating how any portal code authenticates and using a new Office 365 user account to authenticate with.&lt;/p&gt;  &lt;p&gt;In addition the CRM 2013 Email Router needs to be reconfigured and updated to the Rollup 2 version ( at this moment in time ).&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;5&quot;&gt;O365 Authentication&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;If you start with the latest CRM 2013 SDK&amp;#160; example AuthenticateWithNoHelp solution, you can add the code snippet below to the file&amp;#160; AuthenticateWithNoHelp.cs to get O365 authentication to work.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHU6zXJyz9CQwngQfPVL3fwAPdXsxoUBIgdDAlbrjKVcaLBwRirj9oJu5jQ3-Eg2GPQ-HGCjG2AIYIWPBnsjvFJt2nXXiG6IOkut33ItlByPq60ePRHUCuLQb4nKnKAXzQ9XM9hvwDh2gK/s1600-h/image%25255B22%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieBHo_qIdqNqAJuFOAkXdYMV6mENELjsU1I5EQleCePS2JLivlqHddnYM7n3o7rEJIJPsoiZsnybL30ALWp9mgnwXQSA0tRwNg3mVjNMoDiMRV436x9-PGWPLEPyZOdlmCrxFnSjnfWuiS/?imgmax=800&quot; width=&quot;572&quot; height=&quot;425&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;First open and compile this solution. Than add the code snippet below to the AuthenticationWithNoHelp class.&lt;/p&gt;  &lt;p&gt;The following gives you an &lt;font color=&quot;#0080c0&quot;&gt;IOrganizationService&lt;/font&gt; and an &lt;font color=&quot;#0080c0&quot;&gt;IOrganizationServiceContext&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;If you are incorporating this into an existing CRM 2011 solution, you will need to update your &lt;strong&gt;Microsoft.Xrm.Client&lt;/strong&gt; and &lt;strong&gt;Microsoft.Xrm.Sdk&lt;/strong&gt; references.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;The global variables beginning with underscores are used internally in the AuthenticationWithNoHelp class. Substitute your organization name for {orgname}.&lt;/font&gt;&lt;/p&gt;  &lt;div id=&quot;codeSnippetWrapper&quot;&gt;   &lt;div&gt;     &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;&lt;p&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; IOrganizationService OrgService { get; set; }&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; OrganizationServiceContext OrgContext { get; set; }&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;private&lt;/span&gt; String _discoveryServiceAddress = &lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;https://dev.crm.dynamics.com/XRMServices/2011/Discovery.svc&amp;quot;&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;private&lt;/span&gt; String _userName = &lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;newusername@{orgname}.onmicrosoft.com&amp;quot;&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;private&lt;/span&gt; String _password = &lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;password&amp;quot;&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;private&lt;/span&gt; String _domain = &lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;; &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; Authenticate()&lt;br /&gt;{&lt;br /&gt;    IServiceManagement&amp;lt;IDiscoveryService&amp;gt; serviceManagement = ServiceConfigurationFactory.CreateManagement&amp;lt;IDiscoveryService&amp;gt;(&lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; Uri(_discoveryServiceAddress));&lt;br /&gt;    AuthenticationProviderType endpointType = serviceManagement.AuthenticationType;&lt;br /&gt;    &lt;br /&gt;    IServiceManagement&amp;lt;IOrganizationService&amp;gt; orgServiceManagement = ServiceConfigurationFactory.&lt;br /&gt;        CreateManagement&amp;lt;IOrganizationService&amp;gt;( &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; Uri(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;https://{orgname}.api.crm.dynamics.com/XrmServices/2011/Organization.svc &amp;quot;&lt;/span&gt;));&lt;br /&gt;&lt;br /&gt;    AuthenticationCredentials credentials = GetCredentials(orgServiceManagement, endpointType);&lt;br /&gt;    &lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;using&lt;/span&gt; (OrganizationServiceProxy organizationProxy =&lt;br /&gt;        GetProxy&amp;lt;IOrganizationService, OrganizationServiceProxy&amp;gt;(orgServiceManagement, credentials))&lt;br /&gt;    {&lt;br /&gt;        OrgService = organizationProxy;&lt;br /&gt;&lt;br /&gt;        organizationProxy.EnableProxyTypes();&lt;br /&gt;     &lt;br /&gt;        OrgContext = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; OrganizationServiceContext(organizationProxy);&lt;br /&gt;    }&lt;br /&gt;}&lt;/p&gt;&lt;/pre&gt;
  &lt;/div&gt;

  &lt;div&gt;
    &lt;br /&gt;&lt;font size=&quot;5&quot;&gt;Email Router&lt;/font&gt;&lt;/div&gt;

  &lt;div&gt;If you are running an older version of the email router update to the appropriate 32 or 64 bit version found here.&lt;/div&gt;
  &lt;a title=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=42272&quot; href=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=42272&quot;&gt;http://www.microsoft.com/en-us/download/details.aspx?id=42272&lt;/a&gt;

  &lt;br /&gt;Install and reboot.&lt;/div&gt;

&lt;div&gt;&amp;#160;&lt;/div&gt;

&lt;div&gt;To reconfigure your Email Router:&lt;/div&gt;

&lt;div&gt;1. Change the Server URL&amp;#160; from &lt;strong&gt;dev&lt;/strong&gt;.crm.dynamics.com to &lt;strong&gt;disco&lt;/strong&gt;.crm.dynamics.com&lt;/div&gt;

&lt;div&gt;2. Change the User Name and Password to new a new Office 365 account&lt;/div&gt;

&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdpr2qN2clIkLqZw96bP8Q5gh0zkF-8vlMG7UQoTMAmDv1nvAmPC6svtR5yJEKyZkTZc02FeR-SYFdCRV4NFZiYXPFGnGqxwz5BCq-mpIPVDBRBO4bmi-Sjar14XneHMdBkNMEQXOJdBhE/s1600-h/image%25255B13%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg7xVWkZe3UbTP5rzyCdSwoaSzVo9kwczb48_tnpmXLKIhgkru6zVPX4GdgwId9gPxGQHLpdJgWM7sEI8qBoGCl-1hGutYeDw-qZ3TM40Vc75M6V_Fd7p2pVwFs0ehENSVWpib4iSZDtBL/?imgmax=800&quot; width=&quot;554&quot; height=&quot;621&quot; /&gt;&lt;/a&gt;&lt;/div&gt;





&lt;p&gt;Then under Configuration Profiles Set the Outgoing Access Credentials to match the Office 365 Credentials used above.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0eXv9i2pPE-sMrbWoE7zZFp_VYQhThEGWiPvB7O2SQDNuplrB8oYiudj6J2BZtYMq0I72bEQTT7oI8oXqG_i4LrWRnl524X6qwY75YpteoY-79nVhNoYeUQEDCputhyNoMfluR8q7jgei/s1600-h/image%25255B18%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqi2E__-d-IxtUqUKwIr9Ldey4PbUp2Uiqp1UTpEIIHDXupMPZKfaxS50pldICz-hVDeo4vsbGxjlDW_zinFg74hyphenhyphenIErWzdYnn1CQLieQrHe3D6fBCteDNQ0x6nARYG5-eDzGf109jkV_i/?imgmax=800&quot; width=&quot;558&quot; height=&quot;688&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now &lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Publish your changes&lt;/li&gt;

  &lt;li&gt;Load Data&lt;/li&gt;

  &lt;li&gt;Test Access&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That may not cover every Email Router configuration change, but it should cover most of them.&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2014/04/ms-crm-2013-online-upgrade-to-office.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieBHo_qIdqNqAJuFOAkXdYMV6mENELjsU1I5EQleCePS2JLivlqHddnYM7n3o7rEJIJPsoiZsnybL30ALWp9mgnwXQSA0tRwNg3mVjNMoDiMRV436x9-PGWPLEPyZOdlmCrxFnSjnfWuiS/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-4814551170905127370</guid><pubDate>Sat, 04 Aug 2012 12:29:00 +0000</pubDate><atom:updated>2012-08-04T08:54:09.810-04:00</atom:updated><title>MS CRM and Portals (fast caching method)</title><description>&lt;p&gt;Let’s say that you have a portal application that is very data driven by highly related data, or that has some displays that require a lot of heavily related data to very flexibly dynamically build the controls on the pages.&amp;#160; Leveraging the quick prototyping of MS CRM to design your schema, and managing this controlling data within&amp;#160; MS CRM helps abstract away a lot of grunt work and very quickly get&amp;#160; your portal online,&amp;#160; but the time required to retrieve a long stream of related data by web services is affecting the performance of your website. Because your pages are very data driven depending on the user who logs in some of the website caching available out of the box isn’t helping much because of many web services calls required to customized the information.&lt;/p&gt;  &lt;p&gt;What if you could cache all of this related data that you needed in an extremely quick and efficient way so that the portal could get the data that drives it in an nearly instant way?&lt;/p&gt;  &lt;p&gt;In this example there is a MS CRM Online system and an interactive Dashboard displayed on a Portal. This is a simple example, but the real project contains a very large amount of data nested many levels deep.&amp;#160; All the queries by web services would take well over a minute or two to run, but a typical portal user is not that patient.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Caching Mechanism&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Advantages of this mechanism:&lt;/p&gt;  &lt;p&gt;1. Requires a single select to a local database to fetch extremely complex relational data that is already organized into a consumable format.&lt;/p&gt;  &lt;p&gt;2. Utilizes a background task to do the heavy lifting to keep things up to date without the portal user having to wait for a many web services calls to MS CRM and also allows for processing of the raw data if need be.&lt;/p&gt;  &lt;p&gt;3. Can be part of a plan to allow a portal to be self sufficient for periods of time when the CRM system is not available.&lt;/p&gt;  &lt;p&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;&lt;strong&gt;Overview&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color=&quot;#4f81bd&quot; size=&quot;2&quot;&gt;&lt;strong&gt;Part 1: Filling the Cache&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Query data from MS&amp;#160; CRM via web services in a background task. This could be a scheduled applications or service on a timer that keeps the cached updated. &lt;/li&gt;    &lt;li&gt;Put data into related serializable containers under one container with all of the information needed for a single account in the format needed to drive your application. &lt;/li&gt;    &lt;li&gt;Serialize this container &lt;/li&gt;    &lt;li&gt;Write it to the local SQL database as a single blob with an identifier. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;font color=&quot;#4f81bd&quot; size=&quot;2&quot;&gt;&lt;strong&gt;Part 2: Reading the Cache:&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;With a single select from the local database return the entire blob of information needed. &lt;/li&gt;    &lt;li&gt;Deserialize this blob &lt;/li&gt;    &lt;li&gt;Cast it to the Parent container class. &lt;/li&gt;    &lt;li&gt;Consume it in your Portal application. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;strong&gt;Example Code&lt;/strong&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;This example is very simplistic. The class structure and queries to pull MS CRM data can be as complex as needed. The real gains to using this are when there is a lot of related data requiring a large number of queries.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color=&quot;#4f81bd&quot; size=&quot;2&quot;&gt;Nested Serialized Classes&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;All classes must be serializable. The top level container class will contain all other containers or lists of containers&lt;/p&gt;  &lt;div id=&quot;codeSnippetWrapper&quot;&gt;   &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;using&lt;/span&gt; System;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;using&lt;/span&gt; System.Collections.Generic;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;using&lt;/span&gt; System.Data;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;using&lt;/span&gt; System.Data.SqlClient;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;using&lt;/span&gt; System.IO;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;using&lt;/span&gt; System.Linq;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;using&lt;/span&gt; System.Web;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;using&lt;/span&gt; System.Xml;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;using&lt;/span&gt; System.Xml.Serialization;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// Top Level Serializable Container &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// All classes contained must also be serializable &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;br /&gt;[Serializable]&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;class&lt;/span&gt; DashboardBlob&lt;br /&gt;{&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; Guid AccountId;&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; DateTime LastUpdated;&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; List&amp;lt;ContactS&amp;gt; students = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; List&amp;lt;ContactS&amp;gt;();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// Nested Serializable class&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;br /&gt;[Serializable]&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;class&lt;/span&gt; ContactS&lt;br /&gt;{&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; Guid ContactId;&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;string&lt;/span&gt; FirstName;&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;string&lt;/span&gt; LastName;&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;string&lt;/span&gt; EMailAddress1;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;

  &lt;br /&gt;&lt;/div&gt;

&lt;p&gt;&lt;font color=&quot;#4f81bd&quot; size=&quot;2&quot;&gt;&lt;strong&gt;Filling the Serialized Classes&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;This can be done in any way that queries the data needed and fills the appropriate serialized classes.&lt;/p&gt;

&lt;div id=&quot;codeSnippetWrapper&quot;&gt;
  &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// Create Top level container and call methods to fill all nested containers&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;param name=&amp;quot;accountId&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;static&lt;/span&gt; DashboardBlob FillDashboardBlob(Guid accountId)&lt;br /&gt;{&lt;br /&gt;    var blob = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; DashboardBlob&lt;br /&gt;        {&lt;br /&gt;            AccountId = accountId,&lt;br /&gt;            LastUpdated = DateTime.Now,&lt;br /&gt;            students = GetSerializedContactsByAccount(accountId)&lt;br /&gt;            &lt;span style=&quot;color: #008000&quot;&gt;//pull all other related data and nested data.&lt;/span&gt;&lt;br /&gt;        };&lt;br /&gt;&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;return&lt;/span&gt; blob;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// Query that pulls data from a CRM context and stores it in a serializable class&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;param name=&amp;quot;accountId&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;static&lt;/span&gt; List&amp;lt;ContactS&amp;gt; GetSerializedContactsByAccount(Guid accountId)&lt;br /&gt;{&lt;br /&gt;    var serializedContacts = &lt;br /&gt;        (from c &lt;span style=&quot;color: #0000ff&quot;&gt;in&lt;/span&gt; DemoContext.ContactSet&lt;br /&gt;        join students &lt;span style=&quot;color: #0000ff&quot;&gt;in&lt;/span&gt; DemoContext.new_account_studentSet on c.ContactId equals students.contactid&lt;br /&gt;        &lt;span style=&quot;color: #0000ff&quot;&gt;where&lt;/span&gt; students.new_accountid == accountId&lt;br /&gt;        orderby c.LastName, c.FirstName&lt;br /&gt;        select &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; ContactS&lt;br /&gt;        {&lt;br /&gt;            ContactId = c.ContactId.Value,&lt;br /&gt;            FirstName = c.FirstName,&lt;br /&gt;            LastName = c.LastName,&lt;br /&gt;            EMailAddress1 = c.EMailAddress1&lt;br /&gt;        }).ToList();&lt;br /&gt;&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;return&lt;/span&gt; serializedContacts;&lt;br /&gt;}&lt;/pre&gt;

  &lt;br /&gt;&lt;/div&gt;

&lt;div&gt;&lt;strong&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;The code below this point is nearly generic with the exception of the field names for your SQL tables.&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;

&lt;div&gt;&lt;font color=&quot;#4f81bd&quot; size=&quot;2&quot;&gt;&lt;strong&gt;Create a simple local SQL table for cache storage&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-wVFEpJhl2inSo8p_r1hwFbIWLRF2TNeMvyTQpKTHrDTioXf6cRAhB0twCqmM01gBy-cHIFL-YLLplsLq44IK6OifFeZ7xep47o-ISl4S0F9Fa8ZfWshGHbW7lZmgjvXxB_14NNjNyb6A/s1600-h/image%25255B2%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEkcgMylX056Wbqy9IS_qf_XQDzi83itB-aEx_q7CRD3lwd8EXNILeWOpAy8rPExoFlsyjKbbK38R_zqWACxVVc3O9QhJ4gOZOaDmpw1QR5v61mDz6RCAElE-ySaUHqvx_dRIGpHVnJsBK/?imgmax=800&quot; width=&quot;244&quot; height=&quot;77&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;div&gt;&lt;font color=&quot;#4f81bd&quot; size=&quot;2&quot;&gt;&lt;strong&gt;Save/Update the Local SQL Cache&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;Now that you have the data stored in a serialized container, serialize that container and store in the local SQL server database as a blob.&lt;/div&gt;

&lt;div id=&quot;codeSnippetWrapper&quot;&gt;
  &lt;div id=&quot;codeSnippetWrapper&quot;&gt;
    &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// Update that writes the blob back to SQL&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;param name=&amp;quot;blob&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;param name=&amp;quot;connectionString&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;param name=&amp;quot;isCreate&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;void&lt;/span&gt; SaveUpdateDashboardBlob(DashboardBlob blob, &lt;span style=&quot;color: #0000ff&quot;&gt;string&lt;/span&gt; connectionString, &lt;span style=&quot;color: #0000ff&quot;&gt;bool&lt;/span&gt; isCreate)&lt;br /&gt;{&lt;br /&gt;    var bytes = SerializeAnObject(blob);&lt;br /&gt;    var connection = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; SqlConnection(connectionString);&lt;br /&gt;    SqlCommand sqlCmd;&lt;br /&gt;    connection.Open();&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;if&lt;/span&gt;( isCreate) &lt;br /&gt;        sqlCmd = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; SqlCommand(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;INSERT INTO dbo.MainCache(accountid,updated,dashboardxml) VALUES (@id,@updated,@xml)&amp;quot;&lt;/span&gt;, connection);&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;else&lt;/span&gt;&lt;br /&gt;        sqlCmd = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; SqlCommand(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;UPDATE dbo.MainCache Set updated=@updated, dashboardxml=@xml where accountid=@id&amp;quot;&lt;/span&gt;, connection);&lt;br /&gt;    sqlCmd.Parameters.Add(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;@id&amp;quot;&lt;/span&gt;, SqlDbType.UniqueIdentifier);&lt;br /&gt;    sqlCmd.Parameters[&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;@id&amp;quot;&lt;/span&gt;].Value = blob.AccountId;&lt;br /&gt;    sqlCmd.Parameters.Add(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;@updated&amp;quot;&lt;/span&gt;, SqlDbType.DateTime);&lt;br /&gt;    sqlCmd.Parameters[&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;@updated&amp;quot;&lt;/span&gt;].Value = blob.LastUpdated;&lt;br /&gt;    sqlCmd.Parameters.Add(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;@xml&amp;quot;&lt;/span&gt;, SqlDbType.Xml, Int32.MaxValue);&lt;br /&gt;    sqlCmd.Parameters[&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;@xml&amp;quot;&lt;/span&gt;].Value = bytes;&lt;br /&gt;    sqlCmd.ExecuteNonQuery();&lt;br /&gt;    connection.Close();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;string&lt;/span&gt; SerializeAnObject(&lt;span style=&quot;color: #0000ff&quot;&gt;object&lt;/span&gt; AnObject)&lt;br /&gt;{&lt;br /&gt;    var Xml_Serializer = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; XmlSerializer(AnObject.GetType());&lt;br /&gt;    var Writer = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; StringWriter();&lt;br /&gt;    Xml_Serializer.Serialize(Writer, AnObject);&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;return&lt;/span&gt; Writer.ToString();&lt;br /&gt;}&lt;/pre&gt;

    &lt;br /&gt;&lt;/div&gt;

  &lt;br /&gt;&lt;/div&gt;

&lt;div&gt;&lt;strong&gt;&lt;font color=&quot;#4f81bd&quot;&gt;Read the Local SQL Cache&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;

&lt;div&gt;&lt;font color=&quot;#000000&quot;&gt;This is the payoff. A single call to the local database returns a completely organized sorted and ready for consumption data container.&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;
  &lt;div id=&quot;codeSnippetWrapper&quot;&gt;
    &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// Read the blob from local SQL database, deserialize it and cast it back to the container class.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;param name=&amp;quot;accountId&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;param name=&amp;quot;connectionString&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;static&lt;/span&gt; DashboardBlob GetDashboardBlob(Guid accountId, &lt;span style=&quot;color: #0000ff&quot;&gt;string&lt;/span&gt; connectionString)&lt;br /&gt;{&lt;br /&gt;    var connection = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; SqlConnection(connectionString);&lt;br /&gt;    connection.Open();&lt;br /&gt;    var adapter = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; SqlDataAdapter(&lt;span style=&quot;color: #0000ff&quot;&gt;string&lt;/span&gt;.Format(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;select dashboardxml from dbo.MainCache where accountid=&#39;{0}&#39; &amp;quot;&lt;/span&gt;, accountId), connection);&lt;br /&gt;    var ds = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; DataSet();&lt;br /&gt;    adapter.Fill(ds);&lt;br /&gt;    DataTable table = ds.Tables[0];&lt;br /&gt;    connection.Close();&lt;br /&gt;&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;if&lt;/span&gt; (table.Rows.Count != 0)&lt;br /&gt;    {&lt;br /&gt;        var data = (DashboardBlob)DeSerializeAnObject(table.Rows[0][0].ToString(), &lt;span style=&quot;color: #0000ff&quot;&gt;typeof&lt;/span&gt;(DashboardBlob));&lt;br /&gt;        &lt;span style=&quot;color: #0000ff&quot;&gt;return&lt;/span&gt; data;&lt;br /&gt;    }&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;null&lt;/span&gt;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;static&lt;/span&gt; Object DeSerializeAnObject(&lt;span style=&quot;color: #0000ff&quot;&gt;string&lt;/span&gt; xmlOfAnObject, Type objectType)&lt;br /&gt;{&lt;br /&gt;    var strReader = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; StringReader(xmlOfAnObject);&lt;br /&gt;    var xmlSerializer = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; XmlSerializer(objectType);&lt;br /&gt;    var xmlReader = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; XmlTextReader(strReader);&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;try&lt;/span&gt;&lt;br /&gt;    {&lt;br /&gt;        Object anObject = xmlSerializer.Deserialize(xmlReader);&lt;br /&gt;        &lt;span style=&quot;color: #0000ff&quot;&gt;return&lt;/span&gt; anObject;&lt;br /&gt;    }&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;finally&lt;/span&gt;&lt;br /&gt;    {&lt;br /&gt;        xmlReader.Close();&lt;br /&gt;        strReader.Close();&lt;br /&gt;    }&lt;br /&gt;}&lt;/pre&gt;

    &lt;br /&gt;&lt;/div&gt;

  &lt;div&gt;
    &lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;  </description><link>http://crmscape.blogspot.com/2012/08/ms-crm-and-portals-fast-caching-method.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEkcgMylX056Wbqy9IS_qf_XQDzi83itB-aEx_q7CRD3lwd8EXNILeWOpAy8rPExoFlsyjKbbK38R_zqWACxVVc3O9QhJ4gOZOaDmpw1QR5v61mDz6RCAElE-ySaUHqvx_dRIGpHVnJsBK/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-1948579685738131323</guid><pubDate>Thu, 02 Jun 2011 20:15:00 +0000</pubDate><atom:updated>2011-06-17T08:56:39.046-04:00</atom:updated><title>The new MS CRM 2011 64 bit VM and VirtualBox</title><description>&lt;p&gt;I’ve gotten a number of emails asking what was needed to get the new Partner Source &lt;a href=&quot;https://mbs.microsoft.com/Cms/Templates/document/General.aspx?NRMODE=Published&amp;amp;NRNODEGUID={060C9677-229D-49E1-9F00-95E56D9F1657}&amp;amp;NRORIGINALURL=/partnersource/deployment/methodology/vpc/MSD_CRM2011VirtualMachine&amp;amp;NRCACHEHINT=Guest&amp;amp;wa=wsignin1.0&quot; target=&quot;_blank&quot;&gt;MS CRM 2011 64bit Virtual Machine&lt;/a&gt; to work in Virtual Box in Windows 7.&lt;/p&gt;  &lt;p&gt;The compatibility issue appears to be the default hard disk settings. The following is a workaround that has worked for many people.&amp;#160; I’ve been told this doesn’t work on Windows 2008 Servers, but on a 2008 server you could also run Hyper-V.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Change your VHD to run from an IDE controller:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Open up your storage settings and add the vhd as an IDE drive.&amp;#160; Click the right + icon to create a new virtual hard&amp;#160; drive. Choose an existing drive.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAVIbQYEdrWUJSNNmXNnkIych29a7bCSCqPk5yrmdFgbWk0MbxvtoK28OLyfquTl0cVjGeYxy8IJ20IwoVVPOYB19i2V0Uv3XmXF3nMdLxP0V8PZlvvfW1MI46O9pCe_Sp-nooAU_69VmP/s1600-h/image%25255B7%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXGLPFhzgU6mStbXU5Uz2RFB0TJWBxnW7pmcPp20i3cKNreq3-ZmCYtDlsTuMajiSOVu-kRSNuDoFrK8Tdou-Mu5pWw41o4xN24QBNS9j_iLvbOJFSBhfxhzQFu4jzExmUY-0mT_NWlIms/?imgmax=800&quot; width=&quot;500&quot; height=&quot;397&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Select the VHD file the you decompressed and open it.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2Oh8R6R9smZLL2D3-hnux8Cocf-3vezvkQw4L6FREqDZjVTaFA7aTday9XYheMJ9W0LdzA_DTloZCz2e7MQhHLxFggKtTOlEd2yX2Z5z9wdW07pt3Qb7DwFCB4-6C7ZBtPLWZT0clRJTp/s1600-h/image%25255B12%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgumZQjhp0VKdnNiHWof3i08DpgrC9F9F-Xhw-f7GODwx8uzMJWn2in7I85TcNLddH_psCZtlJypqbSjqv0j30BLkVREUYjXjhp3juFOJq7Rh6JQZmOz2s_K43glyp374vZ9WKBKe9uTelv/?imgmax=800&quot; width=&quot;500&quot; height=&quot;291&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Now&amp;#160; remove your SATA drive&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVy6iSYYcsUCxZ2r1zpoA9Xptn2jVZvWj3cChIm7xV1ukjbRXO6ivffNMNQk9mdF_ie2OqUq8fpFoLxYMasmrpYlf2aGTxx8fhKn-8NO3st6IuXv1GAlTjVp4KR71-ldwZ1j6kECzQLBLV/s1600-h/image%25255B16%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRw1TG8e-xVqKGnNfUmkixhZ_hJxlAzS6XWJUv8dOmwTMW-oxwhxhLd1-TdTWozvPIKBX8jg6vOXRZ9AsiIjGRpTKf37hM4beRQsFUs1Rzw_ZkJpRBhUWn7Ax6RXjdsf9avsQgTieBM8Ng/?imgmax=800&quot; width=&quot;500&quot; height=&quot;395&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Now Click OK.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsFEeJ0cBjqwZfyLURso2nks1-fd7Wa48AkuCSQSeOi0gIaXz_t9IrzHrqu6v0otpi9cbH6hD07XIGDaXsZCiKHCbRVPXPhJJmcBdL_NXOsHpP3jBAJk1UF2ijfnOVvay3FBQJuX6cLVQH/s1600-h/image%25255B23%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0ZBrkJ1bXgp-T7fasY67e72OwaCnkTYFd76O6dTas9lmT9kljWlkY4j86bBtpjFEQwsj6-ktAhqY9qhJjN7FgCxbLLNGLgUNjK2QuX1sKkO7BDrA4tk4C4dw2_PrnH3nB8LjJ84WftIs8/?imgmax=800&quot; width=&quot;500&quot; height=&quot;395&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Memory&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;This VM likes 2.5Gb or more RAM to operate in. As always more is better especially if you are going to demonstrate both CRM and SharePoint together.&lt;/p&gt;  &lt;p&gt;Now Start it up!&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Addendum&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;You should enable hardware virtualization when running 64-bit OS’s.&amp;#160; This&amp;#160; is a firmware setting on your motherboard. This is normally called “Intel Virtualization”,&amp;#160; “VT-x” or “Intel VT” and AMD has an equivalent setting. Laptops frequently have this disabled by default. &lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2011/06/new-ms-crm-2011-64-bit-vm-and.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXGLPFhzgU6mStbXU5Uz2RFB0TJWBxnW7pmcPp20i3cKNreq3-ZmCYtDlsTuMajiSOVu-kRSNuDoFrK8Tdou-Mu5pWw41o4xN24QBNS9j_iLvbOJFSBhfxhzQFu4jzExmUY-0mT_NWlIms/s72-c?imgmax=800" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-214815708268214355</guid><pubDate>Tue, 08 Mar 2011 13:10:00 +0000</pubDate><atom:updated>2011-03-08T08:10:21.431-05:00</atom:updated><title>CRM 2011 OData, JSON and CRM Forms</title><description>&lt;p&gt;&lt;strong&gt;&lt;font color=&quot;#4f81bd&quot;&gt;1. Generating OData queries&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;OData commands can easily be tested out in IE. To help with this, you will want to turn off the feed reading view in IE.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrEGWAnhT9uUL6gEuUWY1qaUpyI2twHjvdavgn9q_zds-aVc_mNyKLPYyy9zBEGhcF-Z7x82VoiQON61AlAmpnAo2tuVAogjXmLdJELg2YCaEe1lI8bbI9wlA7a2uvd5TJoNshlGkKBiri/s1600-h/image3.png&quot;&gt;&lt;img style=&quot;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&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCM9Z0JUGWG12R5J6JrnWGt7EgtNYkS5rbSNxPMqtNQhhD7cVh6eNuPva70SKi6xGfbWD5oXvBQ71q-bhqJT5Cpa0pxNPG-WCSrX0kijUT5wQJ0ZSOyRQHvZRrUiaIYNxTd89OrZtv2xv/?imgmax=800&quot; width=&quot;544&quot; height=&quot;380&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The first thing that you will want is the name of the Sets that you will be calling on. If you use a path like the following it will provide a listing of the names of your sets. &lt;a title=&quot;http://w2008r2crmdev:5555/CRMDEV/XRMServices/2011/OrganizationData.svc&quot; href=&quot;http://crmdev:5555/CRMDEV/XRMServices/2011/OrganizationData.svc&quot;&gt;http://crmdev:5555/CRMDEV/XRMServices/2011/OrganizationData.svc&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;You will see a list of them in the following format.&lt;/p&gt;  &lt;div id=&quot;codeSnippetWrapper&quot;&gt;   &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;- &lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;collection&lt;/span&gt; &lt;span style=&quot;color: #ff0000&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;=&amp;quot;AccountSet&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;  &lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;atom:title&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;AccountSet&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;atom:title&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt; &lt;br /&gt;  &lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;collection&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;

  &lt;br /&gt;&lt;/div&gt;

&lt;p&gt;Since these names are case sensitive you will want to look at the names of your custom entities. Your stock items like AccountSet and ContactSet will be camel cased, but your custom entities will likely show up as new_myentitySet.&lt;/p&gt;

&lt;p&gt;&lt;a title=&quot;http://w2008r2crmdev:5555/CRMDEV/XRMServices/2011/OrganizationData.svc&quot; href=&quot;http://crmdev:5555/CRMDEV/XRMServices/2011/OrganizationData.svc/AccountSet&quot;&gt;http://crmdev:5555/CRMDEV/XRMServices/2011/OrganizationData.svc/AccountSet&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As you can see the field names use the Schema Name in CRM rather than the lowercase name the is used on the CRM forms. This is something that can cause confusion.&lt;/p&gt;

&lt;div&gt;
  &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;d:Address1_Name&lt;/span&gt; &lt;span style=&quot;color: #ff0000&quot;&gt;m:null&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;=&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;d:Address1_Telephone2&lt;/span&gt; &lt;span style=&quot;color: #ff0000&quot;&gt;m:null&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;=&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;d:OverriddenCreatedOn&lt;/span&gt; &lt;span style=&quot;color: #ff0000&quot;&gt;m:type&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;=&amp;quot;Edm.DateTime&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #ff0000&quot;&gt;m:null&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;=&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;d:Telephone3&lt;/span&gt; &lt;span style=&quot;color: #ff0000&quot;&gt;m:null&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;=&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;d:DoNotBulkPostalMail&lt;/span&gt; &lt;span style=&quot;color: #ff0000&quot;&gt;m:type&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;=&amp;quot;Edm.Boolean&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;false&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;d:DoNotBulkPostalMail&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;div&gt;If you specify the guid of that entity, the results returned will be for that one entity. All fields are returned whether they are null or not. This listing will show you the exact case of each attribute name that you may want to query.&lt;/div&gt;

&lt;div&gt;&lt;a title=&quot;http://w2008r2crmdev:5555/CRMDEV/XRMServices/2011/OrganizationData.svc&quot; href=&quot;http://crmdev:5555/CRMDEV/XRMServices/2011/OrganizationData.svc/AccountSet(guid&#39;3D37ACD3-5846-E011-8AE1-080027131692&#39;&quot;&gt;http://crmdev:5555/CRMDEV/XRMServices/2011/OrganizationData.svc/AccountSet(guid&#39;3D37ACD3-5846-E011-8AE1-080027131692&#39;&lt;/a&gt;)&lt;/div&gt;

&lt;div&gt;You can save bandwidth by only selecting the fields that you need and only those fields will be returned. Below will only return the AccountNumber and AccountName&lt;/div&gt;

&lt;div&gt;&lt;a title=&quot;http://w2008r2crmdev:5555/CRMDEV/XRMServices/2011/OrganizationData.svc&quot; href=&quot;http://crmdev:5555/CRMDEV/XRMServices/2011/OrganizationData.svc/AccountSet(guid&#39;{3D37ACD3-5846-E011-8AE1-080027131692}&#39;)?$select=AccountNumber,AccountName&quot;&gt;http://crmdev:5555/CRMDEV/XRMServices/2011/OrganizationData.svc/AccountSet(guid&#39;{3D37ACD3-5846-E011-8AE1-080027131692}&#39;)?$select=AccountNumber,AccountName&lt;/a&gt;&lt;/div&gt;

&lt;div&gt;There are numerous references from MS explaining how to build OData Queries, however, Rhett Clinton’s recent addition to Codeplex is probably the easiest way to generate these queries. His tool can be found at the link below.&lt;/div&gt;

&lt;div&gt;&lt;a title=&quot;http://crm2011odatatool.codeplex.com/&quot; href=&quot;http://crm2011odatatool.codeplex.com/&quot;&gt;http://crm2011odatatool.codeplex.com/&lt;/a&gt;&lt;/div&gt;

&lt;div&gt;Screen shot of his Query Designer&lt;/div&gt;

&lt;div&gt;&lt;img alt=&quot;CRM 2011 OData Query Designer&quot; src=&quot;http://www.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=crm2011odatatool&amp;amp;DownloadId=213954&quot; width=&quot;552&quot; height=&quot;495&quot; /&gt;&lt;/div&gt;

&lt;div&gt;&lt;strong&gt;&lt;font color=&quot;#4f81bd&quot;&gt;2. Using OData Queries with JSON&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;

&lt;div&gt;To use any of the following in a javascript library as webresource in CRM 2011 solution, you will first need to include a jquery library and a json library. The jquery1.4.1.min.js and json2.js files can be found in the most recent MS CRM SDK. &lt;font color=&quot;#0000ff&quot;&gt;sdk\samplecode\js\restendpoint\jqueryrestdataoperations\jqueryrestdataoperations\scripts. &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Add these a libraries and include them above the JavaScript library that you put your code in. Click &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-BlSpA5WT7to0H97wp2eTGWRvmkVSGt5TynbUZob2ciKZ9_tYEQkNUZlzSuMt6XbHk-VADxF1hFYGEQVXU7u9xoeRq6JaTSFAYat5njKM_d5paOKtOpHvZvWMqKtI7RBgcb1M0fm-2J0q/s1600-h/image%5B5%5D.png&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt; to see what that looks like in the Forms Property page.&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;To utilize these OData queries in a CRM Form using JSON, there is a pretty standard template to use. Just set the odataSelect below to your OData select url, and use the appropriate return method.&lt;/div&gt;

&lt;div id=&quot;codeSnippetWrapper&quot;&gt;
  &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;var&lt;/span&gt; odataSelect = &lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;Your OData Query&amp;quot;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;$.ajax({&lt;br /&gt;       type: &lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;GET&amp;quot;&lt;/span&gt;,&lt;br /&gt;       contentType: &lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;application/json; charset=utf-8&amp;quot;&lt;/span&gt;,&lt;br /&gt;       datatype: &lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;json&amp;quot;&lt;/span&gt;,&lt;br /&gt;       url: odataSelect,&lt;br /&gt;       beforeSend: &lt;span style=&quot;color: #0000ff&quot;&gt;function&lt;/span&gt; (XMLHttpRequest) { XMLHttpRequest.setRequestHeader(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;Accept&amp;quot;&lt;/span&gt;, &lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;application/json&amp;quot;&lt;/span&gt;); },&lt;br /&gt;       success: &lt;span style=&quot;color: #0000ff&quot;&gt;function&lt;/span&gt; (data, textStatus, XmlHttpRequest) &lt;br /&gt;           { &lt;br /&gt;               &lt;span style=&quot;color: #008000&quot;&gt;// Use only one of these two methods&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;               &lt;span style=&quot;color: #008000&quot;&gt;// Use for a selection that may return multiple entities&lt;/span&gt;&lt;br /&gt;               ProcessReturnedEntities(data.d.results); &lt;br /&gt;&lt;br /&gt;               &lt;span style=&quot;color: #008000&quot;&gt;// Use for a single selected entity&lt;/span&gt;&lt;br /&gt;               ProcessReturnedEntity(data.d);&lt;br /&gt;           &lt;br /&gt;           },&lt;br /&gt;       error: &lt;span style=&quot;color: #0000ff&quot;&gt;function&lt;/span&gt; (XmlHttpRequest, textStatus, errorThrown) { alert(&lt;span style=&quot;color: #006080&quot;&gt;&#39;OData Select Failed: &#39;&lt;/span&gt; + odataSelect); }&lt;br /&gt;   });&lt;/pre&gt;

  &lt;br /&gt;&lt;/div&gt;

&lt;div&gt;Notice the two methods: &lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;ProcessReturnedEntities&lt;/strong&gt;(data.d.results) &lt;/li&gt;

  &lt;li&gt;&lt;strong&gt;ProcessReturnedEntity&lt;/strong&gt;(data.d) &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When selecting what could be any number of entities, there will be an array returned, and you want to look at the data.d.results.&amp;#160; When selecting a specific Guid there is no results array created, and you will need to just look at the data.d that is returned.&lt;/p&gt;

&lt;div&gt;For example:&lt;/div&gt;

&lt;div id=&quot;codeSnippetWrapper&quot;&gt;
  &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;function&lt;/span&gt; ProcessReturnedEntities(ManyEntities)&lt;br /&gt;{&lt;br /&gt;  &lt;span style=&quot;color: #0000ff&quot;&gt;for&lt;/span&gt;( i=0; i&amp;lt; ManyEntities.length; i++)&lt;br /&gt;  {&lt;br /&gt;     &lt;span style=&quot;color: #0000ff&quot;&gt;var&lt;/span&gt; oneEntity = ManyEntities[i];&lt;br /&gt;     &lt;span style=&quot;color: #0000ff&quot;&gt;var&lt;/span&gt; accountNumberAttribute = oneEntity.AccountNumber;    &lt;br /&gt;     &lt;br /&gt;     &lt;span style=&quot;color: #0000ff&quot;&gt;var&lt;/span&gt; accountNumberValue = eval(oneEntity.AccountNumber);&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;function&lt;/span&gt; ProcessReturnedEntity(OneEntity)&lt;br /&gt;{  &lt;br /&gt;     &lt;span style=&quot;color: #0000ff&quot;&gt;var&lt;/span&gt; oneEntity = OneEntity;&lt;br /&gt;     &lt;span style=&quot;color: #0000ff&quot;&gt;var&lt;/span&gt; accountNumber = oneEntity.AccountNumber;&lt;br /&gt;     &lt;br /&gt;     &lt;span style=&quot;color: #0000ff&quot;&gt;var&lt;/span&gt; accountNumberValue = eval(oneEntity.AccountNumber);     &lt;br /&gt;}&lt;/pre&gt;

  &lt;br /&gt;&lt;/div&gt;

&lt;div&gt;&lt;strong&gt;Entity Attributes&lt;/strong&gt;&lt;/div&gt;

&lt;div&gt;As you can see the JavaScript entity objects returned have attributes named with matching camel casing in the OData query.&lt;/div&gt;

&lt;div&gt;In that case of simple CRM attributes like:&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;string &lt;/li&gt;

  &lt;li&gt;memo &lt;/li&gt;

  &lt;li&gt;decimal &lt;/li&gt;

  &lt;li&gt;double &lt;/li&gt;

  &lt;li&gt;integer &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can get the value from them by simply using eval like shown in the example above.&lt;/p&gt;

&lt;p&gt;For the following CRM attributes there is more involved.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;optionset &lt;/li&gt;

  &lt;li&gt;money &lt;/li&gt;

  &lt;li&gt;datetime &lt;/li&gt;

  &lt;li&gt;lookup &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;div&gt;
  &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;var&lt;/span&gt; moneyValue = eval( oneEntity.new_MoneyAttribute.Value);&lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;var&lt;/span&gt; optionSetValue = eval ( oneEntity.new_OptionSet.Value);&lt;/pre&gt;
&lt;/div&gt;

&lt;div&gt;&amp;#160;&lt;/div&gt;

&lt;div&gt;&lt;strong&gt;Setting CRM Form Fields with Queried Values&lt;/strong&gt;&lt;/div&gt;

&lt;div&gt;This gets a bit more complex when setting values to CRM form controls.&lt;/div&gt;

&lt;ol&gt;
  &lt;li&gt;The form field names are all lower case, so the retrieved names do not match. &lt;/li&gt;

  &lt;li&gt;The form fields have validation and maintain more types than the returned OData values have. &lt;/li&gt;

  &lt;li&gt;There is some conversion required between them. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can find out the type of a form control as follows:&lt;/p&gt;

&lt;div id=&quot;codeSnippetWrapper&quot;&gt;
  &lt;div id=&quot;codeSnippetWrapper&quot;&gt;
    &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;var&lt;/span&gt; attrType = Xrm.Page.getAttribute(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;accountnumber&amp;quot;&lt;/span&gt;).getAttributeType();&lt;/pre&gt;

    &lt;br /&gt;With the type you can then use the appropriate means to set form controls.&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;string, memo fields:&lt;/p&gt;

&lt;div id=&quot;codeSnippetWrapper&quot;&gt;
  &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;Xrm.Page.getAttribute(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;accountnumber&amp;quot;&lt;/span&gt;).setValue(eval(oneEntity.AccountNumber));&lt;/pre&gt;

  &lt;br /&gt;&lt;/div&gt;

&lt;div&gt;decimal, double fields:&lt;/div&gt;

&lt;div id=&quot;codeSnippetWrapper&quot;&gt;
  &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;Xrm.Page.getAttribute(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;new_float&amp;quot;&lt;/span&gt;).setValue(parseFloat(eval(oneEntity.new_Float)));&lt;/pre&gt;

  &lt;br /&gt;&lt;/div&gt;

&lt;div&gt;integer fields&lt;/div&gt;

&lt;div id=&quot;codeSnippetWrapper&quot;&gt;
  &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;Xrm.Page.getAttribute(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;new_integer&amp;quot;&lt;/span&gt;).setValue(parseInt(eval(oneEntity.new_Integer)));&lt;/pre&gt;

  &lt;br /&gt;&lt;/div&gt;

&lt;div&gt;money fields&lt;/div&gt;

&lt;div id=&quot;codeSnippetWrapper&quot;&gt;
  &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;Xrm.Page.getAttribute(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;new_moneyattribute&amp;quot;&lt;/span&gt;).setValue(parseFloat(eval(oneEntity.new_MoneyAttribute.Value)));&lt;/pre&gt;

  &lt;br /&gt;&lt;/div&gt;

&lt;div&gt;optionset fields&lt;/div&gt;

&lt;div id=&quot;codeSnippetWrapper&quot;&gt;
  &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;Xrm.Page.getAttribute(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;new_optionset&amp;quot;&lt;/span&gt;).setValue(eval(oneEntity.new_OptionSet.Value));&lt;/pre&gt;

  &lt;br /&gt;&lt;/div&gt;

&lt;div&gt;date fields&lt;/div&gt;

&lt;div&gt;
  &lt;div id=&quot;codeSnippetWrapper&quot;&gt;
    &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;var&lt;/span&gt; fieldValue = eval(oneEntity.new_DateTime);                       &lt;br /&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;var&lt;/span&gt; dateValue = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; Date(parseInt(fieldValue.replace(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;/Date(&amp;quot;&lt;/span&gt;, &lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;).replace(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;)/&amp;quot;&lt;/span&gt;, &lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;), 10));&lt;br /&gt;Xrm.Page.getAttribute(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;new_datetime&amp;quot;&lt;/span&gt;).setValue(dateValue);&lt;br /&gt;&lt;/pre&gt;

    &lt;br /&gt;&lt;/div&gt;

  &lt;div&gt;The addition of support for JSON, OData queries in MS CRM 2011 has 
    &lt;div&gt;added some great power to what can be done easily in the JavaScript of a CRM form. This should reduce the number of solutions that require web applications running in iframes dramatically. This is a good thing since MS is phasing out the ISV folder for web applications running in the same app pool on a web server and there is currently no support for aspx files in CRM solutions.&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;  </description><link>http://crmscape.blogspot.com/2011/03/crm-2011-odata-json-and-crm-forms.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCM9Z0JUGWG12R5J6JrnWGt7EgtNYkS5rbSNxPMqtNQhhD7cVh6eNuPva70SKi6xGfbWD5oXvBQ71q-bhqJT5Cpa0pxNPG-WCSrX0kijUT5wQJ0ZSOyRQHvZRrUiaIYNxTd89OrZtv2xv/s72-c?imgmax=800" height="72" width="72"/><thr:total>10</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-3426654888959865448</guid><pubDate>Fri, 04 Mar 2011 15:23:00 +0000</pubDate><atom:updated>2011-03-04T11:16:37.505-05:00</atom:updated><title>CRM 2011 Set Default Transaction Currency in JavaScript</title><description>&lt;p&gt;The following function uses JSON and OData to select the first Currency entity that is configured on your system and then sets the transactioncurrencyid lookup to be that currency.&lt;/p&gt;  &lt;p&gt;This particular feature is just as relevant for CRM 2011 as it was for CRM 4.0, but it is easier to implement now.&lt;/p&gt;  &lt;p&gt;The OData selection for this consists of the following:   &lt;br /&gt;&lt;font color=&quot;#c0504d&quot;&gt;/TransactionCurrencySet?$select=TransactionCurrencyId,CurrencyName&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;If you have multiple currencies, you can always add a filter to OData select to grab the specific currency that you need. This function uses the first currency returned.&lt;/p&gt;  &lt;p&gt;   &lt;div style=&quot;padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px&quot; id=&quot;scid:9D7513F9-C04C-4721-824A-2B34F0212519:52a7ab38-69c7-43d1-af4c-72ab7f28da76&quot; class=&quot;wlWriterEditableSmartContent&quot;&gt;&lt;pre style=&quot; width: 650px; height: 482px;background-color:White;white-space:-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; word-wrap: break-word;overflow: auto;&quot;&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; SetDefaultCurrency()
{
    &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; context &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; Xrm.Page.context;
    &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; serverUrl &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; context.getServerUrl();
    &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; ODataPath &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; serverUrl &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;/XRMServices/2011/OrganizationData.svc&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;;   
    &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; odataSelect &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; ODataPath &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;/TransactionCurrencySet?$select=TransactionCurrencyId,CurrencyName&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;;

    $.ajax({
        type: &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;GET&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,
        contentType: &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;application/json; charset=utf-8&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,
        datatype: &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;json&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,
        url: odataSelect,
        beforeSend: &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; (XMLHttpRequest) { XMLHttpRequest.setRequestHeader(&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;Accept&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;application/json&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;); },
        success: &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; (data, textStatus, XmlHttpRequest)
        {            
            &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; myCurrency &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; data.d.results[&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;];
            &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; idValue &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; eval(&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;myCurrency.TransactionCurrencyId&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;);
            &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; textValue &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; eval(&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;myCurrency.CurrencyName&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;);    
            &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; thisEntityType &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;transactioncurrency&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;;            
            Xrm.Page.getAttribute(&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;transactioncurrencyid&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;).setValue([{ id: idValue, name: textValue, entityType: thisEntityType }]);         
        },
        error: &lt;/span&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; (XmlHttpRequest, textStatus, errorThrown) { alert(&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;OData Select Failed: &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt; odataSelect); }
    });
}
&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn&#39;s Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;
&lt;/p&gt;

&lt;p&gt;In order to use this. You need to make sure that you include &lt;strong&gt;jquery1.4.1.min.js&lt;/strong&gt; and &lt;strong&gt;json2.js&lt;/strong&gt; as libraries first since this script relies on them. Create another library with the above function. If you just call the SetDefaultCurrency function in the OnLoad event of your form, the currency will be set as the form opens and will be be ready for you to set any currency values that rely on this.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-BlSpA5WT7to0H97wp2eTGWRvmkVSGt5TynbUZob2ciKZ9_tYEQkNUZlzSuMt6XbHk-VADxF1hFYGEQVXU7u9xoeRq6JaTSFAYat5njKM_d5paOKtOpHvZvWMqKtI7RBgcb1M0fm-2J0q/s1600-h/image%5B5%5D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQVc2oA6E1Upc0uNgk9QYpdIBpzYdzdoK-97VV_xPiY61RvYr86dFUC-tTwmt_iEUGXLWwxtaX-V8XrFOPBIz14rtveupOLafAQSUxdO7vnaJbG7JbqD_0JQzm6Uh5wgw0J4mj8sJP3mL3/?imgmax=800&quot; width=&quot;570&quot; height=&quot;596&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The jquery1.4.1.min.js and json.js files can be found in the most recent MS CRM SDK. &lt;font color=&quot;#0000ff&quot;&gt;sdk\samplecode\js\restendpoint\jqueryrestdataoperations\jqueryrestdataoperations\scripts&lt;/font&gt;&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2011/03/crm-2011-set-default-transaction.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQVc2oA6E1Upc0uNgk9QYpdIBpzYdzdoK-97VV_xPiY61RvYr86dFUC-tTwmt_iEUGXLWwxtaX-V8XrFOPBIz14rtveupOLafAQSUxdO7vnaJbG7JbqD_0JQzm6Uh5wgw0J4mj8sJP3mL3/s72-c?imgmax=800" height="72" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-8698627670459944520</guid><pubDate>Wed, 02 Mar 2011 14:46:00 +0000</pubDate><atom:updated>2011-03-02T09:47:32.139-05:00</atom:updated><title>CRM 2011 RTM VM Installation Differences</title><description>&lt;p&gt;There are a few differences between the RTM installation and the Beta installation I have documented in earlier blog articles. Starting with the following: &lt;a title=&quot;http://crmscape.blogspot.com/2010/09/creating-ms-crm-2011-vm-part-1-of-2.html&quot; href=&quot;http://crmscape.blogspot.com/2010/09/creating-ms-crm-2011-vm-part-1-of-2.html&quot;&gt;http://crmscape.blogspot.com/2010/09/creating-ms-crm-2011-vm-part-1-of-2.html&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;1. There are minor appearance changes in the CRM 2011 Installation screens, but everything else looks close enough that the Beta instructions still work.&lt;/p&gt;  &lt;p&gt;2. The entire section of my instructions called &lt;strong&gt;SQL Reporting Services ( Configure Data Source ) &lt;/strong&gt;is unnecessary, which is an improvement.&amp;#160; However I did add my Admin user account to the PrivUserGroup and PrivReportingGroup and then everything worked great.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTgO2tItP5za_wrSAfejHOkrLRHrvddUE5BtX6z4u8S7SdU96DNwOjBkTH3N6nqSGVMERgcp3JavCQlDOsbgKENwySHQHF2ZOO4IE__Ge-Xjbs3hcIehMqG_gwRs2ncQy33eA5AeJwssZh/s1600-h/blog_Admin%20properties%5B4%5D.jpg&quot;&gt;&lt;img style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px&quot; title=&quot;blog_Admin properties&quot; border=&quot;0&quot; alt=&quot;blog_Admin properties&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh68-SUe6v1J9mYJFy9LchCzRjrPwIh1vwId0nvItXpQexgabQ6TMrposerKpsTG6QMnew0_ixOZWbrJ011LWE8X8GKn5pOn6hwOoq30wam456RJqjfnmrVPBNrBqAgCWFyTJWNWrgFl6UC/?imgmax=800&quot; width=&quot;402&quot; height=&quot;517&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Otherwise the instructions still worked well for me. I’ll look over the updated installations instructions shortly to make sure there isn’t anything of importance that needs to be added.&lt;/p&gt;  &lt;p&gt;I’m also using the latest &lt;a href=&quot;http://www.virtualbox.org/wiki/Downloads&quot;&gt;Virtual Box 4.0.4 release&lt;/a&gt; for this which is working well. The only reason I used it instead of VMWare is that I had an existing VM just waiting for MS CRM to be installed with all the prerequisites in place. &lt;/p&gt;  &lt;p&gt;I’ve been “living on a cloud” for the past few months in CRM Online and Windows/SQL Azure land, but now that the 2011 On Premises release is out, I’m back on terra firma working with that again too.&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2011/03/crm-2011-rtm-vm-installation.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh68-SUe6v1J9mYJFy9LchCzRjrPwIh1vwId0nvItXpQexgabQ6TMrposerKpsTG6QMnew0_ixOZWbrJ011LWE8X8GKn5pOn6hwOoq30wam456RJqjfnmrVPBNrBqAgCWFyTJWNWrgFl6UC/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-5391244921786870553</guid><pubDate>Thu, 16 Dec 2010 01:56:00 +0000</pubDate><atom:updated>2010-12-16T10:29:11.263-05:00</atom:updated><title>MS CRM 2011, the “Cloud”, Azure and the future</title><description>&lt;p&gt;Something really important is happening right now, and if you are involved in MS CRM take notice or fall by the wayside!&amp;#160; This is a real game changer!&lt;/p&gt;  &lt;p&gt;Almost all of my MS CRM installations were on premises installations until just this Fall.&amp;#160; Sure there were IFD configurations and web portals with Silverlight etc., but the customer was always in tight control of the servers, even if the servers were hosted.&lt;/p&gt;  &lt;p&gt;I thought the next big thing would be the tighter SharePoint 2010 integration with MS CRM 2011 and to be fair I have seen interest in that and it will be a growing thing.&lt;/p&gt;  &lt;p&gt;What I didn’t expect is that suddenly I would almost exclusively be working with hosted MS CRM systems, MS CRM Online and Windows Azure and SQL Azure. BTW I’ll be working with the new SQL Azure Reporting Services CTP this week as well. &lt;/p&gt;  &lt;p&gt;What is pretty obvious is that MS has a lot of technologies coming together at about the time that MS CRM 2011 is hitting the scene. Frankly I thought it all looked interesting, but I didn’t expect the market to react so quickly or for it all to fit together so well.&lt;/p&gt;  &lt;p&gt;What I also didn’t expect was how much I would enjoy this transfer of responsibility. I enjoy being in control of things, but I also love abstracting away busy work to concentrate on solving real problems.&amp;#160; That is the point of MS CRM. System administration work is not where the fun is, at least for me.&lt;/p&gt;  &lt;p&gt;I was also pleasantly surprised at how easy using SQL Azure is. Just make sure you are using SQL 2008 R2 Management Studio and it is really nothing more than setting up an IP range you will be connecting through in the Azure portal, and changing your connection string. All of your tables need to have Clustered indexes as well and you have to use SQL scripts for all of your modifications, but otherwise it is just like the SQL you already know. Another thing to beware of is that the Web database is 1-5Gb and if you expect to grow beyond that you need to start with a Business Database which starts at 10Gb and can grow to 50Gb.&lt;/p&gt;  &lt;p&gt;I’m currently working on a project that is using an Azure 10Gb database, the new to SQL 2008 geography fields and spatial indexes. I imported about 7Gb of data in about 3.5 hours. The database has been very responsive.&amp;#160; I did notice that when I ran a very intensive task like generating a Spatial index across 9.2 million records that it would occasionally idle my process, but it still finished in a respectable time.&lt;/p&gt;  &lt;p&gt;Windows Azure, likewise, was very easy to set up.&amp;#160; Install the Azure SDK, create a Cloud Service Project, setup the Diagnostics and build a web application. If you make the Cloud Service your Start project it can be debugged locally as it will be deployed. There are a few configuration switches, but then again you are abstracting away all of the IIS administration.&lt;/p&gt;  &lt;p&gt;Where this all gets interesting is that additional instances of your application can be added with a few key clicks and without purchasing equipment or understanding anything about network load balancing. Adjust the amount of CPU cores and memory your application needs as it grows.&amp;#160; Scale it back during the off season or grow though the ceiling.&lt;/p&gt;  &lt;p&gt;I have customers who want to scale up quickly to compete with some pretty large competitors with a better product, but without the infrastructure or small army to maintain it. The Azure platform allows a small guy with a better mousetrap to take on the world.&lt;/p&gt;  &lt;p&gt;As a lone gun for hire, without a staff of sysadmins, what this means to me is that I can create some really really big solutions very quickly and without the setup time normally involved, or the meetings with IT departments to budget for servers, and schedule for installation and configuration. &lt;/p&gt;  &lt;p&gt;What this also is going to do is let a lot more killer apps actually see the light of day. I think we are going to see a new wave of enabled developers make a lot of really cool things happen.&lt;/p&gt;  &lt;p&gt;The cost of admission to see if something will stick has really dropped and if your solution is really that good and your website is nailed with traffic, all you need is a few key clicks to give you more bandwidth, memory and processing power.&lt;/p&gt;  &lt;p&gt;I was a bit skeptical at first, but as the saying goes, “People vote with their wallets”.&amp;#160; Based on what I am seeing the people are voting and much quicker than I expected!&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2010/12/ms-crm-2011-cloud-azure-and-future.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-6680167526300166504</guid><pubDate>Thu, 11 Nov 2010 19:23:00 +0000</pubDate><atom:updated>2010-11-11T14:58:05.642-05:00</atom:updated><title>MS CRM Custom Workflow CreateCrmService permissions</title><description>&lt;p&gt;If you are writing custom workflows and calling CRM services, you are probably familiar with the following code which creates a service with system administrator access to all data.&amp;#160; ( true = administrator access )&lt;/p&gt;  &lt;div id=&quot;codeSnippetWrapper&quot;&gt;   &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;ICrmService service = context.CreateCrmService(&lt;span style=&quot;color: #0000ff&quot;&gt;true&lt;/span&gt;);&lt;/pre&gt;

  &lt;br /&gt;&lt;/div&gt;

&lt;p&gt;You may have noticed that any entities created by a custom workflow using this administrator access default to being created and owned by the account that your &lt;strong&gt;&lt;font color=&quot;#0000ff&quot;&gt;Microsoft CRM Asynchronous Processing Service&lt;/font&gt;&lt;/strong&gt; runs as.&lt;/p&gt;

&lt;p&gt;This has some trickle down depending on the account your async service is using.&lt;/p&gt;

&lt;p&gt;For example if you are using the Local System Account which “typically” does not have a CRM user account dedicated to it, there are some things that you won’t have permission to do.&lt;/p&gt;

&lt;p&gt;For example the Local System account doesn’t have permission to send an email and the following will fail even with a service having administrator access.&lt;/p&gt;

&lt;div&gt;
  &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;var sendRequest = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; SendEmailRequest&lt;br /&gt;             {&lt;br /&gt;                 EmailId = emailId,&lt;br /&gt;                 IssueSend = &lt;span style=&quot;color: #0000ff&quot;&gt;true&lt;/span&gt;,&lt;br /&gt;                 TrackingToken = String.Empty&lt;br /&gt;             };&lt;br /&gt;&lt;br /&gt;sendEmailService.Execute(sendRequest);&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;This will give you the following SoapException:&lt;/p&gt;

&lt;p&gt;&amp;lt;error&amp;gt; 
  &lt;br /&gt;&amp;#160; &amp;lt;code&amp;gt;0x80040216&amp;lt;/code&amp;gt; 

  &lt;br /&gt;&amp;#160; &amp;lt;description&amp;gt;An unexpected error occurred.&amp;lt;/description&amp;gt; 

  &lt;br /&gt;&amp;#160; &amp;lt;type&amp;gt;Platform&amp;lt;/type&amp;gt; 

  &lt;br /&gt;&amp;lt;/error&amp;gt;&lt;/p&gt;

&lt;div&gt;You could create another service reference like below just to send email with which will work as long as the user running the workflow can normally send an email from a workflow.&lt;/div&gt;

&lt;div id=&quot;codeSnippetWrapper&quot;&gt;
  &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;ICrmService sendEmailService = context.CreateCrmService(&lt;span style=&quot;color: #0000ff&quot;&gt;false&lt;/span&gt;);&lt;/pre&gt;

  &lt;br /&gt;&lt;/div&gt;

&lt;p&gt;You could also use a CRM user CAL and create a CRM user for the account your async service runs as.&lt;/p&gt;

&lt;p&gt;The important thing to realize is that any service request that requires user configuration in order to function beyond security role permissions will be dependent on whether there is a CRM user assigned to the account the acync service is running under and how that CRM user is configured. For example: whether the email access type is E-mail Router.&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2010/11/ms-crm-custom-workflow-createcrmservice.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-8384103985677024875</guid><pubDate>Wed, 29 Sep 2010 12:58:00 +0000</pubDate><atom:updated>2010-09-29T08:58:21.454-04:00</atom:updated><title>Developing for CRM 2011 and SharePoint 2010 Foundation</title><description>&lt;p&gt;If you are a MS CRM person looking at SharePoint as something new here are a few things that may be of interest.&lt;/p&gt;  &lt;p&gt;The SharePoint 2010 Foundation is &lt;a href=&quot;http://rperreaux.spaces.live.com/blog/cns!5D7BD18D324CBEEF!862.entry?wa=wsignin1.0&amp;amp;sa=948089703&quot;&gt;free&lt;/a&gt; and will work with the MS CRM list component but it is limited to database sizes of 4Gb. This makes it much easier to leverage some of the power of SharePoint for your CRM customers. Your customers by default already have licensing for Windows Server and SQL Server in order to run MS CRM and SharePoint Foundation can share that same server.&lt;/p&gt;  &lt;p&gt;In addition the new Business Connectivity Services (BCS) are also supported by SharePoint Foundation: &lt;a title=&quot;http://msdn.microsoft.com/en-us/library/ee557646.aspx&quot; href=&quot;http://msdn.microsoft.com/en-us/library/ee557646.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ee557646.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;BCS will allow you to expose data from other databases to show up in SharePoint, but not take space in the SharePoint database, this of course includes CRM data. There is obviously a performance penalty depending on the interface to access this external data, but it also allows maintaining legacy databases while having access to that data in SharePoint without passing the 4Gb database limit in the SharePoint database.&lt;/p&gt;  &lt;p&gt;If you are looking at SharePoint integration using their web services, you can see from the following link which services are supported by both SharePoint Foundation and by SharePoint Server and just by SharePoint Server. &lt;a title=&quot;http://msdn.microsoft.com/en-us/library/ee705814.aspx&quot; href=&quot;http://msdn.microsoft.com/en-us/library/ee705814.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ee705814.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;As an obvious guideline it would make sense to write your base code to support SharePoint Foundation to let customers try out SharePoint functionality, and to have any features that require SharePoint Server features be switchable at a later time if your customer upgrades.&lt;/p&gt;  &lt;p&gt;SharePoint Server has a number of useful features shown in this version comparison that you may or may not need: &lt;a title=&quot;http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx&quot; href=&quot;http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx&quot;&gt;http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;As a practical note, SP 2010 is built on .NET 3.5 and CRM 2011 is built on .NET 4.0, so while most of you will not have a lot of .NET 4.0 legacy code at this point, is will be important to make sure your libraries with logic that will be shared between SP and CRM components are all kept at .NET 3.5.&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2010/09/developing-for-crm-2011-and-sharepoint.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-8042802677519504239</guid><pubDate>Sun, 26 Sep 2010 16:10:00 +0000</pubDate><atom:updated>2010-09-26T12:10:06.032-04:00</atom:updated><title>Connecting to MS CRM 2011 outside the VM</title><description>&lt;p&gt;While the CRM 2011 VM created so far works well by itself, you will most likely want to access MS CRM web site, web services and endpoints from outside the VM for development purposes.&lt;/p&gt;  &lt;p&gt;To do this you will need to set up VirtualBox to allow access from your host computer.&lt;/p&gt;  &lt;p&gt;1. With your VM shutdown, modify the Network Settings and enable the second Adapter. As shown below:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Attached to: Host-Only Adapter&lt;/li&gt;    &lt;li&gt;Name: VirtualBox Host-Only Ethernet&amp;#160; Adapter&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJURy2p_ADQ9FYpUy4WMghCbNY5Z0j4rbcB-JK4tg1Yj8oxXahS6Fft4bbYIF2KJdkWJZPogRhLCZv8inKgRqFlR3F6eSWhbG4skxtYs6bqruFf5WannhxqkW3vHd_wiMNueQH1Aux6RZk/s1600-h/image%5B43%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGjyL8NB_BqoeLUuIADcJ3yx61gOxlfXoYDHq15MZHoHgKs3jlIbnKv_hRnkP4U1CQuvVgC3p35Q-H1u8D712YDKIlZ-7Gn6agIWdM7dOysc-MiPZvpNKblmJN2bY5CrSdyAcEyAWHCoRO/?imgmax=800&quot; width=&quot;548&quot; height=&quot;407&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; when a VM is created from scratch it appears to select the correct network adapter type. When I copied the VDI file to my laptop and setup a VM based on that VDI file, it picked a different adapter by default and the networking didn’t work until I made it match the original Network settings that I had when I first configured it.    &lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1xboahtSFzphjNQX0CramzXQMH5cmdoytAWVGJWhAqUWjvYUg0IrnsnoRqHvMR0WMHDJpmpwv-vgSSJmHvbgp-dlJyXQzGPsbEm38IGX_Kz6fiF52E0LjQ_1p66dwMeSNgVM32rtjyUwu/s1600-h/image%5B38%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtb3p2rwNtkjT-M0K9L7nRy25I9SZyyGbSnAZkgW4da_BCzkU-KgafcNfqkU_Ilbzcqg3naxW_uvKHyPc4NRZVNR6XWIufESrF5g0bqe1V1w-lHWDjmcR1AMjk8cZzUNBwzpMi4fcVjTLO/?imgmax=800&quot; width=&quot;356&quot; height=&quot;91&quot; /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;2. Start up your VM, open up a command prompt and run&amp;#160; ipconfig. Notice the new Local Area Connection 2 should be in your local network. The other is the default NAT adapter that allows your VM to see the Internet as your host computer.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRL4na1_TNoc0b2wbxBQ6FFAWvvJHgvHz97tsEZMof8aiOEYd7wEnOMrf2ngpc5eL5vrGKCbTx-QLwRAbobUOUKV5O-lDOYXzEUiI2EI5I1_M7JO8bdv0MlHX1zbv8OqtsJ3S6y5rXCwBx/s1600-h/image%5B8%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFdq-xs5wGbUYxGlP6ucaYhP0QBBsEltjhhSv46QGKuCPyulC-n7wDPk5-jnvRzzzXytJZTQXFsT2eNIgBQz-qI_48r4FaH3ffX53PGVWN-tCB33zRS5Reut0AuKX59stM2wNxMWj1G6Gs/?imgmax=800&quot; width=&quot;558&quot; height=&quot;272&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;3. On your host computer go to C:\Windows\System32\drivers\etc and edit your hosts file and add the new IP address to your hosts file.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuxuHqj7w7FOFX9-aWbufXONxlQSPDUf1Zp5dPmxeS4fA-Z3Bw8XZALuRtFXI9sFGo6afn6xJ9Cpy3V9J1lBGn8RR4iVVa-xiv-S9-3m2u172Ol3vdQtAIWUfBQ-EEHLugoEX4nZ5L2y3m/s1600-h/image%5B12%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJLFZYDlaBBlff9-_wQxBJ8P-yHc7C3MpgwNGJzHuq3ovbH9xA6eS31SCHVCLzdFwewpwjyZEFkGVshGHIobuOURMqK1NOYMGqYys6wPKqHPhlTvcajRYM-ZLi8bIjbOBGLHFk_yGIi3NQ/?imgmax=800&quot; width=&quot;563&quot; height=&quot;169&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;4.You may want to add a new Credential to your Credential Manager to reduce your login time under Control Panel since you are not in the domain of the VM.&lt;/p&gt;  &lt;p&gt;Use the Hosts alias created above, then add a domain\username, and password. This will give you a mostly filled out login when you try to reach the website for the first time.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkBBWY8p_IJHgP1ig9tLK4o4KDkmL_3Rldzrf60UuwUBpXxxFsPDWodd0r5ATOaKg2Esf1lB2F0G1_9FnxLVjFNwo9h7iwQxD_ut4TfK4zX5YK8QwiqCbESL5NAblyzfOT-KUIoluqNsed/s1600-h/image%5B21%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMoc1y3YNbaVJLrRqhD5MkEuj6PpknjtYBYcE88jfj3k22P4bexqsEdHLUM7vy3e2aVlRO0OW2vDcmQjV6nL9qTfUHnrpmn5FiXGg-guuEhBwAnnA7Px7WAqpEiJBlupb17bSVwPNo4wH-/?imgmax=800&quot; width=&quot;580&quot; height=&quot;383&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt; 5.&amp;#160; Test the connection out by bringing up MS CRM on your host. I’m using the alias in my hosts file pull up CRM.&amp;#160; &lt;a title=&quot;http://w2008r2crmdev:5555/CRMDEMO&quot; href=&quot;http://w2008r2crmdev:5555/CRMDEMO&quot;&gt;http://w2008r2crmdev:5555/CRMDEMO&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXINlneRJVajdT_phoaznShercDv0WUNlcx3wKiLSAckCWf36UjSmqgoeUfike_ds1SITpTAUed_1Kf_lUx8M2ry0u4_SzRAFb2i8zgScNJPCiqC25Z1LgazxpVAjLCrHUPEZeVXptNNvS/s1600-h/image%5B16%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj7FsnU6Tjb1vqNX59dx6LOYEx1FPAaiYBa6uSFGXdV8rS0upowGsUJ7PoT9n47ZCSxi_VkvXOZ0qpbiq8RuqX-ZgCMiWhcdZefwaLUFBDrFqaBRful0Nx2-9UtOBfLEwnWHWb4zfbD0uf/?imgmax=800&quot; width=&quot;577&quot; height=&quot;360&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;6. Now make sure you can access the endpoints through the browser&lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;http://w2008r2crmdev:5555/CRMDEMO/xrmservices/2011/organizationdata.svc/$metadata&quot; href=&quot;http://w2008r2crmdev:5555/CRMDEMO/xrmservices/2011/organizationdata.svc/$metadata&quot;&gt;&lt;font size=&quot;1&quot;&gt;http://w2008r2crmdev:5555/CRMDEMO/xrmservices/2011/organizationdata.svc/$metadata&lt;/font&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a title=&quot;http://w2008r2crmdev:5555/CRMDEMO/xrmservices/2011/organizationdata.svc/&quot; href=&quot;http://w2008r2crmdev:5555/CRMDEMO/xrmservices/2011/organizationdata.svc/&quot;&gt;&lt;font size=&quot;1&quot;&gt;http://w2008r2crmdev:5555/CRMDEMO/xrmservices/2011/organizationdata.svc/&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLMkar0paZEI3I2g_8bkcZ7jBDZt2_ANvmUcc5u6UTfJN1J6g7UFGVkxXR0ftP05WI6liKFCIrc_Wt6lZCASUmDHTEGXM8HkEj89noj2F0Zgydzr22wM3elxQGUNC2U8QLi7Q6BXLwy1HJ/s1600-h/image%5B26%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8Ok0DE1ZfjgipCSLW2TsR6AnKqRIjyvUm1wEskNHlKkwDSDh52uOKiZXmVwBr6gog5Ong9IWQq-mvf54d2J1wGo6MgJauz5YebRtbo56mWc6wkOFm9Ui2YOTP9Rw_ufFSEWa_2UyLiBQV/?imgmax=800&quot; width=&quot;589&quot; height=&quot;273&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;7. If the endpoints show up in the browser than they should be available to add a reference to a Silverlight project as shown below.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT3OdzlGuKxYF8UFyVYM5h2JaDH1r_wjXYBa8wkJdpiOSO2zPO8b6s_59T43eAL9rWT1DmM5NoIRqlmHrGJA-skcoISJRwDB1lje3EMy2pWw7dF9FggGcLTiKK2qhK6Kh3LILVok_LPKZV/s1600-h/VS%20Service%20Reference%20MetaData%5B4%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;VS Service Reference MetaData&quot; border=&quot;0&quot; alt=&quot;VS Service Reference MetaData&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5xNEaAMVQqjtcGfFJCiiZTeQg8vwX8u9JaRwr072g0wywTuPlhyMORFdEFye5GDVXilvahyphenhypheniNwyNQBi0EHBp-83nP6LSiC8XfGMYjohU8XDsu27mqoJSWop5ZcxuF_ZSNM4Zjy_8Vn-oH/?imgmax=800&quot; width=&quot;595&quot; height=&quot;492&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Side Note:&lt;/strong&gt; I have found that this VM is capable of running with 2.3Gb of RAM and on one core on my 2 year old Core Duo laptop. There is just enough memory to run VS 2010 on the host and connect to the guest VM’s endpoints as shown above in the 4Gb of RAM my laptop has. This is by no means an optimum configuration, but it is possible to demonstrate CRM 2011 beta with SharePoint integration and write code against both SDK’s. &lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2010/09/connecting-to-ms-crm-2011-outside-vm.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGjyL8NB_BqoeLUuIADcJ3yx61gOxlfXoYDHq15MZHoHgKs3jlIbnKv_hRnkP4U1CQuvVgC3p35Q-H1u8D712YDKIlZ-7Gn6agIWdM7dOysc-MiPZvpNKblmJN2bY5CrSdyAcEyAWHCoRO/s72-c?imgmax=800" height="72" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-7688318965757836200</guid><pubDate>Tue, 21 Sep 2010 15:04:00 +0000</pubDate><atom:updated>2010-09-21T13:15:56.681-04:00</atom:updated><title>MS CRM 2011 SharePoint List Component Installation</title><description>&lt;p&gt;&lt;strong&gt;&lt;font color=&quot;#ff0000&quot;&gt;Warning&lt;/font&gt;&lt;/strong&gt; if you downloaded the file just as this was introduced it contains an unsigned assembly that will give you an error message shown when you would see it during the installation below. A fix was put out by MS a few days later. If in doubt download it again.&lt;/p&gt; Download the &lt;a href=&quot;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0c7dcc45-9d41-4e2e-8126-895517b4274c&amp;amp;displayLang=en&quot;&gt;SharePoint List Component&lt;/a&gt;   &lt;br /&gt;&lt;strong&gt;CRM2011-SharePointList-ENU-amd64.exe&lt;/strong&gt; file and run it on your VM.   &lt;p&gt;Accept the Conditions    &lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2lKHfXErFHDyBhCOTbFXqHgK6zDxZn4YWpU0F7-2kMmdb7DiAG2psNixbf1Sjl_ZBtoTY_n9eqzZOkZ4FWfagnK6uY8YSZiWm08UdXmqd4lX5JroF2j4pu0KljtVkqVRTQ64FrXl22LMt/s1600-h/image%5B3%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjloO0fc8mAxWDEgzcsARSxddVfBe3m08XlbSis67826GvY-aJS9nrsgmfGOgPVsn_T4p7E3sB_QGapLyq8WD52K527E_hDULeUJ4rXo_ZvXFSd2LnGpIBesJ9ZQ16iV-AYW4T9jjSKll3t/?imgmax=800&quot; width=&quot;279&quot; height=&quot;257&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Pick a place to unpack the contents. You will be browsing to the &lt;strong&gt;crmlistcomponent.wsp&lt;/strong&gt; file from SharePoint later.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDKxDo_m5IYr1NOxzLYJ4Q7F-sNtrF0qeTcRkm8Y-QSmUetUxb9uN0zaLClR-QLPwcIG_KCXYnZ0lVzTDmvalFJ9epuqxFldojDHl_XWimfcjt2jRF1IYqh1lRJ-NZKl7zpwFgL9NeQJ0A/s1600-h/image%5B7%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiixBUQto6FkE4yOzgGGQCRR0jbySlFRlZL2m2-3CT-0zBZgEa8sQwIL4wpyVftIKhxoqaYiQK2AOr95iaq1PN1_KjzuvKVUf2TVvlY0SOuMYG0EYk_ERKFrBATw26m3bYv1FMvPIc9Dzdp/?imgmax=800&quot; width=&quot;327&quot; height=&quot;125&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Before installing the List component you need to relax the Browser File Handling to “Permissive” for the Web application that you are sharing with MS CRM 2011.&lt;/p&gt;  &lt;p&gt;Go to SharePoint Central Administration and click on Manage web applications.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcaiCoY53sXKQLBXwNzXY0aHB5j6TMNiGVe3kVvMQIi8Z0dBviWY6LEOROX_kD_T5FDqaxSi_D7Pgl7U9ySXx7cqcqgVUAgfDsLdqK4Ws_Y02pwAZYZw__7UMQ5omuZH_q0eNGfnJQ7ill/s1600-h/image%5B15%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZB9QcbKHD7auFyORI06xa3TGdCDvww6ig56J8z4CVF7RD613sXYMCMhvWr2JcgJodca3Q0Xaa10NcQnpyfcduJbaAaPr0bnxJnji4w79eXEcX8uG7GmA9W0hZcLDw69ATcmK6MuZ8nvsl/?imgmax=800&quot; width=&quot;533&quot; height=&quot;360&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Select the web application that you are sharing with MS CRM and click on General Settings.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY_rgp2NdvTVCfwkoZYRfgh4K41bxDv11l-6uhUHgkT7e0okVZwnwOwONFp7py4JCGc_tYmHofSHHy3yhtaABocb8M8gpIVio46Mv1_ewQzju8MYC60Y8DmqC9GeMVAwjMD3vPqtJUhhZI/s1600-h/image%5B23%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWX0uoYtMh9hz88Xi2DVTQRMr7Kl_A-eHPnDY4bsXLC8N63WCTVKuidmUZDUQ2O5J0O0gQ3PkgrCHQBmdQqqve-0Sy6WnBXl-rUsz70A_dTEf2WrHQ6HOwbcG9A_5PVs7b2zvYq6g9v4ZQ/?imgmax=800&quot; width=&quot;549&quot; height=&quot;338&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Scroll down to Browser File Handling and click on permissive then scroll to the bottom and click OK.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGaULI7ik26IJy8h3PxkzC7bsNBcuUMfpVN7I6U7kXQALEV5JNV4j0rkZZahOPwDB59nXrbl807o3OmvDDT2gD4g9Opag2jRTfqEYq1KCvr3Q1B0_j8-nmAJPeT_qSFV8zMDVQa2i_5QbM/s1600-h/image%5B30%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihyr76fCiFBVqH9pkI992br0OvyxhWSbrmScpwwDYR2GE0M2k8Za8L9BfOa14qPPCIt7G1RInnjGVX26zsEjkBJL08dJp52Xx0V6cC4FyEyl9iOQNdFGrrknjnLFR7rNQUs7ZeSuyeTBUn/?imgmax=800&quot; width=&quot;554&quot; height=&quot;343&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now visit your SharePoint Site and click on Site Actions then Site Settings.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbkyuYI1rNTE8_Wybvuv6jhi-05MeL90HC7juqYaKFHspdzyIChwAfC7N9T8IIab8lMwNNKce0PwPbYp0ESJ-rJsAWVVG8LR88J0niV3V9UnMIZVJkokb_RdFbz0d5sq-89Zvr3J-KgSqF/s1600-h/image%5B34%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZHFzIHOCI7kwe70cvvhjeHqTC2k95vMQ2qgkg2Lm3zh3J5p5XvqAt2u7pl3pB8okPq995HTpMldfELAeO4stENcOu7SQqMifdA0kDRurY27eoX9wLIf8imsZI4PB61ShfveXH7s6m_mpe/?imgmax=800&quot; width=&quot;555&quot; height=&quot;386&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Click on Solutions under Galleries&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl0PnLMMDA-VE2ys9PgRC7_apLJjhDvP-j99EHSPVwdaMpHmCHwMiSEtsfYbwKDM5aCTWwJg55sVPIkJYngIrlYLGmB3BlXPYR3C6s6qHIJ0sUqOgoSq7PzkFmwo5mTP2AIx0AGyhcxaQE/s1600-h/image%5B38%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvwCWno9NbvoWbZNMctlNb6QLvnHaR0aIZsAwFH-u-TmdIzpvzl2eTv0KrFZnU2x80Z2mcWPWxRLdVOft8gsPNkrxC_VKDBAGXQoQbqdB0PkaFE_zrx1gN3ipu050VDjzwCPqJe0aTctIY/?imgmax=800&quot; width=&quot;565&quot; height=&quot;393&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Click the Solutions Tab, and a ribbon will appear. Click on Upload Solution in that Ribbon.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMLy2q_bzE1qwVyfASAo4phOhPtYSwPKfWzAXzU_jc6BWzuX-mlnI9RvppcwENnllyTDmMT_G4s0xYY-S8ZFF01VCqgDTA7SzzyTtjAr_eP-6IeXxPdynHrWklXLEmrqsOpMzqBC_U-Fbq/s1600-h/image%5B45%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyR3KqI_deyqLu13TjHmuwyBnMxLjuohOPOrgCaxecvx69cGO3jjfdFMUQ2N-8zuyWBPZh7uwNWWMSU0urMfJ4hpcBZt_j8C0uQ7EFvL9ZCdUg7-hLgjdFdjne5pHmfHeagBZarBJUVLXn/?imgmax=800&quot; width=&quot;574&quot; height=&quot;376&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Now browse to the &lt;strong&gt;crmlistcomponent.wsp&lt;/strong&gt; file that was unpacked earlier and click OK.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMGihbdoCDRy3dqyehw2mZqrwkdMqvvJu-TygYPFXKkJ9-4PJe4vtVWbV5ISfVym-BR8I2J4vul8YW2WDKiDzo-PU3XW4sgP6Kt_ed80Io5FxMVEpLKd4LjRhSLJcoMd6MblwgwmgG-ndM/s1600-h/image%5B49%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9MOOaRq6Zjg8_iSxMjbl35Uhl6YBJRATnZAf0kWnUaAcagIC3pvac4U6FTIHDuD-R8J1sCP1O0-Flwc1ZEwopfOd1Q88lqm4NUbPZPcO4VLwNO5Fl3OYCzuj9kbFsy5RaDsczx5fnlX1E/?imgmax=800&quot; width=&quot;586&quot; height=&quot;387&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now you need to Activate this solution. &lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUEk34JvS4LQ9LLXnPyz2H5y7Gwd1gmaWuCzZ-9I0L3V6aVSiKVr9QiVEPmLDVli6GcQYH_0zV47v5SrVaZQDN8hwlLcy8eJUw58rPncd_RNDp3xkHsaQL7dpo89_7cCbjZVVXD6zmzyJZ/s1600-h/image%5B53%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhknwRRP_ONoIFDEwMrCEcRhxOTb8RnvQQe0pyv657uRDKe_xE5XrnYqXhYqrwtxAUDTLe-3KQINscXFtCs5MLogC4iPeVBfLysBuuHk8IFvIhM_21U5hYCJUNNfEZSbmGptdoHDJpIVDke/?imgmax=800&quot; width=&quot;590&quot; height=&quot;389&quot; /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The error below will only happen if you are still using the Initial download of the CRM2011-SharePointList-ENU-amd64.exe file.&amp;#160; &lt;br /&gt;    &lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiUeB_EtdYQD7KeeWMZCYEboDHsLiptIQfR3uUQahQQb7bcc-l70pZRvkFOwOz1GECFzswQ76FtR5lOaA2sEcE-SF5Co5cIdF7JU0v3E3f3UpPqQkik-YOnUw17F2SfizQfU39ThdNzH_0/s1600-h/image%5B58%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQrSMzSGOQK3B9togCf7xzma65FMvcMQjwoGI7_AHIabMvJZPYx5Ae-iLLnI3f5IBiSrMTYuCPduRXoWuLAgUYbDOkukorqWAFGkJLKgTWK9NzoVX2PRWAwzK6OZwFPNJjvRkmjhmiLPb3/?imgmax=800&quot; width=&quot;596&quot; height=&quot;395&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;You should see this if you have the right version.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5kxtOWFd8Bt-EfXQBxOkTlIRHhCmr8xbDiC0ivzlgZtcKtUkp9mNxO4VdDffhNFuKItF6FrerhVwYUvRFdkbchj0AQn2XvfllVkduLlGMz-Yd5sU61amX8cejFPs04wqQH_o7QQLi1v9q/s1600-h/image%5B63%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-iwIS4HtBi3A-Q6HCL4NZpV-F5mS5waoSX3plPuO5tsSgxgsYM3PWZRMQyY-y-wAF5dFTcltcaaP8TycoN1Y_hkZryfnsINlz1rWgC3BmgNrxUK2n30CUiNPrvSBLrhk5jDGOx-aBGcZ5/?imgmax=800&quot; width=&quot;604&quot; height=&quot;404&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The SharePoint List Component is now in place.&lt;/p&gt;  &lt;p&gt;To test this in CRM.&lt;/p&gt;  &lt;p&gt;Go to Settings, Document Management and click on Document Management Settings.&amp;#160; Enter your shared SharePoint site. Click Next&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwBbjUkEDF9J21qyDpYLbgWR9t2Mf2b89my1RLyBS6uMI0JFQ85VuUdYMk0ko_8zANGm5GtajEC7MB5lk9UVmz-jWiqWJlHwJiJcFTgajhQKVI4ofiup_kQc0oBsfoFEe_jHIJvP7FTSjh/s1600-h/image%5B5%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOwcq22k-hClLs7wk5MLlHQJFm2HKQ3xJjwd4eM_1KaTlnz3FTVZs2vb3ldZgsp3CRG7P1c47Ikxdximfe6ZRoi-0-04_gPU8yaym0FWY_pDj6BAVqnnK6DoG1N2iJ4UOE7Bj4QnjLPu_e/?imgmax=800&quot; width=&quot;612&quot; height=&quot;545&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You can pick Account, Contact or not select where you Document Library will be based. I selected Account below.&amp;#160; Click Next&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixA3QVM9WtY8XVzZ1xFzkytlEwc99lA5Ih_WJEz6OFzNZ7mE9rt9l_GYfn1CweaCKdOMFW6JrrOp_qH1X4uCqh9B88Ah6y3hVOe09GHXISF34kDgOPzY_S90QtfImKaWKbCIWv8bj-Qgd-/s1600-h/image%5B10%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlvhuc-SRlrjyuEASjvZZ50iYImjUA3FoPDE_tFNk1Y0S6ZnYTPq6iPkHsbOjXVa0IANKkf-Py394rRLoIElkh0i-LxWeLVw5Y7PSO1qv9fYgwaB4_K29N3c-N2821tizpyRx8quqTiBdZ/?imgmax=800&quot; width=&quot;534&quot; height=&quot;549&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWCQSNmqWy7QbqKjlkE8-amS91zhHUDybeWyBAbQTZC-m-pIYbZLcuMuR3iJ5v1fbYrLoJasxcxFhKTjW5frLQoa3t9WwAlrGsKx4WtfHQjlYu-jb3bTWw2vZEWRoSY2eF092QpCCoMo_-/s1600-h/image%5B15%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuTvtU0iDdEMeCc6T32mZRwHSiEs8CGmV-TMKiFAMUFOZn25a8TmquzGsNuEU4R2qnfZybO1BVbI8pDGaLBz1KQ6ut2R0OKf35pL_JGysBDsPWv4mTIOs8JV53ix1MhPAZmtmEzssAO7zB/?imgmax=800&quot; width=&quot;547&quot; height=&quot;556&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;When it is all done, click finish.&lt;/p&gt;  &lt;p&gt;Create a Test Account if you don’t already have one. Add a document of some kind. It will prompt you for a location to automatically create a SharePoint Folder the first time you do this per Account. Click OK.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXCrNitIwXzuQevUsGVpz2k-ABOu9QcgtioPlaTUm_qmY-uQLtES3uWR_kM7odioGsnsCF3qG8ld7SS7TUT7z9AL1TZ6acNQJTltDqaHaMUMre4qDyvm0KxqifbVjG4_SR5yjfKg-cCjcm/s1600-h/image%5B19%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIOIJF9UffgNL-wJp06raYSqfzE5vYR9YNqhnX_T-NvVfJ4Ogmk7POh4L5a49lHfCwKpe78iW2bGNnyzvbx8NBOZvbSaSpOzP9c1P_DY6sy98VP-299GvtN1KCwB2v6ZgEtHqBdNzO8A_D/?imgmax=800&quot; width=&quot;565&quot; height=&quot;343&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Click the Open SharePoint link to see the document in SharePoint. Both sides can now work with documents in this folder.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilIGesDDFxa96wuKmb5aODn9uD515-ku2DAQro2QUO8SXYlPa1E1NqKisKx2Wb28iu0A6wof7PrsVr7MFf10VoWLT10qxb_dE_oPapgpxYhchsZpCRspW44Xe7JPQszta4WWaExZa3DYUl/s1600-h/image%5B23%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXwAxanod5m0P1nhIpUveYhKQ9giftUzL93e4GbMW8id8ksQSCWmLNjE8-dc-dgWBBISxPWOEgb5V2GanZbii9DeprOAhz683nRs2I7HGmcCqz9amcUVNmHtHezHLU7C69wJUTJDyRFif-/?imgmax=800&quot; width=&quot;588&quot; height=&quot;362&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2010/09/ms-crm-2011-sharepoint-list-component.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjloO0fc8mAxWDEgzcsARSxddVfBe3m08XlbSis67826GvY-aJS9nrsgmfGOgPVsn_T4p7E3sB_QGapLyq8WD52K527E_hDULeUJ4rXo_ZvXFSd2LnGpIBesJ9ZQ16iV-AYW4T9jjSKll3t/s72-c?imgmax=800" height="72" width="72"/><thr:total>10</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-4072817330894997219</guid><pubDate>Sun, 19 Sep 2010 19:30:00 +0000</pubDate><atom:updated>2010-09-19T15:30:11.879-04:00</atom:updated><title>MS CRM 2011 Beta VM Continued.. Customizations</title><description>&lt;p&gt;As my instructions left off, trying to publish a CRM customization and exporting customizations will fail with a SQL error. This is because the administrator currently doesn’t have adequate permissions.&lt;/p&gt;  &lt;p&gt;Since the Administrator account has the Administrator security role this should not be an issue.&lt;/p&gt;  &lt;p&gt;In a production system we should not be giving the Administrator account direct&amp;#160; access the &lt;strong&gt;&amp;lt;orgname&amp;gt;_MSCRM&lt;/strong&gt; database as dbo in SQL Management Studio, but that will work for the VM. However I believe the user should instead belong to a group with the proper permissions. In this case I added the Administrator user to the &lt;strong&gt;SQLAccessGroup&lt;/strong&gt; as shown below which had adequate permissions.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5wyVn0ZjHZvhXksDLsfNu9qSV3H149G6N1T1LdIYsg1NjTGd8w-WBFrutj9jGu_r44n4lAboZQPHPB3vYKGrHDLviq-EN5FEkx-hHotM2LhV28t5YbLTStv1KY-9H0O1YngdezKUPzBB2/s1600-h/image%5B12%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivzbXYNlPFSOI_0d3-ST6RXZYf5ocpyuYNA8g2jhrRTi8vzrvYsi5m60lh5Uc4E2tkh8PqMt8APS7pTmNdFDdm-Zx1yAtSHW_icTYJUEWgZrfLaBQ9MR3erWOxq8HeAZm__eaBJSMHxWUf/?imgmax=800&quot; width=&quot;552&quot; height=&quot;465&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2010/09/ms-crm-2011-beta-vm-continued_19.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivzbXYNlPFSOI_0d3-ST6RXZYf5ocpyuYNA8g2jhrRTi8vzrvYsi5m60lh5Uc4E2tkh8PqMt8APS7pTmNdFDdm-Zx1yAtSHW_icTYJUEWgZrfLaBQ9MR3erWOxq8HeAZm__eaBJSMHxWUf/s72-c?imgmax=800" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-1765366638508854528</guid><pubDate>Wed, 15 Sep 2010 16:02:00 +0000</pubDate><atom:updated>2010-09-15T15:50:42.362-04:00</atom:updated><title>MS CRM 2011 Beta VM continued…</title><description>&lt;p&gt;There is going to be plenty more to this VM and the CRM beta to work on as we learn more about this new release.&lt;/p&gt;  &lt;p&gt;More Building Blocks are needed.&lt;/p&gt;  &lt;p&gt;Using steps in the previous section make sure that the SharePoint websites are stopped.&amp;#160; Also stop the SharePoint services below. This will dramatically speed things up.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiagXYSyTSgx0J7IrGVY4zeBnZggbYL2KIA8FkpAl4LVH5-r1IOoHKvpNTwAwu95e1C_4AC_SLz58FY8jxVDtsfK6Lawp3qg-3gcdRyh-ru0kohmQgaVO9Ujf1prOTkIybYIrrgZ5Ct8LEU/s1600-h/image%5B2%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglaF-jy2qhkxdLWKuBweJ39IfW_TzBx2qGpxXuXdWhERWSIx9G8u0IiEsIY0Mm_D_xwMNyOvyEnG3QGH5UCkB5dBZR3Wthmsgz0sWytqT9NfzABP6IW7xhXw5-Weqh_vox1ZQd0SvG-9_2/?imgmax=800&quot; width=&quot;244&quot; height=&quot;111&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;5&quot;&gt;Unpack the Beta SDK&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Install the CRM 2001 SDK,&amp;#160; using &lt;strong&gt;MicrosoftDynamicsCRM2011BetaSDK.exe&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Double click and pick a folder to use. I chose&amp;#160; C:\CRM2011BETASDK&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;5&quot;&gt;Build the Plug-in Registration Tool&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Open VS 2010    &lt;br /&gt;Open the solution in&amp;#160; C:\CRM2011BETASDK\sdk\tools\pluginregistration&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjefFqwAwsMP4BjaclBo3gOcYkDCfG5nqfEDf_4SsqOpZrjb8tzSwQGWSHAD-Bg9pPVgEkAz8P0GEjmms_FdiYDEpDUPOlN4rbZKmH6Qus5Gg3zmap5wMSpns_GzQKw-agc78_qGbgo36_4/s1600-h/image%5B6%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglgtUk-Qf5XZfpOdI9seSZ9U2_tKiQ2sVRI5zvzzZSFxMzfWuFl8xxsnqYGC2Wvs1MhHP_TKZ-zbFFRNLD-fMVIxhwio3B03UZTU1jMjaGzE46bi9L8tCVpAWjhlifIabpnskWjEBJDNL0/?imgmax=800&quot; width=&quot;550&quot; height=&quot;306&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Debug the solution to make sure it works.&lt;/p&gt;  &lt;p&gt;Enter the URL of your CRM website, and check Use Saved Credentials and click connect.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqjiRqSMKoKGSO1RoZSvRHlukWKEHXnzjIS2rk9KiLu9eii-unsUajkDroeOZyiuzfcgYZ2XstOhgdxjBX-kzgxxNIjqPkNZIIuc0lZImVuV7BCBcE51mdTdYQhTKvUoz0nb2OvkN82Vvb/s1600-h/image%5B18%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik9EeYUWMeBncqCOGiv2i1bYQeJztYxlF6mLys0EuwqigiT0luCP6nEXy0xV0k6zciX3ZrSTmWnKNjTO6OYOMfdebS1Uxnid9lfVxq24s_t0jZEGU7aFeiXsT2lbrIOl0wyfqsfOG11g2f/?imgmax=800&quot; width=&quot;547&quot; height=&quot;394&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Click Connect again and you should see that the Plug-in Registration tool is working.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyvTLUVlgK3hOO7NSgHvTR8whSKIgwBQqFPIENestkC27L4FoHneTh3Uftrsf0NhcASn5Gv_MZfiTI0zCqdKzWBMPeKVW8RHQqq_OkHDEj0XWqT3zxS0MDyGMiQGwpbhz6vM22WunoKOoD/s1600-h/image%5B19%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBIHKbwFDHh-8C3dPg3wnvLkJwA3__-n8fZOvZOuAhj_VhJ27FnlgwGRyEXdRMawu7PP5b8IycpeSXVAfpNMj1JhdPOEP-QzRVbwxLnKwaqcx5z3IAHNMEr-5H8kgixVFVzeoGn8TQdsWm/?imgmax=800&quot; width=&quot;555&quot; height=&quot;339&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;For testing purposes you can just run the copy out of the bin debug folder or put a copy on a folder on your desktop.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;4&quot;&gt;SQL Reporting Services ( Configure Data Source )&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Now that CRM is installed we need to revisit Reporting services and configure the MS CRM_DataSource&lt;/p&gt;  &lt;p&gt;Go to Reporting Services in Internet Explorer:   &lt;br /&gt;&lt;a title=&quot;http://w2008r2crmdev/Reports&quot; href=&quot;http://w2008r2crmdev/Reports&quot;&gt;http://w2008r2crmdev/Reports&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK66CnEp_TwbWhoorfVpaKAtZyMMDMroVrgCsoJW41VE6MfSrt-7Kc5xZFu8GY33Nh-tVneLkJrHu2apptluzCIweeiB-xKDXnU6cNMZ8Oz7H9_WaVL2KlXKHR7UyWLV8xRumhyHrpZPU-/s1600-h/image%5B17%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrVZ0AQQ3tZ9s6Q7ITPgAwGllKkhIBSJtll741LNSCNyoAhsSB9uK23aizJpDO9LWQ7NvlD-VuwO9we5UQSko9JNpwZPn65mKz7sh5N8lg2zK0Q1iCaVguk-cpNViH9RN-2RbfehhBJt2r/?imgmax=800&quot; width=&quot;549&quot; height=&quot;235&quot; /&gt;&lt;/a&gt; Click on &lt;strong&gt;SharedReports     &lt;br /&gt;&lt;/strong&gt;Click on&lt;strong&gt; 5.0.xxxx     &lt;br /&gt;&lt;/strong&gt;Click on &lt;strong&gt;Details View&lt;/strong&gt; since the datasources are hidden by default.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCBbpDLA8EM8-wS9yJj7jfmaImrtjUoJXkfVQFaKZkEvzQQXrTSDwrT6m8cId-xHMUvljY3INicquFmFw6vp9wDn2wnRmWrtKk8wZRgOvjg8zv8W9txE8zgxlMuo0blBTNzeAN-azfAdJe/s1600-h/image%5B21%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSZ2OD3H-LjU-zKLY2pd5uC-uGXHnQAnsR93maiO4SS8TV_lmhiWZWc7Zac0_NK-ab2T05oao1nrFiMtoAs8UUkG8aI4N2GeQ72BbX3srI4r-zYYZ4_TW1PJItJWQON9hiddD0qrfOyOZ0/?imgmax=800&quot; width=&quot;549&quot; height=&quot;145&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Click on &lt;strong&gt;MSCRM_DataSource&lt;/strong&gt;. &lt;font color=&quot;#008040&quot;&gt;(obviously adjust the following for your organization name and server name )&lt;/font&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Change the Data source type to:&amp;#160; &lt;strong&gt;Microsoft SQL Server&lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;Change the Connection string to:&amp;#160; &lt;strong&gt;Data Source=W2008R2CRMDEV;Initial Catalog=CRMDEMO_MSCRM;Connection Timeout=60;Integrated Security=SSPI&lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;Click on Windows integrated security.&lt;/li&gt;    &lt;li&gt;Click on Apply&lt;/li&gt;    &lt;li&gt;Click on Test Connection&lt;/li&gt; &lt;/ol&gt;  &lt;blockquote&gt;   &lt;p&gt;You should see: &lt;font color=&quot;#008040&quot;&gt;Connection created successfully. &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;as shown below.&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5Lx9VOTzK77riUWjkrRzS1KVwE38lb7hvgWg0WLGlokxk3orDW89gkKxOWXBrSJdUBO50eKmZ90DKadrzm_11DcgPZ2ddhBSSPDD_zbsduJ6Yuj0_gSoHFKfOhi2juOu0eLMAL6Okfz5r/s1600-h/image%5B22%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl7UVCivlf5RM65ca5zErMpmxhmIVjrdPMuQCAAY4ENAgGecA8PvWijh8h9IrXGXBSjWen-DdLKwGAxtbgjx6vFZ2s1lXBEeEXL1WcJEarke0y3pVrk8wRqsgzTQbqSSlT2vGbrVhGN6Ru/?imgmax=800&quot; width=&quot;583&quot; height=&quot;533&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;You should now be able to test out a CRM report.   &lt;br /&gt;I just pulled up the Account Distribution Report at the top of the list. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhX91XuAEEqbH4uHtmX2rWVbxzUXnU64KSmABXwSlC6js4AZXslCXa-EvSCTAigYfvGuHxfSDDTmg48rlWaP2RlrECkY9Ko4qpo0JI-GD-fgbFAgvBD8aa2UU0If06ShtnFO31r9lTnVoLP/s1600-h/image%5B31%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii6s4mZw0apg_BK1QCnv4Y7ztzfOjF4bVflV7BwOgzjzuI1ntpp-ymW4R5NpTAXLf-JFd6aG7kXnaw8u2gWaH8Evp3GatrNkZ0lFREbQxocgy_z3Xlq1Y5pyydRBEgHl0vUE1uUqKoa33w/?imgmax=800&quot; width=&quot;563&quot; height=&quot;360&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;That wasn’t really impressive since this VM has almost no data in it, but there were no SSRS errors and that is the important part.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhACZcnRHdrYzM5xfzeJl0ZKgkWH1aoyl6eHylhtxwWNZEjTV2YpGtACBjBzwcEvy6ofW1vSxc4IgNohdaYOVw1M5UE7lK_9qKiB8rz7J5vLCNegNLs-LIFXDAihaa4T0tM8EUA6tEQuotd/s1600-h/image%5B27%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgul7W1pzeHeKdlKkpg4TZTOXgtnJfIDCMvhkZGzeHMWF3f1ZuYWbb_BmvJRUlI_BHSTkzPcqLA7xNLiJZz-qD1P_dilumyeT2Jp5O31JiYcpuUxc6HJtleoJHCXU17jdLLroDLKAW7ga5-/?imgmax=800&quot; width=&quot;568&quot; height=&quot;384&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2010/09/ms-crm-2011-beta-vm-continued.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglaF-jy2qhkxdLWKuBweJ39IfW_TzBx2qGpxXuXdWhERWSIx9G8u0IiEsIY0Mm_D_xwMNyOvyEnG3QGH5UCkB5dBZR3Wthmsgz0sWytqT9NfzABP6IW7xhXw5-Weqh_vox1ZQd0SvG-9_2/s72-c?imgmax=800" height="72" width="72"/><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-7788753564389757918</guid><pubDate>Sun, 12 Sep 2010 16:31:00 +0000</pubDate><atom:updated>2010-09-12T12:31:31.187-04:00</atom:updated><title>Creating a MS CRM 2011 VM Part 2 of 2</title><description>&lt;font size=&quot;5&quot;&gt;   &lt;p&gt;     &lt;br /&gt;&lt;/p&gt;   &lt;strong&gt;Performance Note:&lt;/strong&gt; VirtualBox allows you to set more CPU’s for your virtual machine than you should. I ended up using 3 CPU’s for my i7 although it is a hyperthreading and shows 8 cores. I found it MUCH faster set to 3 CPU’s instead of say 4. &lt;/font&gt;  &lt;p&gt;To speed the installation up turn off the SharePoint Websites for now. Go to IIS Manager and stop the SharePoint sites. You may want to leave this off until installing the SharePoint List component in MS CRM and you will probably only want these turned on when you are using SharePoint, otherwise they    &lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBGQLg2qIRmwSqlO-oF6Oxke9Gi9wyiPQd23t6H4fOz4eU3BKQD0v7Tk4OIj4HZ1YUST9Zy3yi6pPQASGrL3F4nmmj5e5DPcM9J_2O3MCLFc5HJk7v1tLWXsMMgb94J5Kdl6mKdrPFvXOC/s1600-h/image12.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMxtYxjHBVrCR5j61MQ2kzaURSXf7FZIRl7B2iHEnFBBXMz5xwf_yMtnZ3HrcBw3LJVIsTpqQ1VXUpYZI5m0dUEXcCOMstXxBNfskMCcB4jwpnC3ZAvWuoCS3QHR2XWsOu8L3eCYI8wTZN/?imgmax=800&quot; width=&quot;562&quot; height=&quot;286&quot; /&gt;&lt;/a&gt;&lt;/p&gt; &lt;font size=&quot;5&quot;&gt;   &lt;p&gt;Visual Studio 2010 Installation&lt;/p&gt; &lt;/font&gt;  &lt;p&gt;VS 2010 is a very straight forward installation. It also installs a number of other prerequisites needed for MS CRM 2011 like .NET 4.0. &lt;/p&gt;  &lt;p&gt;Mount your VS 2010 iso image and select it.&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZd-qvSZ025z-DeA4NxwCQL4KGSlE3Vs441fXptzGvMZ6s8rCIEVqMWW1KCUeHWKymfb5cSOfIUpiKAKwtaecXkpouCeWKdsPW3KS6WCLzx6BDiy-v4-0LshXdHGG_sV24aGJdlpKc0jLh/s1600-h/image3.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijaEqC9apAO_EnHzmCAJdO-QTt0dquBl-CnYP9lpaymyui_vTerE9BSnaRP_yBrGIiM5epZDpyR0D8TrrZ574v3J6kfFVFez-Y1M2LuS8j7Y4A95v46_irBZaXqwAZgFpNQlaGKC7jku4U/?imgmax=800&quot; width=&quot;561&quot; height=&quot;431&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiln9gRSpIVhYmrnLsbn0vGkkO2TfRnO-eDVMljT-1491cGkxwtyK9CNo8SYE8pRxZHw91BbswbuUSXPWGVlHu1918CT1p6kHKl0ArV3esz43ldkWOGI-6hAFKvKLQTPxwOm9H9bX3fao5I/s1600-h/image13.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzn5fo_5kwEhUfyGinUH4ofAZAiiXeg4hCmVdgPhClOKZPnPLoEyHf_tOzCPfSc7oxE2hS09FJuLZGKYomGwBrvoH2PQkubLNA-wzxae3XckM5GFON1yTBOVDdiK2ePKKGuIzHNAOHYrJc/?imgmax=800&quot; width=&quot;572&quot; height=&quot;443&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;When that is complete you may want to make another snapshot of your VM.&lt;/p&gt;  &lt;p&gt;At this point your VM’s dvi file should be about 21Gb in size.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;5&quot;&gt;Reporting Services Installation&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Go to the Start button and click on All Programs&lt;/p&gt;  &lt;p&gt;Microsoft SQL Server 2008 R2 –&amp;gt;Configuration Tools –&amp;gt; Reporting Service Configuration Manager&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL1jT5ayrcCJW9WLMRpsLCf1PAFsvJIBRxGJpVgofZAxGOs-p2YgWSoMRtgfjZqotqdfTjll4dnue7pIdRiQpynnfVxXczDRcDvzRtuIFJHrlXfoJTg2lDQlxe7b06v61BRqjkJiyHn2xm/s1600-h/image86.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2PMBRIRMKAcnZobyWHIHoTTYtMaBlPbzqPcDacPIWngD7qqKkBtkzwbUKEYCjDIt58BJRfOZwlR9MINpkpEdPlILOWuV0MxRy5OHO-gocC5pzy80wwc9CRGOnyt3k_uD8ZOwZ9Pb7x3Sv/?imgmax=800&quot; width=&quot;361&quot; height=&quot;249&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Click Connect&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizkVHaZH50NDGdOMVluFkib_DUED7Qq26IEFBNd5xEv1Dt0bvG4BmQlFh6QLqFt1NJP01IfzNdp5TBjqMj6asc7Hgc35JcFVQwWbPDtpFc7YPBEDXTk07awO30dRfaHNw-wsTYLo1Hs0h4/s1600-h/image90.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgJ_751sck1go9KpC16lyFe8WiF1WWCBhTXb01d7UamV3ckwom8WQyXphnW7VVe4jjyf1m_5t4kIkErNHOBADmiVIZ_-M7bo_zJnuM4TZsV6kXSz3QIHwE1NGDWMArz8M_awJUMUfVilTj/?imgmax=800&quot; width=&quot;559&quot; height=&quot;425&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Click Web Service URL&amp;#160; then Click Apply&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtBlJZ1RUNLZjEyVARkF9oQPi7DXwx6-DPGhIzWUsKOgjvD90I7HuQMJDADnMs8cXXNrSZdLFdw0depyQrHLBl0Nuw1lU2lgz8AjNHuqov7wHyc8t3vP712m9VMmcBfIhtsDrqDk8iEjti/s1600-h/image94.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjidUreL4Pid4E1L1T2_4H1GXWfvmV7Xaq1obCwya4Vu-JPbj1lt-BcZEIyt0jDN9kh3xnmA7joCf088Ck1KzL3IokKiuviLdwqZ7SFPsnv0K1zoJoYOyy8urNz9KDQV88cfqvJjAppCJc-/?imgmax=800&quot; width=&quot;603&quot; height=&quot;460&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXZc7log7z5ED2UL4giAYKyjYKAzttWTXVPnSIazuJjh_9Z_BwgzdWtqDuhDejhzX8Z-z9v44EIwZkcRENP7f4l-grcrcxcTjxr1oQOtfNgMCqwGcwhaZElgKvNBHadhtTMr0QlH6RtcNh/s1600-h/image98.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHpT3vDyEByTUbxt1jO_RgpqTG1bSYO-FpLTbnoMVQ2mLcIk1dDHUk-EY-G36qogBuw-Z3ZccZsv9Di6rfP_qVojyaIvPzlQnZvA1ZR2DLZp5ii3M3sv5bxXUQAp4Stmt6gUwaX6gtF3vy/?imgmax=800&quot; width=&quot;352&quot; height=&quot;97&quot; /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;Click on Database and Change Database&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFAKMWNQFiDceTajQbDGompcT7mErkDIw5NBjKT6hOn4kny58m1Y0GXtegh_E6vVqycFENfysbppQArhIrnLl4bLHX1UztWndzZrfGwJm0U5yvHqWQPMmY_M_EwfP2ze2HEopmRn9PVGXF/s1600-h/image102.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDFGpjre90SYSEji_tXF0jvs76tZGeCpIJ0g_AELtT4hhIsiKJcMda6WAbBbCXnvXEMeU9J_uwtng5M6Ot01kOJ6GWjrwIqJ8P5Ce-npa8gOStwUD-9BDcpHQeVcrlqZydgQh-PKXGVX2L/?imgmax=800&quot; width=&quot;596&quot; height=&quot;450&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Create a new report server database &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3QdG4tTZivyza1t6Uvlj-xqihfpQPZXgnZUkhC_Oy1iSYuAN6qsqj8q80zArsSPuDK7AKFgp01DS9DXIBqSKiuhUCeASFVSVCGAo1Y5K0Z0cfZXzQE1u2msbLmzFQuYlxGWs-qygVMSyJ/s1600-h/image107.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBOH76RJ2uAYmW9LNGyiOShFvMcS0EVqVNt6CF5EK5_Ax85CLGswfwRLqkKPFCP73EUZq3mbBX520u_SV2xhhP6z520ecHWVNfdpVpOuQioWtQXNEX7YhF0PeDI3qvjw7kJPjkGbKEnx8G/?imgmax=800&quot; width=&quot;602&quot; height=&quot;443&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Click Next&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdLbtID6T5X_PrAH_NKEAleVWBy_0CtGkuLAdQ-6rDW6l5Nya-lcKlEp_zscjqHiyLQzxQJN2cbp7uAL6lNLf_5xe_kgRlc-T3uCUsOg80VfIT-0Pp0hIwyah8spF6AlW2uxOZXoxOuHzU/s1600-h/image112.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEWQ7uvf9kNKXIn6A-vYxGoWG9QnWtukWbeYl8WDCkmkSA6_g99KVwcbAJxjeyKBmziKE0Jlb2Tlp7PB5pv0pneeDf6kmn7UmVJG0CyEUIE-DzWmO1G1K5gtFjunr41J68Hlc2F3NMDW-N/?imgmax=800&quot; width=&quot;607&quot; height=&quot;441&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Click Next&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh44kjvt-EmipkcdUhyphenhyphenJXMszp2jPz29mc6qNwWKTDBKDTjXzSYswOQAuI4NC_k-MUakXiDSfDithaaBriVnC3eKBb91-XM59Nwa-SH1FgM5s1GsAOrbSAD_qPfqwOijaiyIBDmfivdZYe9o/s1600-h/image116.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1RkOueRRpvsrCd81ks0apcL5R8eiKYD4UWJe7y0JNy96aSaDvrAwNKUkMMXlxfbmbSXyssg9ZrwIb-eX-yCI8xkaxGUMYbDmT_lgygOsIREWw05dnMhj-9JSxbHk_8G2Bq5x5Wa6HbXXD/?imgmax=800&quot; width=&quot;615&quot; height=&quot;447&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Click Next&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH_A-kLz8QmVUCpdaykesPn7blDkUDE-IlqsdDtory4lnYsgl2Mi6CgX9a-UzVvI6U-AEwmm581mZ-snOz8VghOZVazY948-lm-fbSrgcKs0mURUcW99nZLtIlakhGbBmmX8_iSmqi11vk/s1600-h/image120.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTptYlB9KiSHjzx0KhCOANDX3W4-MIJI2TTI_Nv2hrCjs9DCkTqVxeklfgiG4ZqOwzQOz2goX95wqrNNPGAnT6SZsRPeGbhhJJTW6zUPUriFobZHTn-MKnJS8Q_cnIXmIWYimcTk95Oz8G/?imgmax=800&quot; width=&quot;633&quot; height=&quot;463&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Click Next &lt;/p&gt;  &lt;p&gt;Click Finish&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8QGvRbcekaMApwiQzL1ytY-VC4cGjngduMacSnYZYVyoZu0wJVOodc0Y0zo0JqX8LBZRY1C2nf0j-z7EvJ59yX2Zm6QGmaMEDYW7m4_uPB7YtG5KQpmQ9gFosbYEugKqOwb6F5xhZOWx7/s1600-h/image124.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimaUMWnyoSfK8VIcZ8KUae0TbnI-PaHb7X1ofgBqeEVeBY7knmaShrqg9e9zSdG4GCNHXZWZah_YBFq_n7_X6PF44AuD2drxaHW8oZIUDMoJpg5fbMjd-gs_SiPXd_wZkGHjh6mnf4ccDm/?imgmax=800&quot; width=&quot;654&quot; height=&quot;476&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Click on Report Manager URL and click apply.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO81g-aO7mMQ7TTa0WcX4JS7Me55D5t1oLTI1gDkC0i_1R8OKRQxRMutW_UhKf3ba-vIh34incLj2fsTrRxwFeKK2deDvXTw6PaJ9FkOrOKInltRiYJIixhR0FN0pKcIbqxr8KGE5GWwPa/s1600-h/image135.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkkdF1nRCnF0IDAKvA0GWWLnGKEDWmVQmI0nlMHbs81b3LuSetsMEbKAJ0h9lq0L-Y8gyaaDi3jbCzatQHLUXLISItKb6YqRQRxZJyTUqvoxTfL8rHMhForYH5zXYoXXZg3ReOYw7c8XvK/?imgmax=800&quot; width=&quot;575&quot; height=&quot;443&quot; /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;Once again this is a test VM, so I gave this my Administrator account. You probably won’t be be using connectivity to remote servers anyway.&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs4EIq7bXzyv01E_szt_pm0YrYrqtCryDM7NuWd1uOIZMrY73rAyV2IEq4OzdvViv6o6fDbz2f-GVXdsnSZIOpSUOjQmli_bKJReIdwJqI_lB1Wq7YKsLQBwfqj1l4ivX1tcJj9W4a-3Xo/s1600-h/image134.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiItl7-6dlCOCmmbZRxJuFH7a1FTUK5kpsKbLPBDxZV_NuKj6bWhjijPzXzMg364m98F5WyEH6gpfP1oocpzooth9F_v6SAysq3H7RpJ1pVQbNbdT1e0o8HPDJf9uuDw8RuGCO3BRMmlXP/?imgmax=800&quot; width=&quot;570&quot; height=&quot;437&quot; /&gt;&lt;/a&gt;&amp;#160;&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiyoc-5CVXC6vQnp9XMDm-Izq9iNFwWQDPqdxOAuJwdB-gdEynblGXAvYSohXfC7jKrPkHqsND02KnGNPrMVmpgzrpVjsA4il2Txdsuhj4CjZbUa2A7BUEyEke6s9dvG3V810-UTvVnpwS/s1600-h/image141.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimLz-oehrxGv8Pl97TRiauJQCKXs8s2hTwvJv_CrL5CWo81WXqzI0DiofXFuyJq6W3S8pYICqrOt1qh-s7VS1De4AZneZd9dzcIr_arzPMr40Uzj5nQ23y8FRPKsm6cmvUr4ipcvvINf6O/?imgmax=800&quot; width=&quot;448&quot; height=&quot;101&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This is good enough for the MS CRM installation to finish successfully.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;5&quot;&gt;MS CRM 2011 Beta Installation&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Included in the download area is the file &lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkID=200050&quot;&gt;MicrosoftDynamicsCRM2011BetaIG.zip&lt;/a&gt; containing:&amp;#160; &lt;strong&gt;MicrosoftDynamicsCRM2011BetaInstallingGuide.doc&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;You can refer to that document if there is anything in my instructions below that you need more information about. Page 13 starts “&lt;a name=&quot;_Toc271018674&quot;&gt;&lt;strong&gt;Install Microsoft Dynamics CRM 2011 Server on a server without Microsoft Dynamics CRM installed&lt;/strong&gt;&lt;/a&gt;”&lt;/p&gt;  &lt;p&gt;Start by going to you shared folder where you need to copy the CRM2011 executables that you need and copy them to the VM’s desktop. For now we just want the CRM Server and the SharePoint List component.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6Ce5B-4CuWh0aZrw0xrHdlLeJaeQoUSdu1sq_KB9IbCwx29FypWkSEJ5HXjIjt08yH64Fg2__mljW28KUlWIkAHU9l4fC-UUoJK0Edeiq62EaBlBl5KAn7RcpE7w79UP3mxa8_IK6mIAz/s1600-h/image22.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY_1-nfR3xQAiVCCZARgQH9mcFm3DV3PCu25kB9W3ohSlN1w0LdIuG5qmPH-6deTp3-FGP-YKqB03MJSsPtVwng334Rpl3X97QvSUOCKUDX7Ie9tfbsmTkOfydgMspZRhBrFavdFio-8Au/?imgmax=800&quot; width=&quot;580&quot; height=&quot;236&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Create a CRM2011Beta folder on your desktop and click on the CRM2011-server-ENU-amd64.exe file and extract the contents into this folder.&lt;/p&gt;  &lt;p&gt;Open the CRM2011Beta folder –&amp;gt; server –&amp;gt; amd64    &lt;br /&gt;Double click on setserver.exe&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMv7rDGqFuVuRc3JMzqXNoXbIO8kc1KSlNjwa6KanWMk0vODJ3-wdPD_mA0wHrdgy-ZFiuswi1aoZU6-dDwrG61iMXuKLYJ5A-PPvFj1fihoN98GgSfpypC8s2EkzLtqWV3E55QXSQSUnv/s1600-h/image4.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJHO-eQzBzypBAmiUSbjav_fHH_OQCUjHJWTEFpEk-ormLVKzDiscTO-w-zkb2KKSbNN9jNXVshMK8z1WSI_l6MX6c-j5nmHVqclbnXvTdASDk9Ix8pUhAPCLbh1_iTbgvZY_mSn4HCCuj/?imgmax=800&quot; width=&quot;592&quot; height=&quot;255&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The Beta was just released so there is no point in getting any updates yet.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhqx60JEXQRf3Yu2e9i3Q1SWCeUIDcV_lYAb-AE6yMCAJUC8xQEGODZd9PdVuA05weE6WpDJqZBv8p_UrLKPaBc0kcI4OEBq-x7qPQ1KUHDDG9y8CWxRztemhahY_oyrjgcwxzT4xeMO9c/s1600-h/image8.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXx4ekWbtFYLuEkfPZTDENL4soFBMDWHyQ8uJ9toT5X24rDgVd_-WZ_t9j-kcQN2HfxUeMtIwhaw8Iw-mYzSSxCp84BtSwTghEZYJcg4YqgoC5tOjFNQL6jMjqeiilJNrPJujAEjIR1UWs/?imgmax=800&quot; width=&quot;603&quot; height=&quot;460&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;MS CRM Workgroup (5 CAL limit): &lt;strong&gt;FF2JM-QX9PG-HXT8M-MMHXG-4MF32      &lt;br /&gt;&lt;/strong&gt;MS CRM Server (no CAL limit): &lt;strong&gt;4FDTK-3HYV2-D9CCJ-4MF9Q-QJ32X&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Next put in the appropriate key above.&lt;strong&gt;&amp;#160; &lt;font color=&quot;#ff0000&quot;&gt;Notice the 270 day expiration period!&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRZYHRHdZa2XGgwR2wixcjoPcMYjU4m2lND4rCZr-4VQZsXzRg5_jPYDceuI6LaYB66wWxAUcYDdweTTgjRikYw6czafrBGmtB5qede0xvC4DMrYOG2rUPdLTlu8vCcJiq9PNkr-H1XBSY/s1600-h/image13%5B1%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA926nhUZbInMuMNuI9se6mzgGNnQKxlHrmZSZr1yIRp-PdYAY9s1NE95iGequJN6M8wvf9ksCFfwj7_3kX4MQnUc9Xe4h6VJjfVS_6tAIoL3FlMkZ4wMGMZHYmWHv6LuCRS054qfaObRq/?imgmax=800&quot; width=&quot;624&quot; height=&quot;461&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Accept the license agreement.&lt;/p&gt;  &lt;p&gt;Install the prerequisites.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhLUcGyl1oV1NvhUf47vYJrbLzBMRfEvoCdnlRFR2EUECloSNJ-JTIT6arbajHb9zujotDtfwmt2bYB4PQEysYf286rmd5L_2QL90d6DHxfGy7e7JRO7HIOMvF5kb7s3o6rgAJ_fKsISOy/s1600-h/image18%5B1%5D.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI6t_Lbl1kSYCXIqjEDcerIpqCt-eee4MWtFJlequWnIeDOBMyqO2UAAM463CAulhnTUIi_jzPE0Uqq19h444eg_SBXYRUqlmEV1c8OA08KTdVUgD1wW1ZP08di6n_Jo4IUN3DAkV5m5w2/?imgmax=800&quot; width=&quot;633&quot; height=&quot;471&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4jnk6JsqN9StWcQTAdhZbcGFJ2vBnOZhFZSs8cj1La-yTE7NWSmIfKBfWqKRMCIUqadcOT5JoTiuSTtTaA1N0RK2W2_2LeOUpWmzlqSSyOP_3ty4e7Cb1b4wNI07p_knCE4zHAhHLXLS0/s1600-h/image24.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq2DpgK7Ujn_luGZolEe1PmFxSxcr3YT40YNdpsKdAVj5dTPl_qtlEkPWGQWhhthRCeY812zRmZgUY7SASsfQS6_BPrxH7Vot58-72e_hkRpHnXQR7xI3sVUhLqm7r22GzuA7-Laxirt4y/?imgmax=800&quot; width=&quot;644&quot; height=&quot;483&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Select an installation location or keep the default.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVedWuO-IWZXvZP6EU8s7Dkg5kf88eu0_EsJwYaV79p9aGioBkpFDAeq1N_DxfuJiANXwHd6-fQ0PQHNBHvTBbyYHjCJ_J9pmZOwJ_kckrQCaHdsT4O07VXJzx18JtBfVTpgKS5OUa6ePN/s1600-h/image29.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSl8L4xtpnR8y0Yu_NSVF9aPeCt4Rdo5N7PeR2fwtG15cvxnsAYfQ5SsdwNWbirsEygJIouMu3qjlycFIQ7au7A-XwJCoKUbIG0-64pTUCHLkpTFjaJtU_SOhs_4hDswj2nDrl6skUxTJh/?imgmax=800&quot; width=&quot;653&quot; height=&quot;573&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Click Next and install all of the roles.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh06P-VgwBmV4N1-VTYt8IHCmbMGTeDyHX2gOIer4qfp0ed6MT_L50ktuyZzd8WcQ1NB4tWMunMoeDaQ7Z-qxNIp9TUJ5KiVT_GCdlxMzhtShKVE7LvJZO-JIduSGPkMakI_bvp10EbZFSQ/s1600-h/image34.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhygrJ_AdrKOKYa9wk7RGgxUbC1b02gFYvFI2EeCgZXk-S2XXKWCjAjY6o0abvGf7bGNdTgWVbPlHnHshXo5KDZTUeSaUnRNaKcGDqHagOLDXq2JENAemWTcHxFHIK-OWMh9nU4AfO8LJZ/?imgmax=800&quot; width=&quot;661&quot; height=&quot;575&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Type in the name of your VM Server.&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZyVSfF-jxrSHh-G_LfN74LbRtl1Uz4BpAEG9vJ1kFxX41mL59jMQvxBbLrNvuJtQ7mOm6m38SxjGMScbRBTwpJ786uijtIL99puCO0H617A8wYVE_if2nkZq1sJjSyh-ewD3xBCkdzL-B/s1600-h/image52.png&quot;&gt;      &lt;br /&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ8qmYfR0NRxbAaMkj8U-wpneZkMQlShVhmQ0iu9mUa1Mpzqm-y8SKI_cZiIL88Gf0BV6eOn1L4rtkjxhE7-tIA-sLgaZHxGztsMMSk-q3sbIX87vjxEWoCl5QHD9FyzYm_snBKLrvuqH0/?imgmax=800&quot; width=&quot;558&quot; height=&quot;484&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Click Browse and just select the top node. Click OK and Next.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHcDs1-2MQXlhYzn5rHz6-qiAxNPwK6C0cRKkD-l-rgah47vRKZJ2osngnucd_dizmMDNWy1hrNTh7mzWBRxysXEF71fnEhu1yeh76Dxd-hXRL4lZyf-OTOaltwxJtRP4EWPWsXizQF0-p/s1600-h/image51.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh22BkxungmHwlue6Q7vJxam2yDdBNvpdXbQcdp8PceoRm08nVDR1_UhMCUn3GrjNVWQlDf8ZmpNwKfOyP-fPWowz5aCVnjudugG0ReL73BLTBNjoprPqZ0waChxSWaNfDdnxh1eCSpTdRF/?imgmax=800&quot; width=&quot;553&quot; height=&quot;467&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Specifying a Security Account. For a production system you will not want&amp;#160; to do this, but for our demo system, just select &lt;strong&gt;Network service account&lt;/strong&gt;.&amp;#160; There is an additional step required for the SharePoint document management feature when doing this.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTi_DX-6KEk7yvDwOzDDbnOaX2nqpd0IRZv53j0Y36IwGJBcP8QMs3gfXJ02tL0DfU3Ku2OY8iGQD508KeTj2xi_O14VAl59wSiKl7OIV7pslSe56dC5nc1gS6FPs7p-3PZhExMm302sHt/s1600-h/image50.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY4JhZyUUu6THkhfLiUcaJB_hC1SKbFzb4UygPQzwOo7C3FlNUMbH2Tgn_Ia6TXchXzSlklAzoRe_rZkPdNqMh6pUdLn-n5arYiZPeQtC-egj4sXVleSYQs0tQtC_DzhLMNi-Gfi6jMWTl/?imgmax=800&quot; width=&quot;560&quot; height=&quot;485&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You want to create a new website to avoid any conflict with SharePoint and other sites. Keep 5555 for the port. You should have selected 9999 for the SharePoint site if you followed the instructions.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj90xI1zujF3Iqozy3kxwns0Y8JtI2PMXyz9yo-50zODV5k5x66hwdZSkVO_H7x3SLecKKvwISJ1w_6dIa3TW6CnZPwHIYLobBfx8_LXmWEztguLiTV6WSvzuydFynxb-8eiEy9GSQdX5qT/s1600-h/image56.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy9lyqS4ZFm9qS09iHC_J3U8FzHsZtHa_0LNNBcUnMHkbpiVrHShb7Sf68ija6cQ84IOsvbQwhbletTowT_CDChCW0nZRGBVYppxYEuSKHWXaIKXj_OVt885Rxkvbe5Rm37oDaiCfV-n6c/?imgmax=800&quot; width=&quot;556&quot; height=&quot;480&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;We are NOT going to set up an Email router at this time. Notice the note. This can be done later.&amp;#160; &lt;em&gt;(Setting up Exchange Server and Outlook on a test environment is worth doing especially with the new multi-tenant support in Outlook)&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJJRaNyZEJQRUcEapkcUicRRms0UEknaq82iyee0JQfgg6naGptqxOnmYQyVh48s5XngnjAhHzy9xMrpMcUey2tI2oIJN3SuAhSq0W9tS6McJ9pz3DHzyllcGpka4dFHk2ZKaiDXLn8rE5/s1600-h/image61.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKbfRtJCFlOJfYKjze7b2byB1ZuLOl8dK3KhyoP9Se7hWq7JyipONEl32Y6yA-ejZ6cXejlEyYlSAA9TxOiEZyu1Zuy4syUaJA2S6ySmCymOEe122gzx0GPeIUkF2-jlwFrFtYtBDCa1ga/?imgmax=800&quot; width=&quot;570&quot; height=&quot;496&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Pick an organization name for your system. It will name the Database automatically. Leave the rest alone. &lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhurBtZ5loqKgk53iL_EMErU3v7ZnniGtprVtg3AOK4NjgumSdb32SOMwllfGW6JTNxDd67NV-crMxYpXt1gw3XgJAo5FF1gaalFw46Je1YxXc8BmCJyvdQv2WPfQWZ2akTw8ls-CKrfFL/s1600-h/image66.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZbkSua5py5-vSRzrCokQ4HwsgwrGqXRZeByBZRXHzVWC7tRg_V8lobwnYBTdxHN3gTJ3kwUGOlomEJsnRrPO0RPgvQ2-lK6v0-rubGnL47KIyJfwVDK8PPkT9of129Mh4oCoaN99G6DTf/?imgmax=800&quot; width=&quot;586&quot; height=&quot;510&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Take the default reportserver name unless you have installed it somewhere else.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiybSFdIdwZ5BxnobpOw6_kMRiUaIp1Uzp-I5E8ee9D1_4iRgwOx4QrmqSENrCYPJjX2z1PhXZwdskUwwymDm-eQQFvHlUg3Ch2Q-T1gyKLuSts-m2tgYxjlqljmUuzhrz3SxJ9QI3hE_HE/s1600-h/image71.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWQtgNWzMWB3WD-4bL4qTyTq0f5gCwebOxuSGUKHI9WI3KTrk0N166q6XHQM1Ah1z9neAy26gnCCXNo6W1WGF1e-tLPHov4f-ijRqSiiKatcnl7ubliNTuq2XQ3JB2u4_1UAVYF2Bpuyxw/?imgmax=800&quot; width=&quot;600&quot; height=&quot;520&quot; /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;Decide if you want to take part in the use experience and click Next.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCuQYs3BUCVPacQL9LrCT6tPTzunEdbikr0Ir6tV6a0RXGfrEGtb3vzkyBS3mVYlEF_9AmRDds8kblm7Zn5kpeT9-gPAnl83cD6n3GTCzjBu6V1sAz8w-ehHDpMs8fzCNy1nQbchuCiKKs/s1600-h/image76.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6LFX_YcCwkdRtCajdhyEHM4dTNxLL9xpy1j3ECGBLu2gblUepITf7w0AYHZCYy1UsVw3YWNcJLPYSd3DX0vTnEgUjTj4h6e2McW926dLtDQVxLT8w8cCZDj7EdZRDEjU8WMlYHja8Rczr/?imgmax=800&quot; width=&quot;611&quot; height=&quot;534&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_CU3KZGf68rMEVBk5X7E1RP6pxSLMxR59ipeETtH_VnvoyCrWZdETcWwtGWKDHENxakC3BHh2t_Gqm1WY8yFENEpxWihou9KaUZ-cIbyHeNGkBCpnzjXiRfuqZ5EtfBi3Pm4NqkrHW-8b/s1600-h/image82.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_m9JrtVNbCVKjt7sogouqnD9qJryf_RmF-yFsPIKfIC8IPYb4Yy4peLRU5LA81844jVszL5fw4O4rbiBLCqqhNsAJbx1N7QnoIqTN6URifosV-XGV6Vqn5u1IqEhGKj0MCucDgjTOvYbb/?imgmax=800&quot; width=&quot;621&quot; height=&quot;541&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Next Installation&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWfS6UvAcGw-Nb7-3R3y3ONqRlZiDvDnMgMpMCfPB09mNACD_7Z-q47IfdZW2NbsH54DI_8LPH2PYmDoAxbKS8TzTiuNzPd0c8K3hMycaNXiDhtouQx92c0h_HuQ-PHK0M3l4KLfgWJ5PX/s1600-h/image146.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz9QbuNSYKpPLeWSbzTurbc6Bmq0WTFyFA8e-uNGSdWtV53icW2s_9IwclVyswLcATroJH6viGebpQ3IvIMcjB4z0njN0OLwJb7pEkMuXeZEh9XhHWZZ9mOtIFTWgCvNKkqWqQ2Av9CA8M/?imgmax=800&quot; width=&quot;623&quot; height=&quot;545&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH9wRBJr5Xg4i-BMaU1Ga5MfFpIl947RS-yLVq1TbZ7FSvZEjw7Y5bxG_kcLpNVXuNDXjFX2TuNkcU35f2my1rsoyq1QHhCoIM-36MtoHgFFpS41uMP_N6Na-ZgOlR_WzAEZCMi3pVRCsx/s1600-h/image151.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3VFzjcAxEnT27WzE_jJpsM8hGqbDua5CfUlB1pM-JM4rMpmYubmfFCWoy-okRNzBzqZwawaU20js6a2IzkNare43_sUpMlHElGxQPTRWm-0STijPTfWrnsOZH_pIdy4pKVlrfr9HNbJYE/?imgmax=800&quot; width=&quot;629&quot; height=&quot;550&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB6dYVAYOpFFCmZJoBd9NxEvC_9CbwLzheVRL6L34Jla7_uSx71PLHSpQX4cicLBwOVxyFzxXhqIC-W7W4G2H8xqbXooUzormO2jIS5uDrc5k53Bz8N5_yndyyMI6cMUH6i_AK-5VTw1vF/s1600-h/image156.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3okd-DMKpRrrsWVcEaQQp7HBWMjhlOURCzTYGpA8yF_P29hmk3CaeSbzzu39bMehlehcHIjhIou8aoPNNKnFqp_QkAwj9KLip0pLs4P3C6wb9jlXGtP5-dggazqh3emsdCUg9q0qIa-Z8/?imgmax=800&quot; width=&quot;640&quot; height=&quot;562&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;It may sit like this for a while. Be patient…&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio8Wk5yVqsuMA809qk6dcS35XO55c8aiMHYmSnkEyiMg3j0KhrabfHdeESKxDiNKfNHj1unJaPKw_68zULIS5RIXmVI4LgMzbp7tiHB2AfVw14XgF7t2EE3FtbUJ20-BiyzdSJu8-RXV8A/s1600-h/image%5B4%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcylCD5-yd94g2AnbdvEkCcKIGpDKhCmooQ5YTXMSEr18NIxNFNY64gbXq5vPuAVkmuJKQ600hpsU_CV-OCWtVJS7D602itzUfOf9rTRrtiqH2U31Qjsaxm9b_szQ6Ztkf3Qi6S95LnwUb/?imgmax=800&quot; width=&quot;660&quot; height=&quot;575&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Getting close now.&amp;#160; Check the box to set up the SSRS extensions, and click Finish!&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcveb-b8kNAyLkZ0tLMC6Q0vE6AvSyQ5XizmguBTW2CDsvqknesM67_THxpJBIUuvt4LMpCCqhd4AVAqRBX4Z494tZp0zi9A2yp1wpgZAn1D1resExZYsioxRszf-CpGqRXrR940kYIeix/s1600-h/image%5B16%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWmkWSOB4PwLyN7GO2GaARy0zIKCByknuv-h7E6M5AFuilDxyYCcHJwiSBcZHMk0ImzwKgUo6rSKJg1Cd013QDVsu5I67PNMNCGGHE6LnJ0F7svWzZQcq1XMakjqKnBvFzqEPKxpHDUytX/?imgmax=800&quot; width=&quot;664&quot; height=&quot;580&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;5&quot;&gt;Installing the SSRS Connector&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;If you decided not to start this when the CRM installation finished. On your desktop go to the srsdataconnector folder&amp;#160; CRM2011Beta\server\amd64\srsdataconnector&amp;#160; and Double click on the file &lt;strong&gt;SetupSrsDataConnector.exe&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1RHGD6fV50UileotNKTSquNr0Lvion9hk76PhkOv3OB1VD2N8TQ3DgnxLS7OwqXZZjStDO8g8PjUNQ4Lqo_I7Y-aBKYQ_DO1aGTM7a_fTjaFrJbFHUWTvO4BuXNDchs6GgBzVTn2DZH7R/s1600-h/image%5B20%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgISCUnUT57Y9C7_LuUztxD3zDMxpcNqZouh8IE589eqFm7M_1LLGHaZ8zwFpH5eXD5CS4phxlnuYPuyvXQpv58HcJxjMMJ3JsP8omLhMCumFOpL-noTOODtaMIB_-92XsoleT_Nk9yFZ-Y/?imgmax=800&quot; width=&quot;680&quot; height=&quot;514&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Click Next&lt;/p&gt;  &lt;p&gt;Accept the license agreement&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy7l2p7Bb5RFwcgvv8MapfefZjIQLgKSTe__Zz7pIwm4z7FOlwk-I5fwux-PxCexu2CVMhylB2II_M3B-CHvF3RfcarRo9lLDf6MED4OfqJgzPQPnkjxGVRFJuYvHBSS4EPoYN1AcrS6EG/s1600-h/image%5B25%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlpT-b0fHK6eY04oYlkD7B3fAZ5x3AvuOgbArj-4wZK3uh4W61JG7M-j881DajtmUXBnDJOVXxA_vnwvxERY_ijvGuQLLwjbo3JpYOVervbPOYMFCrhT3mEFkYEIpwzzIb7_Pr6sT1I-KU/?imgmax=800&quot; width=&quot;686&quot; height=&quot;521&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDlpefvHNgOeH22BmT244hNQbK02QMRO4H7uQB7MWJ4e-RI3njfD872qBjrmIxn4Hjb_ECAORZu7ctkjuDuxxWZGjm_pWL-WZpScLht3BWbAfAhvs1K2g2w4yeG6sndaqNTRfECLzNO1jE/s1600-h/image%5B30%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh81VHqllok84CxlMV1Y9jJsrVt11HbkF3HFMZzn3nZA1dU42sHSXS7MLthqxDt1WgimxV__aSN2axA5e1_t7p_I5GfRIM1AkFG3cp5x8cYCRKMpObovVO4ladxHvY5na0LvTMUkBGAXq5c/?imgmax=800&quot; width=&quot;694&quot; height=&quot;606&quot; /&gt;&lt;/a&gt;&amp;#160; &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJv86P2_fDIcJgbckAH22XuGI_wup7xZI6l1bs3eUjtaC6w2VH9rPUQcPvByMzm8wpoNWD7Q8PHzMRz7DtAkIlZbj8d5n0MxWxG9VfQtslqgrDAqxhqAhq3dm2d-kIYALTAXPjZTisUBUU/s1600-h/image%5B35%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzgUx0hqs2mlmndWILTGps7VT-lp5wMguhGQFvBnu805FXS8DS23q-Fut8fEfiOWZUpNUKce4KchcLY85crXSQiu6592kAVK179agfVJTddaZnJUE3ryJMryGZxCTBnMX3w4ntzvA2tvv-/?imgmax=800&quot; width=&quot;701&quot; height=&quot;612&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6kwtvQYtar9Sp_PpCGiyiFqQewjiDA0Wk3w2udP2pM_asyUlI7JYiXmOJGyiO2JluXqzatVZZJL3xJdw4KAziXR12NPYxp0OW10VEKb_kSiCrBoZshYhOG4v_NHMBVpxU_fOBGHGvmoKR/s1600-h/image%5B47%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEUqumAsYZUY_7hEy7wmkOsQtmHG_6QqL5hUOJJpCw6Jv8VRK1Tk91BLATPuBy37R5R-aU0yB0QBXwDZUxQrY5NtEU_uyJ4J4k8tKX2ThRh06DnZV48HTGJ1NMmgar0EdbLVl6RiK0P9hL/?imgmax=800&quot; width=&quot;620&quot; height=&quot;545&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The warnings are OK for a demo, development box.&amp;#160; Click Next.&amp;#160; &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlxy90pEOUwbCspEoKY5iKU3cZ7XaS_MAG6U0-DcNdI6y3EDGquTF9UueyLxPVX98zhUhQwe1XvTIUVsbO3l674zQONcAc5bsRI1KEwvHJyOyNYi0ku4G4PpxwLVhTKEuJ3dJFyj7-EaqN/s1600-h/image%5B46%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQRgX1txDYxpCExEohbiQn3yPj8z0DxsVCE4ZC56a1zs066F8LJH6b5BoF2E0Yceq06IfQ2ScQdKRwHp94rtFjvn8M1Fh6yNOF0GqYcVz6Q8Vts9DQVBgxOFq4wMtSq9fkvrDlq4je851Q/?imgmax=800&quot; width=&quot;622&quot; height=&quot;542&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPQTEgEomKwfPsZutK6kvI-mppyRFDQZ2HInHqnB3QiDltacPhXK7kWq787pCBBumJsNPlZsVqdnCC1d3u7qxMK8EF9d8cKpF9s1zRBstmqwwqIw47IfBHZqy5_paVo5pjQID9lEjBg9xT/s1600-h/image%5B51%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ6UC3TZTNXopqavOJbxEbDLEMC50JfEY8tOxdT5CjTlDfPegnSLl7YXXFlOke-ak1ck4aLxFmUXXr_6JTg0g7FBKHQI_621ffJh3C8IgSWXtguc1l53XGf63SD1rcukfjAyzJLJkxAOpQ/?imgmax=800&quot; width=&quot;638&quot; height=&quot;551&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLPX2qj4YBL1ayGmFy1ezjrdBJIhh5tKOq0KrX_Ew-WxORvTrNGNVNfVPveWRBGJol_24m_DQ8lFeek2Df_s9IROXEuA-oetj9sdHHVzXT0fFGreiEVt4I0VBAZcHVA5VDwHdjIIni6G6y/s1600-h/image%5B56%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf8amRL1TgCDvTScTenkWjCMANJ0lUYzmVbPceX5w48IlUVg1RL9BJ7XnNG0haI38UgoME_rpavg2Q1N8ElZzDcm5-6mMX0pZ_FNCWLlryMm1PoJph2hMrIpZrJjTKXkEXco7T-fNrrpfW/?imgmax=800&quot; width=&quot;647&quot; height=&quot;562&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160; &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmBIAIEgNZxR0wPshALg5GzNWjOyd3wxNPqDHh1gMyVSjd-KAb453KuALw9PQwu6WFHm0WR1TMcV2MzljlIe_QFy4CpZOGg2af90K1wzQIvYWUS-Ie_MsOMV4Dv0tlxB4M5T9GGgt_lDkk/s1600-h/image%5B61%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrV_V_VTfNjQ0ha3jVLjGOt4qkjuhuIIeBF7wHT3JAQx1KbY0WThbhEEyQyYNEGzJPUkq9TVXDw2BNJlUYtSb3byhagtr_20yVdJotlGn7Gr4jEr7y-cn0lY-S8LS9LNNwrAH1_W9tUeLg/?imgmax=800&quot; width=&quot;654&quot; height=&quot;572&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The Moment of truth…. &lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzUPHqj3XFygJs5avJ542qhfwmnSEXdFVMeny20qC42Dq-V8WdMXmDYTbcLNz_xWvY2aaTpRqInCbd-5QwzE0IvuNqUeEN5Y8n0TvWKSTfRPV_RMim4_JLcNQIsit_i40aMuhSWwbFn9mM/s1600-h/image%5B66%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSa-1Ttk4QbACR5fZqn-36AwpDrmF6iz4JLuwm8F3DSL6Yl4Ow9G1oCQ75T9rDyT-T8BsCAgN8NZfBIyCIss94mjxSEy_gExCBPTDET02WuoIqTg8sQAoKSfAvix4b9DQWgRKAcPVTOZwd/?imgmax=800&quot; width=&quot;674&quot; height=&quot;503&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;At this point I shut the system down. It was apparent that it was running out of memory with 4Gb RAM. So I shut it down to make a snapshot and to increase the memory to about 6Gb to see if that was usable.&lt;/p&gt;  &lt;p&gt;It seemed much faster after the reboot. It is interesting to note that it is only using about 2.5Gb of RAM without SharePoint running.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip5EN60PJnouQENFfAg3ZDU-uLFUvo4Q-aIWFLaQo8J5Noth1pS-i_YCr7IZWKE1YP2u_UGyzG6Zb8BRC0IWHW_6l_GDp_5lIvvOqRDalVD5leb70X3kmKZBWY_3m1VVg5WqllJSSY5L9m/s1600-h/image%5B70%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMvm0xTF_K5NtE2NYQX395khuKaavDWo8vHQGQOoM1PdX1-dkFjJ2nz6CcA_J75oYeuu703SfuB-7I9B98lt6hOiJuc63G9Ja7CjsQYNr-50JaUXR89lDfnPG6Ij7A2_a9wCUy293-QMBo/?imgmax=800&quot; width=&quot;693&quot; height=&quot;507&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now turn on the SharePoint Sites again.&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD9c81h2f7E9vEVDIvcrQyCFOMT0P_weZlPclmsoZXYZ3nbNcvQ8gNuADCFIHLPjerQYFdn5Rhl04ownlNh1a-vEtl-x77KLvV_PZJecEqjo0ZnYJSQaYwAFYGWAd-ib2hwE6Gb8nXgXng/s1600-h/image%5B74%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihL00dQMKzkZyrX1lN-qKBbli0zJBqksu_HuWwyYEW6dbh8xoW67H8lqTMD2iu7b2ICL2DlOGuYfxWmZPUnUQtRg8i0IvafjkDqZjd-ocxY0JnriXoHR_qaM-IkmKmDzXUtMZS_iEHwv9D/?imgmax=800&quot; width=&quot;691&quot; height=&quot;464&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Create a SPList folder on your desktop. Copy the&amp;#160; CRM2011-SharePointList-ENU-amd64.exe&amp;#160; file from the Shared Folder areato the VM’s desktop and double click on it.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSIOdXw5AUL0tGlmBbaHfadTUZdDEbKXTSSVVJFqVm_iUMEbo0bMGsTCRuJuGMNxqm3rmdUkqYgyXUnGZYjEAMxEN8KThHsu16Yzdh87ljBcsahqrhgIqWwjQy_PvSOaiQ0rBqO6lMaY0H/s1600-h/image%5B79%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOA0Dfe5TxPoZJaFx485FrOxToY1qcnsg02JipI7igm_fZvn-lLnasGU7Rxjb8N6jBEOZMP9xGZ1RrXtWsuzygBJhul9uTqbmRW2h371PVdsMdwSwzBPJ4A202o4uD06JgCSvHXAT5GHgo/?imgmax=800&quot; width=&quot;426&quot; height=&quot;391&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Browse to your new folder, and click OK.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis7aMNAqA4jHDVA6F078qfhFrb-CamTOverD9C3NRgG3spjsgAWNJnciZtEw_5vDuLoE9N-oDlZhJ_fNGjdap_znMoX0hp_iRqwmgudx8ANtM2gaPVBcwyVL78zVOZM8MofX7E0dzwhwe8/s1600-h/image%5B83%5D.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgD4ZC_CJ11hNnCAs4xKRaTDm8w2t-UrxwdAQxW5H5HOItt93ub7FmTKeMZtzgzR3RP8ZZyVVgBzmUOlPlfe_SwjohqzgaQwOBBplzFlpTKqM1UbK-o8drpt8f3bKAY_JWaYx20G9UwRobC/?imgmax=800&quot; width=&quot;445&quot; height=&quot;305&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Read the following inside the SPList folder for instructions to install the SP List Component.&lt;/p&gt;  &lt;p&gt;Microsoft_Dynamics_CRM_2011_List_Component_Readme.htm&lt;/p&gt;  &lt;p&gt;More to come. I have to do something else for a little while…&lt;/p&gt;  &lt;p&gt;Good luck with the new Beta!&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2010/09/creating-ms-crm-2011-vm-part-2-of-2.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMxtYxjHBVrCR5j61MQ2kzaURSXf7FZIRl7B2iHEnFBBXMz5xwf_yMtnZ3HrcBw3LJVIsTpqQ1VXUpYZI5m0dUEXcCOMstXxBNfskMCcB4jwpnC3ZAvWuoCS3QHR2XWsOu8L3eCYI8wTZN/s72-c?imgmax=800" height="72" width="72"/><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-3056170841944713720</guid><pubDate>Sat, 11 Sep 2010 23:50:00 +0000</pubDate><atom:updated>2010-09-11T19:51:00.023-04:00</atom:updated><title>Creating a MS CRM 2011 VM Part 1 of 2</title><description>&lt;p&gt;I needed both a demo box and development environment to run on Win7 64 bit computers to show customers and to write code against the MS CRM 2011 beta using the SharePoint 2010 connectivity and Visual Studio 2010 to write WP7 applications against the new WCF services in MS CRM. &lt;/p&gt;  &lt;p&gt;The new SharePoint List Connectivity in MS CRM 2011 is a feature a number of my customers are interested in and I expect to have a lot more CRM/SharePoint integration projects coming up. Assuming this is an indication of a general interest, this would be a great time to start learning SharePoint if you haven’t already so I consider this an important piece to build into this VM.&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;4&quot;&gt;Two points:&lt;/font&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;The world is going 64bit everywhere. There is no point trying to set up a 32bit box. It is time to just say no to 32 bit. &lt;/li&gt;    &lt;li&gt;Virtual PC doesn’t support 64bit applications which effectively makes it useless! &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;font size=&quot;4&quot;&gt;Options to Host a Virtual machine in Windows 7 64 bit&lt;/font&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Virtual Server on a W7 box as shown here (unsupported by MS)&lt;a href=&quot;http://tfl09.blogspot.com/2009/08/windows-7-and-virtual-server.html&quot;&gt;http://tfl09.blogspot.com/2009/08/windows-7-and-virtual-server.html&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;VMware &lt;a title=&quot;http://www.vmware.com/&quot; href=&quot;http://www.vmware.com/&quot;&gt;http://www.vmware.com/&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;VirtualBox&lt;/strong&gt;&amp;#160; &lt;a title=&quot;http://www.virtualbox.org/wiki/Downloads&quot; href=&quot;http://www.virtualbox.org/wiki/Downloads&quot;&gt;http://www.virtualbox.org/wiki/Downloads&lt;/a&gt; &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;I chose Virtual Box 3.2.8 based on many recommendations. It can run 64bit VHD’s and VMWare VMs but will create a VDI file and it’s a free open source solution.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLfh7eP13Cqa7fLF4L0csX4Sw_04hFTF_VlLx6Wxirs7EWxxnt6cC6Onc07c_CzkEP2Y3AwqbpuDsOloi0l6nCAxOBNx186fBaj2Bteftv560RSgx8eIeYXmbljNFAOc_r0KWt4_EzKZdf/s1600-h/image4.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDfW-ZF7FGPsJNqhY9RM_XSoKfk5HtxYp55q8No-Z5OTwgpw3w7y3YwfH1D1pGTTacDx7yq782Gfu8s4CIIApp1IW5ovalnS2YhDlcmFY_xx4IEzhIYEdTuj6LUC7mmPkyuyhMkv51ZkFI/?imgmax=800&quot; width=&quot;544&quot; height=&quot;305&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;4&quot;&gt;VirtualBox installation in Windows 7 64bit&lt;/font&gt; &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Stop IP Helper Service ( this will keep the VBox installation from working) &lt;/li&gt;    &lt;li&gt;Install VirtualBox from the downloaded exe. &lt;font color=&quot;#0000ff&quot;&gt;VirtualBox-3.2.8-64453-Win.exe&lt;/font&gt; &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkWaQceT3YFluQy25zxh53zM7PtTWQcsYD3LNj2nCHrbEjPNcbOA8GCiyAOOI-Dxo3IZNVAiF_F3D2yPcozTGNvOMTuoxNWK0BPV6S9bjnX3N5XHmFl2VV1Xo7wDCs-S4IGFPUBHk-2GkA/s1600-h/image108.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8N_3Bb3LLQb6Hyv4DIcEYRj_FMY3oZgkOYCA9KGpbCQYSZ6YnBIJ5_g1Bewsx5MKEcew4te0uvzdr9rONZWmBw4jCmb08TUe1B_nKtlsH5pQRI2lMVwj41Pk5cW_10atpSSmhmdVhvVmt/?imgmax=800&quot; width=&quot;551&quot; height=&quot;337&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;4&quot;&gt;What you need before beginning to build your VM:&lt;/font&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Time:&lt;/strong&gt; Expect at least a full day to get everything set up and that’s on a reasonably fast system. My host system ( i7 12Gb RAM running the VM image off of RAID 0 10,000rpm drives, (VM 6Gb RAM, and 4 cores)) took a full day. Plan accordingly!       &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Windows 2008 R2 64 bit iso image &lt;/li&gt;    &lt;li&gt;SQL Server 2008 R2 64 bit iso image (recent copy 5/3/2010)&amp;#160; &lt;ul&gt;       &lt;li&gt;&lt;font size=&quot;1&quot;&gt;&lt;font color=&quot;#ff0000&quot;&gt;Note:&lt;/font&gt; Older SQL iso files may require SQL Server 2008 R2 SP1 and the following Hot Fix SQL Server SP1 Cumulative Update 2 &lt;/font&gt;&lt;a href=&quot;http://support.microsoft.com/kb/970315/&quot;&gt;&lt;font size=&quot;1&quot;&gt;http://support.microsoft.com/kb/970315/&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;1&quot;&gt; &lt;/font&gt;&lt;/li&gt;        &lt;li&gt;&lt;font size=&quot;1&quot;&gt;They will give you this error message during the SharePoint Installation.            &lt;br /&gt;&lt;/font&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilhmLnJ6YzoayERGXWjRmJC8CiZjHpqAqGCyKPGtqtTBZ9jQKWMIk4Ob2v3OTUCKUHkkR7k9wBRgVhA3EzsgM1VSAJQOJ-HIdoQenceBPuYWb2OIfv-jFHxMGufmXWGajx3EluO4ZiCEMr/s1600-h/image111.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZrAixtm1mlOxBhrqCUfMPGXR37qyo_Ri7YThneekjMSBv1LuDWoIML3IYAE5Q_80uOI3-58xxrFq2FgfycTJ2UWY2TVSGqEgkyAXaMOyb7mYetuzZETuGBZgkC49T4ykMBbkQpm1a6mJy/?imgmax=800&quot; width=&quot;244&quot; height=&quot;107&quot; /&gt;&lt;/a&gt; &lt;/li&gt;        &lt;li&gt;Save yourself the trouble and download the latest SQL 2008 R2 &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;SharePoint Server 2010 64 bit iso image &lt;/li&gt;    &lt;li&gt;VS 2010 iso image &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The current CRM 2011 beta downloads are&lt;strong&gt; &lt;/strong&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0c7dcc45-9d41-4e2e-8126-895517b4274c&amp;amp;displayLang=en&quot;&gt;&lt;strong&gt;here&lt;/strong&gt;&lt;/a&gt; you will need the following:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;MS CRM 2011 Server CRM2011-server-ENU-amd64.exe &lt;/li&gt;    &lt;li&gt;CRM2011-SharePointList-ENU-amd64.exe &lt;/li&gt;    &lt;li&gt;MicrosoftDynamicsCRM2011BetaSDK.exe &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;4&quot;&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;4&quot;&gt;Credit where credit is due:&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;I am going to defer to the good work of the folks at Critical Path Training for their excellent instructions and links to video for setting up a SharePoint 2010 VM, so please visit their site &lt;a title=&quot;http://www.criticalpathtraining.com&quot; href=&quot;http://www.criticalpathtraining.com&quot;&gt;http://www.criticalpathtraining.com&lt;/a&gt; create an account (it’s free), then go to the Members Section and download their pdf document:     &lt;br /&gt;“&lt;strong&gt;&lt;font color=&quot;#800000&quot;&gt;SharePoint Server 2010 RTM Virtual Machine Setup Guide&lt;/font&gt;&lt;/strong&gt;”. &lt;/p&gt;  &lt;p&gt;These instructions will walk you through setting up Windows Server 2008R2, SQL Server 2008 R2, and SharePoint 2010 which is covers a good chunk of what we are installing.&lt;/p&gt;  &lt;p&gt;Their instructions start with setting up a Hyper-V vhd which you can skip unless you are setting this up on a Microsoft Virtual Server system. You should be able to run a vhd created on a Virtual Server system on a Windows 7 64bit box using VirtualBox.    &lt;br /&gt;    &lt;br /&gt;Since my intent is to create this VM on a Windows 7 64bit system here are my VirtualBox instructions.&lt;/p&gt;  &lt;p&gt;Start VirtualBox and Click on New, click Next&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiB7miqbMzp2mtD8xstqwN_f-IrtE9zIXaqsHfaHQ3zohSL1O6FWBveR0IZerql6McaGFAax8S7al4M-m7NnMzgmWg0iEqiZQZNclFDwQGC0VTX9fLqMSUTKTQjdEquknIeo3e9QG0xw1ju/s1600-h/image84.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5JBW1kGJJcXFY8SdFHNVRIxmVjs8uPO_5sxGnLphiE8PqhvUIB_q-DNiMc5twffnNcKwYZpFlzPo6kQRmwM9XIVfeeadm4Gj7ygzLihJclr22mwwCDNFO2_sRN_fSACGE4rrCVOGmnYeI/?imgmax=800&quot; width=&quot;546&quot; height=&quot;113&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Give your machine a name:&amp;#160;&amp;#160; W2008R2CRMDEV &lt;/li&gt;    &lt;li&gt;Operating System: Microsoft Windows &lt;/li&gt;    &lt;li&gt;Version: Windows 2008 (64 bit) &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1otaqGoR061TKOqZE_x7sEvSnm7NlKtZACYpZaykTwOfl51Z72Zhv65EwYnjx2amb4n0V957niXV7xF-lQFGvDILw194r31lD2AJ_PS1kwOLyUtZ6xpsF3vC4hxD_U4f1bNTJGARiH0IZ/s1600-h/image85.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEib0E9xvQAet6EpA9ZGWoTV1T1BaQJvBrHdK_1HWeD9kKr-dAGoLiK4huxnSTk-Ya2KhzLQPzBEhzb432hni48AJLmhRB2sHzU7zM87dZ2F0dkZkFchX7Wip0Zw-sBagZ02gJqevcIoruei/?imgmax=800&quot; width=&quot;509&quot; height=&quot;365&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Give it a minimum of 4Gb of memory or more if you can spare it.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2xW6MIFHJDMzFZDq4xN7YLTTy3nNZZthXUXT4DkjGLxLS4jWEWiazNdHBgbaiqdxwuGVpGpAntwjSPIr7mqgfL4CTGvr_FrQde5Dg6luYfx1s_ovUda2PBwUqh9vaP2JjqvFQ6hqrI9O9/s1600-h/image36.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXE4GhaU0v0XxAZ3WGv4N6C_eaXqQ-TLuhisGVPifJ5f7wqkGdv7rAmwECpa4fxYpTa9dBZ0lIsUo7UxkfNJzZl9ueC38iLFeHIoJsVXwt-hg13djcYSfSmiELT42zb2pqhd7M66bg4Uo0/?imgmax=800&quot; width=&quot;459&quot; height=&quot;325&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Create a new hard Disk. Click Next and Next again at the Create Virtual Disk Wizard.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpBmv3xJDCctCp5pAoH0vfKybgej_6uZA0X8jnxnruHOplZ7pZuOJWgEuI3NpPbz8NaWvU3I5I2mHxDXZhvZ1aCatzQYndOqCVIDxQAkxKeWZlHef3uKOrZKULgSHs_9IlQq0ecCzzqrYG/s1600-h/image40.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG8x7cj8qq26vBjvqE_OCIzjQgGSw-ZbI87UDmkNSVoTK0gkhUKiksbtBHOW0_LbACV4c9a_z1lL9ShKgzYG9RajyvmncFt1fz1uSqgcfEYft3a4Ajd7sd5_vFiEu1cjZ9gumj035TRQv2/?imgmax=800&quot; width=&quot;461&quot; height=&quot;325&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Select Dynamically expanding storage&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji6L1UG9zRl3fj0v-sgVAVSKBiLU61kbIhqHBGnox8l5_Hufx5HtKOKiXD_rsLbx8DugOmTh8yAtKGIwEwvxaKftnZknIM1EQxotBBiIocjSw3fhugS17cAFsHO_AgJe4Gs8vfRtSFA8w7/s1600-h/image44.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf_f4f5Up9bcNX-XnfBXRm8Iy5PK9xnGSGhowUPVr5qvRdEh8AjtJAUwMIyOt_5XxpafOEFW4glWtlq_HopNUfauJLgTqp5s6pSdQVaRKSPQwheu_YrHEYzYQ-cS2cDnI1gDtLAe5RQHpW/?imgmax=800&quot; width=&quot;480&quot; height=&quot;334&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The virtual disk is only 324Mb while empty and will only use as much disk space as it needs so give it 100Gb.Click the folder button to choose where you want to store this image.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnGwWPA4kIeMPZUrZcTk-VinXN5dtaaB3PtvdZ-rEl-KNVoR3gxuZQg8B0G2aCXV-xIzvdnazcBe24QBlygZnxEyaH4DogZPBuDY3GjBA7oqjxK58qJi637eSAsoqaoqkCoWec2zGzcusT/s1600-h/image48.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVDVo6flqXpQqLpVROlgP4kUPlkSICNOmv9kHoRcP4fW954C4NBxHlb4XmspdyVuwz_d6fxFwkmjrdKc6_JI0BOIYRvOZFdnlDbX_z6xVjNq-p121dIBoOEeQipzAlnCZb84STkRQMD80x/?imgmax=800&quot; width=&quot;494&quot; height=&quot;348&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Click Next and then click Finish.    &lt;br /&gt;Now you will want to make a few more adjustments.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSVqJV-NWObKb1bv3gbG7Gguvft2FjQeaHhmBHrPj86-LXaMEskppGZey00cjSsMYSrO07NVPS4_7xzdbVwuLGjsdkgjJLiIWCd-Mv5oRh1OBiBTH1k4mbXvfLl6aDWp41OX8rt_o97J4h/s1600-h/image52.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOSSJt4ooN57wq5pqDygVXh99bRiaZhP7N7dIZIXsqfBG8dYS4OeJinx93_FZiRgMF21gOZKipVLPAHEN1BAKjzcQQSYr2CcuwbvJR3QLKYYq8c_ESMcTsrNfFsVPNPlhduCZBD2shbkgZ/?imgmax=800&quot; width=&quot;366&quot; height=&quot;523&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Click on &lt;font color=&quot;#0000ff&quot;&gt;System &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;then click on the Processor tab and add some CPU’s if you can so the installation will go faster. You can always reduce the memory or CPU’s later.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP0PMwhsxcY2liF6cU-9jqweGP4jDo-cjF0EqycqkGnKcDtBorzFbado23sFiyGOuetqcqD04Toai3ob-27mNghB38_nuLdkix3tpqCJwhgYde9Jt2iAO9RsaCB4mFEu1wjIE2MMbABN7b/s1600-h/image61.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLgkwQ1EIj_xlsS1p928iNmpbB4N6i0zeJ1mwClc-w75_KpRfWeX20jgZ1nAgfZpwYLb9dPPk3y3DekXUi0ItK_r4BnN04txRaDuv595oyROh19i3tEhGAZpdcmQD7Eh9np70UJcNnPCWX/?imgmax=800&quot; width=&quot;536&quot; height=&quot;399&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Click on Display and set the video memory to 128Mb.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimzx11h6T2iYbBWAFSialefE3N0R-twFC-UpwPsncdmZ_hXH51u9QjVkyEAkTD7_Gj51DETSQvZtIkWbPB3THpSNYy__kiqlK_Wh-cJ7F9sKYRl-WYiJquF_8ksiE5jrlyeI8IaBGRbsEn/s1600-h/image57.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbzltvRyiWlI5fSzs8Psp-HLnUo8eibS0wcGpy_Ae3aHg9yl4JqXTejpMedz9BgE2ZqME5Zr3A9bAE1rnDvgAJTgry3wQe3sJNzdoMySC4wfjQDK1L6y_ftWYALD7Ad9LsIo0Yr6jLpAMy/?imgmax=800&quot; width=&quot;531&quot; height=&quot;395&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Click on the Shared Folders and point to an area to access files. You will need this to install the SQL Server SP1 and Hotfix and for moving files around later.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8mOgtFOUiFwQ8DmQeOOsldk_B20VgC1gtadAhEvmvKMUaQj51wsMyuvL1VWjra5Byw8Tu9bradH37yxOEYHnIvA8lrFBVqt2MhfcxfO-nzez_G7xiWINHpTGGV555qSfa4Q9HV19j1IT6/s1600-h/image65.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii94ISV-VkiFFCya38HENWDBEz1XuwO1Yhhnv21KjaKTvp16EgnpsZnSeDu0yuDhWVM_n-Kq5Ro9YTH1iXKyyAMu_As5tWsfq5NzKrH7ziEE3m5hsQtmDS03DR59xV1IH2vwsgTS4t_NXp/?imgmax=800&quot; width=&quot;562&quot; height=&quot;418&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Next Click Start&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGGWcHAJaowxc7xV5zANm25k2zaaedShYZGe87cOBOFPceMzc__-9ot2pux46UFwibPeCR_faQ0R3hJnbTTC4WWs8TTWqAdT8itcBN5EegTDKciBfSYvJR7ZE21YCp2tJqwgC7Ff5CO1qt/s1600-h/image89.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibPR4eAvUTdQoxZciOD_efbSiMSbb07ruS0C6GAH3wcLh9QJ_VjTvok-jYZGnKgzERjtz2cuJ8kSygQCTL2xvCOjSHfIcchazEwn2kDufK3LEI27FTcVTpkN1w-9R_qAhswwAMzVZmXqyQ/?imgmax=800&quot; width=&quot;564&quot; height=&quot;483&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Click on the Folder and Browse to your ISO image of the Windows 2008R2 DVD    &lt;br /&gt;You can use a DVD, but it will be much slower.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4zQ7R3J5YkNdghZxIHp-VcrI3FznFLIgOwzsYZcb7vTF1jEg8MjvjfTlLbgd42TwEz8GTtn-vrr7Lzrwrk32HvyzPYIwKwVYtKRJiqt3boMUKPUstr-VZ3JWcCV2MGbEOCmu0tHvj9mEB/s1600-h/image93.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyaAQfRK69yJiIRUHwDBVEA37B-YYv8ksKz07HjRFzelfi-3SDc79g_4gj9wH0QdxLTXa635MVsWNl8KopG2xz4sJa4TcaRHCIn-0s1kQHDISPO45CmMXzi3PZdtImTD24feDzTy9FmjNq/?imgmax=800&quot; width=&quot;577&quot; height=&quot;494&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Once you have your iso images added, you can run any of them for installations, by just selecting the .iso file and clicking the Select Button.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXmMAlxITJMhCb2Go6N0FXuf9n2gHk3EoNkCzQyzhsSEKXLxyU1g9KcsjHYfFOjLuEtsMnErtoVHw6BuSiAS9mO_WXPm1QK4sw7YozEyMhx0u6qUeAkMvZpICv5s9nOMM_evJdA8hd2mLf/s1600-h/image97.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFWvOhI-_zxKMF8aXUjhofdWNlDSUfmSZxjNp54bs91DLcVM_E1KmTX9OPzTZhxqGtH2JuriJu-Af_P3nWDSg7DLqghiyqlo-paO6FJONbH2w_jYgzBvNTUreEj3fBzvJl8J-YZiSeDduK/?imgmax=800&quot; width=&quot;588&quot; height=&quot;461&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Once you have Windows 2008 installed make sure to install the Guest additions just so that the mouse transitions better.&lt;/p&gt;  &lt;p&gt;Devices –&amp;gt; Install Guest Additions&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;When you need to reach the CRM executables access the shared drives in Windows Explorer&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Network –&amp;gt; VBOXSVR –&amp;gt; &lt;a href=&quot;file://\\VBOXSVR\Shared&quot;&gt;\\VBOXSVR\Shared&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrt30cAQi0aymWowqlIOEX1qPE6mqYloPNVLzgDAHpbaq-_92X5cLUZWUb2c11M-EdWo_obzIjDsf5jC6CZMiK5iR2ETu9GeOBf_LgZ7E1_fODtqb1p7jM6IyBzecvRurt29p8WgEUjiOI/s1600-h/image102.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioxNGan1uOFk9Pvj_ZxLGgicz_4j2XQUI5TI9OBI9DlOI21_6-G8KmuyX_wsIkYTUpH2vX9991If8GqHUi8pWqbU7aErAwm0UA0_45vnssN2Bl3bWrUSSuyP1nfvjOxjPRiPbzCKXpySSE/?imgmax=800&quot; width=&quot;624&quot; height=&quot;301&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Use the Critical Path instructions starting with the section to install Windows 2008R2 then SQL Server 2008R2 and SharePoint 2010. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Notes:&lt;/strong&gt; &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;When the Farm configuration Wizard is running, it could take an hour or longer and the IE screen can time out.&amp;#160; When the CPU finally calms down it is done. My VM was running about 100% on each CPU while this was running. &lt;/li&gt;    &lt;li&gt;The first time you bring up your default site it may time out a couple times and then finally work. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj417_Cx0eWYc36o1aeFEGlE5Jwrbp9fU6dtmG57nZr5k5fJMrNDB_ybwyAGDyHHGikjJp2xr2_2H9uBAI0k28wg0ln_tfZGtgPAbcEMLh8S_mBMvH7LT2XQJsBTT6GMnmc9KSz3zmKV8z/s1600-h/image116.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcn699YyDYbtQ0sPkqzY0hf0__Au-gIpB8hJtR-GmL3AZS901DmXSfOBtfcGA-UkZOquYLarfbtWzcvXFbd7zeE7PEN670Vq70YMU9E-RK7SkPXVeqU9R4ySEQedprA3FzxecZsHI5_E8Y/?imgmax=800&quot; width=&quot;628&quot; height=&quot;518&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This gives you a great starting point to install the MS CRM 2011 Beta. &lt;/p&gt;  &lt;p&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;3&quot;&gt;&lt;strong&gt;Important!!!!&lt;/strong&gt;&lt;/font&gt; I would highly recommend that you make a copy of your VDI file at this point!&amp;#160; You may want to install various MS CRM 2011 release candidates and then the final RTM on this system later, or my might want to install MS CRM 4.0 on this system as well.&amp;#160; Also Visual Studio is great for a Development system, but you may want to create a DEMO system at some point without VS installed.&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;5&quot;&gt;&lt;/font&gt;&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2010/09/creating-ms-crm-2011-vm-part-1-of-2.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDfW-ZF7FGPsJNqhY9RM_XSoKfk5HtxYp55q8No-Z5OTwgpw3w7y3YwfH1D1pGTTacDx7yq782Gfu8s4CIIApp1IW5ovalnS2YhDlcmFY_xx4IEzhIYEdTuj6LUC7mmPkyuyhMkv51ZkFI/s72-c?imgmax=800" height="72" width="72"/><thr:total>7</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-2976318549246091389</guid><pubDate>Fri, 06 Aug 2010 20:48:00 +0000</pubDate><atom:updated>2010-08-06T16:48:13.556-04:00</atom:updated><title>MS CRM 4.0 LINQ Support in CRM SDK 4.0.12</title><description>&lt;p&gt;So far I really like what I have seen in this new SDK release &lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=82E632A7-FAF9-41E0-8EC1-A2662AAE9DFB&amp;amp;displaylang=en&quot;&gt;MS CRM SDK&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;It solves real problems and will actually make life better for CRM developers.&lt;/p&gt;  &lt;p&gt;The new LINQ support can be used by people customizing their own propriety CRM systems and for integrators and xRM developers with software to deploy across different CRM schemas.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color=&quot;#000000&quot;&gt;How they got it right and made life easier!&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;The attributes can be directly accessed as simple types!&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;&lt;strong&gt;&lt;font color=&quot;#0080ff&quot;&gt;bool?&lt;/font&gt;&lt;/strong&gt;&amp;#160; instead of&amp;#160; &lt;font color=&quot;#0080ff&quot;&gt;CrmBoolean&lt;/font&gt;&lt;/li&gt;      &lt;li&gt;&lt;strong&gt;&lt;font color=&quot;#0080ff&quot;&gt;Guid&lt;/font&gt;&lt;/strong&gt;&amp;#160;&amp;#160; instead of&amp;#160;&amp;#160; &lt;font color=&quot;#0080ff&quot;&gt;Key&lt;/font&gt;&lt;/li&gt;      &lt;li&gt;&lt;font color=&quot;#0080ff&quot;&gt;etc..         &lt;br /&gt;&lt;/font&gt;&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;The related entities are associated as a list of entities like you would expect with LINQ&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;&lt;font color=&quot;#0080ff&quot;&gt;&lt;strong&gt;IEnumerable&amp;lt;contact&amp;gt;&lt;/strong&gt;&lt;/font&gt;&amp;#160; instead of a &lt;font color=&quot;#0080ff&quot;&gt;&lt;strong&gt;BusinessEntityCollection&lt;/strong&gt;&lt;/font&gt;.&lt;/li&gt;      &lt;li&gt;Many less queries need to be coded greatly simplifying code.&lt;/li&gt;      &lt;ul&gt;       &lt;li&gt;Even though the additional queries are generated internally, they are done on the SQL side rather then requiring multiple web service calls which should be faster.&lt;/li&gt;     &lt;/ul&gt;      &lt;li&gt;The related entity list names are predictable!&lt;/li&gt;      &lt;ul&gt;       &lt;li&gt;ex.&amp;#160; acct.account_contacts&lt;/li&gt;        &lt;li&gt;ex.&amp;#160; acct.new_account_contact&lt;/li&gt;     &lt;/ul&gt;      &lt;li&gt;&lt;strong&gt;Note:&lt;/strong&gt; This is a significant improvement from the LINQtoSQL model that would just name related entities&amp;#160; contacts, contacts1, contacts2 without any way to predict which related list is which and wouldn’t give you a permanent way to set naming behavior. Adding an additional relationship to an entity that was already related could ruin your existing LINQ, requiring manual editing of the model xml.        &lt;br /&gt;&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;There is now much less of a reason to need to use the much more primitive &lt;strong&gt;Fetch&lt;/strong&gt; type syntax.&amp;#160; &lt;font color=&quot;#0080ff&quot;&gt;string xmlResults = crmService.Fetch(xmlQuery);&lt;/font&gt;      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Entity classes do &lt;strong&gt;NOT&lt;/strong&gt; need to be identical to the CRM schema for Selects!      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Entity classes do &lt;strong&gt;NOT&lt;/strong&gt; need to be identical to the CRM schema for Updates!&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;According to MS the Update operation sends only modified attributes back to the server so you don’t have to care about anything else that’s been added.       &lt;br /&gt;&lt;/li&gt;   &lt;/ul&gt; &lt;/ol&gt;  &lt;p&gt;&lt;strong&gt;In a nutshell&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Strong typing and compile time errors     &lt;br /&gt;No web reference required      &lt;br /&gt;Easily regenerated Entity classes&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;strong&gt;Simple Maintenance&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;From a command line all you have to do is use the new crmsvcutil.exe to generate and update the LINQ Entity class source files. More information here.&amp;#160; &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ff681561.aspx&quot;&gt;MSDN reference&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;C:\&amp;gt; crmsvcutil /server:&lt;/font&gt;&lt;a href=&quot;http://crm/Contoso&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;http://crm/Contoso&lt;/font&gt;&lt;/a&gt;&lt;font color=&quot;#000000&quot;&gt; /out:MyLinqEntities&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;One of the reasons I really appreciate this is that I wrote a utility to read all of the MS CRM Metadata and generate (Data Transfer Objects) or DTO’s for RIA services about a year ago along with all of the associated attributes for validation.&amp;#160; &lt;strong&gt;Idea for MS&lt;/strong&gt;: If we had a switch on this utility to dynamically generate validation criteria attributes from the MS CRM metadata so that we could bind a control to it, that would be great for MVVM Silverlight apps!&amp;#160; Or generate them by default and just comment them out.&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;strong&gt;Getting Started:&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;David Yack has an &lt;a href=&quot;http://crm.davidyack.com/journal/2010/5/6/new-crm-sdk-new-developer-experience.html&quot;&gt;explanation&lt;/a&gt; of how to set up MS CRM LINQ on your system and use it in a hello world project. There is no point duplicating his effort.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Sample Solution:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The following is a very simple &lt;a href=&quot;http://www.onecrmpro.com/downloads/CRMLINQSolution.zip&quot;&gt;sample solution&lt;/a&gt; 7.5Mb that is little more than the sample in the explanation link above. However the SDK libraries are included in the solution as are the Entity class files generated from the stock MS CRM 4.0 Contoso VM with a couple additions to the Account entity.&lt;/p&gt;  &lt;p&gt;Since it ONLY accesses a couple standard fields in the Account entity it should work out of the box on any CRM 4 box once the Server name is set in the app.config file.&amp;#160; Just change the line below to whatever your local server name/orgname is and it should work.&lt;/p&gt;  &lt;p&gt;Server=&lt;a href=&quot;http://crm/Contoso;&amp;quot;/&quot;&gt;http://crm/Contoso;&amp;quot;/&lt;/a&gt;&amp;gt;&lt;/p&gt;  &lt;p&gt;This is good stuff and the sooner you start using this the more time it will save you!&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2010/08/ms-crm-40-linq-support-in-crm-sdk-4012.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-4754371785070536661</guid><pubDate>Sat, 03 Oct 2009 11:01:00 +0000</pubDate><atom:updated>2009-10-03T07:01:26.723-04:00</atom:updated><title>MS CRM 4.0 Sending Attachments to the Browser</title><description>&lt;p&gt;In a previous blog article I covered how to take files and make them attachments to emails. &lt;a href=&quot;http://crmscape.blogspot.com/2008/10/creating-attachments-to-emails-and.html&quot;&gt;Creating Attachments to emails and annotations&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Recently I’ve been spending more time building portals to MS CRM, and have needed to make attached files available to the user by browser.&lt;/p&gt;  &lt;p&gt;From a custom web app running with MS CRM you can always create a link like the following that will call the annotation editor screen which will let you download the attachment or delete it or add an additional attachment to the annotation.&lt;/p&gt;  &lt;div style=&quot;border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 98.06%; padding-right: 4px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; height: 43px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px&quot;&gt;   &lt;pre style=&quot;border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 97.18%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; height: 30px; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;string&lt;/span&gt; link = String.Format(&lt;span style=&quot;color: #006080&quot;&gt;@&amp;quot;{0}{1}/notes/edit.aspx?id={2}&amp;quot;&lt;/span&gt;, crmServerBaseUrl, orgname, thisNote.annotationid.Value);&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;However sometimes when working with an external application you don’t have the ability to call the MS CRM functionality or for aesthetic reasons you want things to look differently. In this case I have a Silverlight 3 application with a completely different look and feel and I just need to retrieve annotation attachments from a list associated with an entity or contact. The ExportFile() method below would work just as well with an activitymimeattachment for email attachments.&lt;/p&gt;

&lt;p&gt;The following aspx file simply takes an annotationid querystring, retrieves that annotation ( you provide the query) and sends the attached file to the user’s browser. The user will then be able to download the file or open the file in an appropriate application.&lt;/p&gt;

&lt;div style=&quot;border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; height: 780px; max-height: 780px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px&quot;&gt;
  &lt;pre style=&quot;border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;using&lt;/span&gt; System;
&lt;span style=&quot;color: #0000ff&quot;&gt;using&lt;/span&gt; System.Web;
&lt;span style=&quot;color: #0000ff&quot;&gt;using&lt;/span&gt; Passport.Web.Services.Logic;

&lt;span style=&quot;color: #0000ff&quot;&gt;namespace&lt;/span&gt; YourProject
{
    &lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;partial&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;class&lt;/span&gt; SendAnnotation : System.Web.UI.Page
    {
        &lt;span style=&quot;color: #0000ff&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;void&lt;/span&gt; Page_Load(&lt;span style=&quot;color: #0000ff&quot;&gt;object&lt;/span&gt; sender, EventArgs e)
        {           
            &lt;span style=&quot;color: #0000ff&quot;&gt;if&lt;/span&gt; (Request.QueryString[&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;id&amp;quot;&lt;/span&gt;] != &lt;span style=&quot;color: #0000ff&quot;&gt;null&lt;/span&gt;)
            {                
                Guid annotationId = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; Guid(Request.QueryString[&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;id&amp;quot;&lt;/span&gt;].Replace(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;{&amp;quot;&lt;/span&gt;, &lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;).Replace(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;}&amp;quot;&lt;/span&gt;, &lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;));

                &lt;span style=&quot;color: #008000&quot;&gt;// Get annotation&lt;/span&gt;
                annotation fileContainer = &lt;span style=&quot;color: #008000&quot;&gt;// fill in the query logic you need here.&lt;/span&gt;
                
                &lt;span style=&quot;color: #008000&quot;&gt;// Call method to write&lt;/span&gt;
                ExportFile(fileContainer.filename, fileContainer.documentbody, fileContainer.mimetype);             
            }
        }

        &lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #008000&quot;&gt;/// This method takes the annotation documentbody and writes it back to the browser&lt;/span&gt;
        &lt;span style=&quot;color: #008000&quot;&gt;/// with a file name and mimetype so that your browser knows how to intelligently &lt;/span&gt;
        &lt;span style=&quot;color: #008000&quot;&gt;/// handle the file being sent to it.&lt;/span&gt;
        &lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;param name=&amp;quot;fileName&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;param name=&amp;quot;content&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #008000&quot;&gt;/// &amp;lt;param name=&amp;quot;type&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: #0000ff&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;void&lt;/span&gt; ExportFile(&lt;span style=&quot;color: #0000ff&quot;&gt;string&lt;/span&gt; fileName, &lt;span style=&quot;color: #0000ff&quot;&gt;string&lt;/span&gt; content, &lt;span style=&quot;color: #0000ff&quot;&gt;string&lt;/span&gt; type)
        {
            &lt;span style=&quot;color: #0000ff&quot;&gt;byte&lt;/span&gt;[] fileContent = Convert.FromBase64String(content);
            Response.ClearContent();
            Response.AddHeader(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;content-disposition&amp;quot;&lt;/span&gt;, &lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;attachment; filename=&amp;quot;&lt;/span&gt; + fileName);
            Response.ContentType = type;
            Response.BinaryWrite(fileContent);
            Response.End();
        }
        
    }

}&lt;/pre&gt;
&lt;/div&gt;  </description><link>http://crmscape.blogspot.com/2009/10/ms-crm-40-sending-attachments-to.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><thr:total>5</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-2237419075499197429</guid><pubDate>Thu, 30 Jul 2009 13:46:00 +0000</pubDate><atom:updated>2009-07-30T09:46:58.870-04:00</atom:updated><title>MS CRM 4.0, xRM and building blocks</title><description>&lt;p&gt;I have spent a number of years working with MS CRM as the end solution while integrating it with many other systems to make it the center of an organization’s business processes, data tracking and communication.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Change is good.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;My emphasis has changed over the last year from business analysis, configuration, integration and customization of MS CRM to xRM systems that use MS CRM as a framework to build non-CRM solutions, and now leveraging MS CRM and xRM systems as a part of larger solutions.&lt;/p&gt;  &lt;p&gt;My change in direction has also made me seriously think about what can be data driven and abstracted away to allow much more powerful solutions. I’m looking at MS CRM’s metadata in a completely new way these days as I integrate MS CRM with EF, RIA services and Silverlight 3. Taking a page from MS CRM’s form designer I’m now building Silverlight XAML based on metadata. &lt;/p&gt;  &lt;p&gt;I’m also working on creating a developer level product out of my MS CRM import framework. (&lt;em&gt;Think Scribe but for developers with complete control over everything for one time data migrations and for scheduled synchronizations&lt;/em&gt;.) &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Enamored with MS&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;A real credit to the MS CRM framework is that I’m always looking at the holes in other technologies compared to what MS CRM allows as a development framework. It seems like they are all playing a game of catch up.&lt;/p&gt;  &lt;p&gt;As a person who loves finding interesting ways to bend and mold MS CRM to do amazing things for businesses, I think the latest developments in EF, RIA and SL3 are really exciting. MS is really giving us great building blocks to create better and more powerful solutions that really improve the user experience. MS should be blushing right now and waiting for me to pucker up and give them a kiss.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Didn’t always feel this way&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Now don’t get me wrong. I didn’t drink the MS Kool-Aid early in my career. I was focused around UNIX technologies for over a decade, QNX (digital Mastering console with proprietary parallel processing backplane), SCO UNIX (tracking nuclear waste shipments by satellite) and (Continuous Emissions Monitoring systems), Interactive, AIX ( Medical Systems ). I also touched HP/UX, IRIX, Coherent and Linux to a lesser extent.&amp;#160; &lt;/p&gt;  &lt;p&gt;At one point all serious work was done in UNIX, period. Now that am creating business solutions, I really can’t see any competitors to the business infrastructure and products that MS has and is developing. MS has so many technologies that really deliver and connect together easily that I rarely feel like I can’t create a solution to any problem.&amp;#160; Maybe I’m just having some really good development days lately, but it just seems like a lot of new technologies are really evolving well.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;So how does this impact my blog?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;I’m still working with all of the MS CRM API’s, but have noticed that a lot of things are so second nature that I don’t even think about them any more. The result is that I have less urges to write a blog articles.&amp;#160; I continue to read and answer questions in the newsgroup &lt;strong&gt;&lt;font color=&quot;#0080ff&quot;&gt;microsoft.public.crm.developer&lt;/font&gt;&lt;/strong&gt; which is sometimes a source of inspiration for blog articles, and I expect to add some content soon on using the MS CRM metadata web service, so time will tell.&lt;/p&gt;  &lt;p&gt;I’m also considering creating a secondary blog dealing with the fun of global development, virtual dev teams, finding talent, maximizing personal productivity, tools and lessons learned. &lt;/p&gt;  &lt;p&gt;Of course the trick is keeping balance in my life while doing this. I’ve been very fortunate that I continue to be found by some great customers who have been fun to work with and have very interesting and challenging work. I am even more fortunate to have a great wife who pulls me away from the computer to play ( cycling, mountain biking, hiking, etc.. ). &lt;/p&gt;  &lt;p&gt;Looking forward to the road ahead!&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2009/07/ms-crm-40-xrm-and-building-blocks.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-8018749866879542466</guid><pubDate>Mon, 22 Jun 2009 23:24:00 +0000</pubDate><atom:updated>2009-06-22T19:34:23.733-04:00</atom:updated><title>RFC822 Import to MS CRM email activity utility</title><description>&lt;p&gt;When migrating from Goldmine and some other CRM systems to MS CRM there is sometimes a need to import historical email.&amp;#160; This is frequently stored in a SQL database in rfc822 format. RFC822 is an email format standard.&lt;/p&gt;  &lt;p&gt;What I am providing is a single class along with a file from the MS CRM SDK that this class currently uses. This single class is consolidated from a number of other classes in my import framework and is intended to give you a nearly complete rfc822 import solution that you can modify for your needs.&amp;#160; Every place that you need to make a modification according to your particular system has a &lt;font color=&quot;#008000&quot;&gt;//&lt;/font&gt;&lt;strong&gt;&lt;font color=&quot;#000080&quot;&gt;TODO:&lt;/font&gt;&lt;/strong&gt; comment explaining what you need to adjust particular to your configuration. In addition assume that there will be some tweaking required, and make sure to do thorough debugging and testing to verify that your email records are being properly generated.&lt;/p&gt;  &lt;p&gt;You can download the source code &lt;a href=&quot;http://www.onecrmpro.com/downloads/rfc822ToEmail_Source.zip&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;There are 2 steps to using this class.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color=&quot;#0080c0&quot;&gt;Part 1: Initialize a new RFC822ToEmailActivity object.&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;div style=&quot;border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 95.36%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; height: 29px; background-color: #f4f4f4&quot;&gt;   &lt;pre style=&quot;padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 84.16%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-right-style: none; border-left-style: none; height: 15px; background-color: #f4f4f4; border-bottom-style: none&quot;&gt;var emailConversion = &lt;span style=&quot;color: #0000ff&quot;&gt;new&lt;/span&gt; RFC822ToEmailActivity(&lt;span style=&quot;color: #006080&quot;&gt;&amp;quot;Contoso&amp;quot;&lt;/span&gt;); // Your Orgname&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;&lt;font color=&quot;#0080c0&quot;&gt;Part 2: Calling the CreateEmailFromRfc822Record() method&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;CreateEmailFromRfc822Record() should be called in your loop that is reading the rfc822 records&lt;/p&gt;

&lt;div style=&quot;border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; height: 125px; background-color: #f4f4f4&quot;&gt;
  &lt;pre style=&quot;padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 91.37%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-right-style: none; border-left-style: none; height: 112px; background-color: #f4f4f4; border-bottom-style: none&quot;&gt;var emailEntity = emailConversion.CreateEmailFromRfc822Record(&amp;#160;&amp;#160;&amp;#160;&amp;#160; rfc822Record, &lt;span style=&quot;color: #008000&quot;&gt;// This is the string holding the whole 822 record&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; localEmailDomainName, &lt;span style=&quot;color: #008000&quot;&gt;// This is the local email domain name ex. onecrmpro.com &lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; emailOwnerId, &lt;span style=&quot;color: #008000&quot;&gt;// systemUserId of email entity owner&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; relatedEntityName, &lt;span style=&quot;color: #008000&quot;&gt;// contact or account or....&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; relatedEntityId &lt;span style=&quot;color: #008000&quot;&gt;// id of the entity to regard the email to&lt;/span&gt;
)&lt;/pre&gt;
&lt;/div&gt;

&lt;ol&gt;
  &lt;li&gt;Calls parsing method &lt;/li&gt;

  &lt;li&gt;Creates email attachments from pathnames returned from parsing method.&lt;/li&gt;

  &lt;li&gt;Writes to an error log file with all attachments that are not found and other errors.&lt;/li&gt;

  &lt;li&gt;Makes any other changes to the email entity before saving it.&lt;/li&gt;

  &lt;li&gt;Sets Email State as completed (sent or received) based on local domain name.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Called Internally: ParseRFC822() parsing and email activity creation.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Parse an rfc822 record&lt;/li&gt;

  &lt;li&gt;Create an email activity based on that record.&lt;/li&gt;

  &lt;li&gt;Compare email addresses, both To: and From: with a local domain name to decide if the email is incoming or outgoing.&lt;/li&gt;

  &lt;li&gt;Create ActivityParties for To:, CC:, BCC:, From: related to CRM users, Contacts, Accounts and Leads in that match order precedence.&lt;/li&gt;

  &lt;li&gt;Return a list of pathnames to any attachments.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;&lt;font color=&quot;#0080c0&quot;&gt;RFC882 Email Attachments&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Products like Gold Mine are storing email bodies in the database but they only have pathnames to the attachments. These attachment paths are frequently on the end user’s local computer which can be unreliable. These attachments may have been renamed, moved or deleted.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;font color=&quot;#ff0000&quot;&gt;Hint1:&lt;/font&gt;&lt;/strong&gt; Create a single shared folder on a file server with a separate tree branch for each computer that has attached files in the email history and modify the pathnames programmatically to match the structure you create on the file server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; 

  &lt;br /&gt;&lt;font color=&quot;#0000ff&quot;&gt;S:\importattachments\C\Documents and Settings\mkovalcson\My Documents&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#ff0000&quot;&gt;&lt;strong&gt;Hint2:&lt;/strong&gt;&lt;/font&gt; Comment out or create a test mode where nothing is written into the CRM database, but missing attachments are still written to a log file where you can see what isn’t found and decide how important it is to hunt attachments down before the final import.&lt;/p&gt;

&lt;p&gt;You may want to look at this before you get started. 
  &lt;br /&gt;&lt;a href=&quot;http://crmscape.blogspot.com/2008/10/ms-crm-data-import-cleaning-up-mess.html&quot; target=&quot;_blank&quot;&gt;MS CRM Data Import (Cleaning up the Mess)&lt;/a&gt;&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2009/06/rfc882-import-to-ms-crm-email-activity.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-3379900433203134491</guid><pubDate>Sat, 13 Jun 2009 12:41:00 +0000</pubDate><atom:updated>2009-06-13T09:00:03.354-04:00</atom:updated><title>MS CRM 4.0 Entity Mapping and Hidden Mappings</title><description>&lt;p&gt;Microsoft has a powerful way to manage automatic attribute mappings from entities created from other entities. Typically we see this in the QOI process where an Opportunity is created, and then a Quote, Order or Invoice can be created from the Opportunity and much of the information is automatically copied from the Opportunity to that Quote, Order or Invoice.&lt;/p&gt;  &lt;p&gt;&lt;font color=&quot;#0080c0&quot; size=&quot;4&quot;&gt;&lt;strong&gt;Entity Mapping&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;If you open up your Opportunity from Customize Entities and look at 1:N Relationships, you can see the opportunity_quotes relationship.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCAevqNR45ooJMjC5FHdxRXqaIUfC68i6DiEw3wXjCFBkYFRWtZwAIzZpx4c5uWIaGVNDjVtCXo37hukAU1tG_zaw3lMLqCcQYTpMFqPQ37poqIo2GmwaaBMv-kAHD3-OAa2k99h5EdrUa/s1600-h/image%5B12%5D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px&quot; height=&quot;308&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigqLDYnVNuir-K6DE5e8GXlzbYmvHqh4n1KOj_YFC-EqRJDdhDwno8Shgr2syA0J_E2QYQjvD6MVT-42LM5lIuhB6TrP8Rgd4X1JM3PO8LPrDafmBoRLBpEiMa0xtIW1c0rfpSZCZhoNnX/?imgmax=800&quot; width=&quot;583&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;If you double click on that you will see mappings. This shows you the names of each &lt;strong&gt;source&lt;/strong&gt; opportunity attribute that is “&lt;strong&gt;Mapped&lt;/strong&gt;” to a &lt;strong&gt;target&lt;/strong&gt; quote attribute when a Quote is created from an opportunity.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnpFZMHTZ3eoTuz31qya9YB22vmpeFqFq4ygAYYNbXdMsqA6ovPA6qU7RieiBxLx03h1UWkaGoE-DzIeqL1Sl7rhQtrX9i3sbBT50VVZXRNeLFt85n6d_oQ9YEdvEw_SWQ-3Z0ZCPqcwpK/s1600-h/image%5B4%5D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px&quot; height=&quot;396&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi674iv7RF1fvkduR2cL_hQ1Hg94ar7oTgka2LUDaa3rJ-vIysknTadrz-phZ-besA7ZZgJ8NzY_ePcLmgV40WrYBGMStJxqC5joc9NRVgHXWdiM8OoteNZW1XsfY1pyJnjSVrE4Cu2HC3A/?imgmax=800&quot; width=&quot;588&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This is very useful if you want to add custom fields and have those automatically propagated too or if you want to disable any default mappings.&lt;/p&gt;  &lt;p&gt;&lt;font color=&quot;#000000&quot; size=&quot;3&quot;&gt;So what about mapping the opportunityproduct?&lt;/font&gt; or quotedetail, salesorderdetail, and invoicedetail for that matter?&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color=&quot;#0080c0&quot; size=&quot;4&quot;&gt;Hidden Entity Mapping&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 1.&lt;/strong&gt; You need the EntityMapId for the relationship that you want to map.&lt;/p&gt;  &lt;p&gt;You can manually scan the EntityMapBase table matching against the SourceEntityName and TargetEntityName.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiHCJHZ3eEFChwkPs0NmL_Fu4CcDHtVwXJxTm5N2PrKmRwL_W7y_bYlwX2aMF7NaOs2e8iKNu97PigVXIj3X7FJ9eb3oo97rH2WvgSKPVBSZcul50tGYdzZjOZGJTWk0p9vyhFsUR5Jsjq/s1600-h/image%5B27%5D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px&quot; height=&quot;156&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJD7n8l6qLbKIAjJN8MThTtvEh6ChVZLNm7T7hjG6HmKjiBgAYrKz6sSpeJgxhTOT-VTWzCMfvbHYxqHCqjxzVICS5VQAd9mSHGi6zGSFhWJySp7yRwqIq5C9t2DXX8V26JDzJybqLsaf1/?imgmax=800&quot; width=&quot;495&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Or you can write a select like the one below to get a nice list of Guids to copy and paste into a temporary form.&lt;/p&gt;  &lt;div style=&quot;border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 85.61%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; height: 36px; background-color: #f4f4f4&quot;&gt;   &lt;pre style=&quot;padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 81.85%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-right-style: none; border-left-style: none; height: 32px; background-color: #f4f4f4; border-bottom-style: none&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;Select&lt;/span&gt; TargetEntityName, EntityMapId &lt;span style=&quot;color: #0000ff&quot;&gt;from&lt;/span&gt; dbo.EntityMapBase
&lt;span style=&quot;color: #0000ff&quot;&gt;where&lt;/span&gt; SourceEntityName = &lt;span style=&quot;color: #006080&quot;&gt;&#39;opportunityproduct&#39;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaNj-50XBwTwm4I7uD2Dr-r4GTFS-DLzGcKIQcXGFnoYUeI7Zn6fo7rYOU8RjKQ47urgjXVWcklMKO9IoBod3oFD51Lcq1QCv1sEVchn7Kf-sIZS-c3SFBoKiGpUSXRevBFR_k_OrdSs2y/s1600-h/image%5B34%5D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px&quot; height=&quot;299&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMlnKdNiKqAkuhNRzO_STVyDuPkLmedb4Rgwvx8fk4IRxa1u3_pxzPO7p6UA64rkiLorsRNxiCLmi3ULa1etT1wSZ2pbg3ZfesiglwnsEO6P4qAyrVoCjdL9mUZtf3o7T8fkFMrABHnL3d/?imgmax=800&quot; width=&quot;592&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2.&lt;/strong&gt; Take the following URL and replace your server name and the EntityMapId of your choice to gain access to the rest of the mappingList editors.&lt;/p&gt;

&lt;p&gt;&lt;a title=&quot;http://localhost:5555/Tools/SystemCustomization/Relationships/Mappings/mappingList.aspx?mappingId=3A116CD4-A5EE-DD11-BDF0-0003FFEB167C&quot; href=&quot;http://localhost:5555/Tools/SystemCustomization/Relationships/Mappings/mappingList.aspx?mappingId=3A116CD4-A5EE-DD11-BDF0-0003FFEB167C&quot;&gt;http://localhost:5555/Tools/SystemCustomization/Relationships/Mappings/mappingList.aspx?mappingId=3A116CD4-A5EE-DD11-BDF0-0003FFEB167C&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzt5rpSy5zWwlzhs6TCE0sIGF8WMJMp1NLASpoPwKwob-eT_On_Leg0xQUP57DA6LDSULpMP3tZazJOqNwh7dgN9tDTBasVFLi7gibzk_a-FMRVhDz6Yl74AOFDo-ilUVdMH_mDUzBlSCw/s1600-h/image%5B41%5D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px&quot; height=&quot;341&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrAPU0BTT23imH8bg3UAT_WvgThkPBPZdTN_aYB41GgdvzIvQRUjm1Q_mkuA6vI4LrY0_QAefwgVqlSn64MjC94dDDsyg9U2EBca_-3ITkgzIiXLc3fwIJ0_4A7FPe8OpfLyywS06nnKQm/?imgmax=800&quot; width=&quot;619&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2009/06/ms-crm-40-entity-mapping-and-hidden.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigqLDYnVNuir-K6DE5e8GXlzbYmvHqh4n1KOj_YFC-EqRJDdhDwno8Shgr2syA0J_E2QYQjvD6MVT-42LM5lIuhB6TrP8Rgd4X1JM3PO8LPrDafmBoRLBpEiMa0xtIW1c0rfpSZCZhoNnX/s72-c?imgmax=800" height="72" width="72"/><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3101394961765670978.post-466137324534814188</guid><pubDate>Sat, 23 May 2009 10:38:00 +0000</pubDate><atom:updated>2009-05-23T06:38:05.285-04:00</atom:updated><title>CRM Demos, SSD Drives and Virtual Machines</title><description>&lt;p&gt;When doing a demo you never want the software to look slow, and when doing CRM development against virtual machines performance is always critical to being efficient. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;The Hardware     &lt;br /&gt;&lt;/strong&gt;Samsung recently released their new 256Gb SSD drive and for me this drive signals that SSD drives have become mature. Intel has had very fast SSD drives available, but they were not very large. Like most other SSD drives they suffered from a condition where over time the drive would drop dramatically in performance. Samsung’s new drive has algorithms to minimize this to the point of it being of it being much less noticeable while still performing very similarly to the Intel SSD’s in access time and throughput.&lt;/p&gt;  &lt;p&gt;So hoping that this drive lived up to my expectations, I replaced my laptop’s 7200 rpm 160Gb drive with Samsung’s new 256Gb SSD drive. My main concern was that running my VM’s off the system drive would still be unacceptable.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Virtual Machines&lt;/strong&gt;    &lt;br /&gt;&lt;font color=&quot;#ff0000&quot;&gt;Before:&lt;/font&gt; I have run my vhd files from separate Firewire 800 Raid 0 drives. Keeping the system drive separate from the VHD was critical to getting good virtual machine performance.&lt;/p&gt;  &lt;p&gt;&lt;font color=&quot;#008000&quot;&gt;After:&lt;/font&gt; The MS CRM 4.0 VHD 2009 now loads up in a mere 14 seconds while still running on the system drive versus 52 seconds on my external Firewire 800 drive. VS 2008 loads up after a clean boot(nothing cached) in 17 seconds and closes in 2 seconds compared with 57 and 13 seconds on my old drive.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Developing against a VM while on battery&lt;/strong&gt;    &lt;br /&gt;This allows real development work to be done while running on battery power. The new SSD drive uses less power than the original drive did, and lugging around external drives for demos is now unnecessary.&lt;/p&gt;  &lt;p&gt;As I write this the new Samsung drive is currently available at Dell as part 341-9999 for $699.99.&amp;#160; For this you get 256Gb at the speed of a 10,000 rpm RAID system that fits in a laptop while sipping at your batteries. In some ways, especially average access time, it actually blows an expensive and bulky RAID system away. &lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLbhK469S32H5O4-PU6zm-bXJ9CotbypQ2d_tIvke7O8vC78KCBS9q7pgnXLkYnTK7UtvWSYybFe_n45-XL4lryGJzFrqVQ79PQNKw73XG_j89Z8GgvkEY_kpXFhN1ZJRdqTF7lMYV5n1s/s1600-h/SSD-Drive_0785%5B5%5D.jpg&quot;&gt;&lt;img title=&quot;SSD-Drive_0785&quot; style=&quot;border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px&quot; height=&quot;496&quot; alt=&quot;SSD-Drive_0785&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhosG8Bfqto8PmQIriuzWvkU4eVhVV00GyePmDK_z8YDvPs6ThiTcNUtA2-u8Bo0QWrLoJDr-0JtRR2ifdoY31oSE2tGSdxa9PXGkMoznQRVW7vKK0zdQEW3lQ9KtIGfT3AhbMBGTdYP054/?imgmax=800&quot; width=&quot;529&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Even MORE Speed Possible     &lt;br /&gt;&lt;/strong&gt;I’ve seen reports twin drive laptops getting transfer rates of 300 MB/sec with two of these Samsung drives in a RAID 0 configuration. For comparison a single Samsung drive has a transfer rate of 200MB/sec which is still a lot faster than the 60Mb/sec of a 7200rpm internal laptop drive my less than a year old laptop was using.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;The Installation&lt;/strong&gt;    &lt;br /&gt;The replacement was easy. I used my Acronis backup software to make a complete disk backup to one of my external RAID drives. For my Dell M6300 I had to remove 4 screws, pull the drive out. Remove two more screws for the surrounding case. Screw the new drive into the case, slide it into the computer and put the 4 attaching screws back in. Boot from the Acronis CD. It recognizes all of my external drives USB and Firewire. Use the Acronis software to “add a drive” and partition it. Then restore the backup, remove the CD and reboot. The backup and restore(much faster) took me about 2.5 hours. Everything else took about 15 minutes.&lt;/p&gt;  </description><link>http://crmscape.blogspot.com/2009/05/crm-demos-ssd-drives-and-virtual.html</link><author>noreply@blogger.com (Mark Kovalcson)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhosG8Bfqto8PmQIriuzWvkU4eVhVV00GyePmDK_z8YDvPs6ThiTcNUtA2-u8Bo0QWrLoJDr-0JtRR2ifdoY31oSE2tGSdxa9PXGkMoznQRVW7vKK0zdQEW3lQ9KtIGfT3AhbMBGTdYP054/s72-c?imgmax=800" height="72" width="72"/><thr:total>3</thr:total></item></channel></rss>