<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Richard Knudson&#039;s Dynamics CRM Trick Bag &#187; Customization</title>
	<atom:link href="http://www.dynamicscrmtrickbag.com/tag/customization/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dynamicscrmtrickbag.com</link>
	<description>Building business value on Dynamics CRM</description>
	<lastBuildDate>Fri, 27 Jan 2012 14:42:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Email Record Links from a Dynamics CRM Workflow</title>
		<link>http://www.dynamicscrmtrickbag.com/2009/09/13/email-record-links/</link>
		<comments>http://www.dynamicscrmtrickbag.com/2009/09/13/email-record-links/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 13:43:17 +0000</pubDate>
		<dc:creator>Richard Knudson</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[Dynamics CRM Workflows]]></category>

		<guid isPermaLink="false">http://www.dynamicscrmtrickbag.com/2009/09/13/email-record-links-from-a-dynamics-crm-workflow/</guid>
		<description><![CDATA[Sept. 13 -- Out of the box, you can include a link to a CRM record within the body of an email...but only if you send it manually. If you want a workflow to automatically send a record link, it takes a pinch of customization and a snippet of script, which I illustrate in this article.   ]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s easy enough to email another CRM user a link to a record. If you open up a form for almost any record type in Dynamics CRM, you can pull down the <strong>Actions</strong> menu and select the <strong>Send Shortcut</strong> command to do this. Dynamics CRM will open up your mail client, and insert a rather complicated looking link which the recipient will be able to click to navigate directly to the record (assuming they have read permissions!)</p>
<p>For example, here&#8217;s what it looks like from an opportunity record:</p>
<p><img src="http://www.dynamicscrmtrickbag.com/wp-content/uploads/2009/09/091309_1343_EmailRecord1.jpg" alt="" width="479" height="283" /></p>
<p>Here&#8217;s what it looks like for an account record:</p>
<p><img src="http://www.dynamicscrmtrickbag.com/wp-content/uploads/2009/09/091309_1343_EmailRecord2.jpg" alt="" width="471" height="277" /></p>
<p>While your specific links will be different than mine (mine are for records contained in my CRM Online database, and the nasty-looking 25-character GUID uniquely identifies CRM records so it better be different!), the general structure will always be the same. I&#8217;ll come back to that point a little later, since it will solve a problem for us.</p>
<h2>Problem: a Workflow-generated email cannot send a record link</h2>
<p>So…while you <em>can</em> use the menu command I just mentioned to manually email a link to a record, <em>you cannot email a link to a record from within a workflow</em>. This might sound somewhat obscure, but it actually comes up a lot, and when you run into it, it just seems like something you should be able to do! Fortunately, there&#8217;s a relatively easy fix you can implement, with just a pinch of customization and a smidgeon of script. I&#8217;ll show you the solution next, but first, let me illustrate the problem in a little more detail.</p>
<p>Suppose I want a workflow to automatically send an email alert any time something important changes about an opportunity record. Here are a few scenarios to illustrate:</p>
<ul style="margin-left: 37pt">
<li>If the pipeline stage of an opportunity record changes, send an email alerting the sales manager.</li>
<li>If the current date is with three days of an open opportunity&#8217;s estimated close date, send a reminder email to the opportunity owner.</li>
<li>If an opportunity is closed as &#8220;Lost&#8221;, send an email alert to the owner&#8217;s manager.</li>
</ul>
<p>You can come up with as many scenarios as there are organizations in the world, but in all of them, it would be nice to include a simple clickable link in the body of the email, so the recipient of the alert can navigate directly to the record in question.</p>
<p>As you know if you&#8217;ve read my book on Dynamics CRM workflows, there are many things you can do with Dynamics CRM workflows…but unfortunately, this is not one of them! I&#8217;ll illustrate with a simple alert email, sent by a workflow that runs automatically any time specified values of the opportunity entity change.</p>
<p>The following screen shot shows the <strong>Set Properties</strong> form for the workflow&#8217;s <strong>Send e-mail</strong> action. For demo purposes, the email simply goes to me, and I&#8217;ve used Dynamic Values to populate the body of the email with presumably interesting information about the current opportunity.</p>
<p>There is an eponymously titled field you can insert for any entity in Dynamics CRM, in this case, using the &#8220;{field name{entity name}}&#8221; characteristic of the workflow design environment, it&#8217;s the <span style="background-color:yellow">{Opportunity{Opportunity}}</span> you can see in the figure. The problem with that is that it&#8217;s only a clickable link to the record if it&#8217;s on the Regarding field…and the Regarding field only appears if you happen to be viewing the email activity within Dynamics CRM.</p>
<p><img src="http://www.dynamicscrmtrickbag.com/wp-content/uploads/2009/09/091309_1343_EmailRecord3.png" alt="" /></p>
<p>Here&#8217;s what an email sent by this workflow looks like in Dynamics CRM (e.g., as a History item associated with the opportunity record):</p>
<p><img src="http://www.dynamicscrmtrickbag.com/wp-content/uploads/2009/09/091309_1343_EmailRecord4.png" alt="" /></p>
<p>But if, like most people as you prefer consuming your email in Outlook or a non-CRM email client, you never see that Regarding field. For example, Outlook:</p>
<p><img src="http://www.dynamicscrmtrickbag.com/wp-content/uploads/2009/09/091309_1343_EmailRecord5.png" alt="" /></p>
<h2>Solution: A Pinch of Customization and a Smidgeon of Script (and URL Addressable Forms)</h2>
<p>If you&#8217;ve read <em>this</em> far, I&#8217;m grateful, and you may have noticed the &#8220;Link to record&#8221; field that&#8217;s appeared in a couple of screen shots. That&#8217;s the solution, and it uses a technique called URL Addressable Forms, which simply means that every form in Dynamics CRM can be accessed via a unique URL, consisting of an entity-specific prefix combined with a suffix unique to a specific record. You can use the <strong>Send Shortcut</strong> command I started out by discussing to see what the prefix is for some common record types:</p>
<p><strong>Common Record Types<br />
</strong></p>
<div>
<table style="border-collapse:collapse" border="0">
<colgroup span="1">
<col style="width: 157px;" span="1"></col>
<col style="width: 481px;" span="1"></col>
</colgroup>
<tbody>
<tr style="background: #4f81bd">
<td style="padding-left: 7px; padding-right: 7px; border-top:  solid #7ba0cd 1.0pt; border-left:  solid #7ba0cd 1.0pt; border-bottom:  solid #7ba0cd 1.0pt; border-right:  none"><span style="color:white"><strong>Record Type</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  solid #7ba0cd 1.0pt; border-left:  none; border-bottom:  solid #7ba0cd 1.0pt; border-right:  solid #7ba0cd 1.0pt"><span style="color:white"><strong>Edit Form Prefix</strong></span></td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid #7ba0cd 1.0pt; border-bottom:  solid #7ba0cd 1.0pt; border-right:  none"><strong>Account</strong></td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #7ba0cd 1.0pt; border-right:  solid #7ba0cd 1.0pt">https://imginc.crm.dynamics.com/sfa/accts/edit.aspx</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid #7ba0cd 1.0pt; border-bottom:  solid #7ba0cd 1.0pt; border-right:  none"><strong>Contact</strong></td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #7ba0cd 1.0pt; border-right:  solid #7ba0cd 1.0pt">https://imginc.crm.dynamics.com/sfa/conts/edit.aspx</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid #7ba0cd 1.0pt; border-bottom:  solid #7ba0cd 1.0pt; border-right:  none"><strong>Opportunity </strong></td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #7ba0cd 1.0pt; border-right:  solid #7ba0cd 1.0pt">https://imginc.crm.dynamics.com/sfa/opps/edit.aspx</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid #7ba0cd 1.0pt; border-bottom:  solid #7ba0cd 1.0pt; border-right:  none"><strong>Case</strong></td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #7ba0cd 1.0pt; border-right:  solid #7ba0cd 1.0pt">https://imginc.crm.dynamics.com/cs/cases/edit.aspx</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid #7ba0cd 1.0pt; border-bottom:  solid #7ba0cd 1.0pt; border-right:  none"><strong>Marketing Campaigns</strong></td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #7ba0cd 1.0pt; border-right:  solid #7ba0cd 1.0pt">https://imginc.crm.dynamics.com/ma/camps/edit.aspx</td>
</tr>
</tbody>
</table>
</div>
<p> </p>
<p>You can use a custom attribute for any entity you want to include a clickable link for by following these steps:</p>
<ol>
<li>
<div>Customize the entity in question (e.g., Opportunity) by adding a new attribute. I added a custom attribute to the Opportunity entity, called it &#8220;Record Link&#8221; (it has a corresponding schema name), and gave it the following properties:</div>
<p><img src="http://www.dynamicscrmtrickbag.com/wp-content/uploads/2009/09/091309_1343_EmailRecord6.png" alt="" /></p>
<p> </p>
<p>The most important is to make it a Type of &#8220;nvarchar&#8221;, since that&#8217;s the only type that has the clickable link format of &#8220;URL&#8221;. Make sure it&#8217;s long enough. I made mine 200, but you can always come back and increase the maximum length (unlike the type and format values, which can&#8217;t be changed once the custom attribute is created.)</li>
</ol>
<p> </p>
<ol>
<li>
<div>Once the attribute is created, the question is how to put the value into it. This really is just a smidgeon of script code – one line of Jscript you can put in the Opportunity form&#8217;s OnSave event:</div>
<p> </p>
<p><span style="font-family:Courier New; font-size:10pt">crmForm.all.img_recordlink.DataValue = &#8216;https://imginc.crm.dynamics.com/sfa/opps/edit.aspx?id=&#8217;+crmForm.ObjectId;<br />
</span></li>
</ol>
<p>That&#8217;s pretty much it. If you implement this you&#8217;ll notice that since I wrote this code for the form&#8217;s save event, the new &#8220;Record Link&#8221; field won&#8217;t contain anything until a record&#8217;s form has been saved at least once after you&#8217;ve saved and published theses customizations. Too bad there&#8217;s not a built-in Record Link attribute for every Dynamics CRM entity. I guess I should add that to my top X list of new features that should be included in Dynamic CRM 5!</p>
<p>I wrote a book on Dynamics CRM workflows, by the way, and it contains tons of examples like this one and other useful workflows. You can purchase the book on Lulu.com or on Amazon, and if you do, you can also get a (free) subscription to the online version of the book, where you can download the workflows themselves, customizations, and related content.</p>
<p>Here&#8217;s a link you can visit to find out more about my book and purchase it:<a href="http://www.lulu.com/commerce/index.php?fBuyContent=3760270"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dynamicscrmtrickbag.com/2009/09/13/email-record-links/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Responsive Auto-Responders with Web2CRM and CRM Workflows</title>
		<link>http://www.dynamicscrmtrickbag.com/2009/04/23/auto-responders/</link>
		<comments>http://www.dynamicscrmtrickbag.com/2009/04/23/auto-responders/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 22:16:20 +0000</pubDate>
		<dc:creator>Richard Knudson</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[Dynamics CRM Workflows]]></category>
		<category><![CDATA[internet marketing]]></category>

		<guid isPermaLink="false">http://www.dynamicscrmtrickbag.com/?p=788</guid>
		<description><![CDATA[I&#8217;ve written a few times about integrating Internet marketing into your overall Dynamics CRM marketing efforts. In particular, one of the big gaps in the traditional feature set was the lack of a web-to-lead function so real &#8220;marketing types&#8221; could capture leads from a web form directly into Dynamics CRM&#8230;without having to write code to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve written a few times about integrating Internet marketing into your overall Dynamics CRM marketing efforts. In particular, one of the big gaps in the traditional feature set was the lack of a web-to-lead function so real &#8220;marketing types&#8221; could capture leads from a web form directly into Dynamics CRM&#8230;without having to write code to do it! So, let&#8217;s start with</p>
<h2>A Review of Internet Lead Capture for Dynamics CRM</h2>
<p>This problem now has some good solutions, and one that I particularly like &#8212; Web2CRM from CRM Innovation at http://www.crminnovation.com &#8212; is the starting point for this article.</p>
<p>To quickly review, what Web2CRM lets you do is create an Internet page with a form on it, into which a visitor can enter information, and from which you can pop the information directly into your CRM. One big advantage of the Web2CRM product, compared to (for example) the Microsoft implementation in CRM Online, is that Web2CRM lets you create a web form for ANY entity in your Dynamics CRM, including custom ones! So while the CRM Online approach only lets you accept Internet Leads into the new &#8220;Internet Lead&#8221; entity, Web2CRM gives you a sweet drag and drop form designer you can use to create a web form to populate any entity.</p>
<p>For example, here&#8217;s a look at the Web2CRM form design environment. In the next figure, I&#8217;ve already selected the entity I&#8217;m designing a form for, and I&#8217;ve got a nice drag and drop environment I can use to select any of its fields to place on the form. You get a nice design-ish view of your CRM form on the left hand side, from which you can drag and drop fields onto the Web2CRM form-in-progress in the middle. At the right, you can see which entity the form&#8217;s being designed for, and you get some other form-level settings I won&#8217;t go into here.</p>
<p><img class="alignnone size-full wp-image-794" title="inforequest1" src="http://www.dynamicscrmtrickbag.com/wp-content/uploads/2009/04/inforequest1.png" alt="inforequest1" width="555" height="259" /></p>
<p>If you click the Publish button you get a very generic form that is hosted on the CRM Innovation servers &#8212; another example of the hosted &#8220;software+services&#8221; model. But if you click the cryptically named &#8220;Carry Code&#8221; button you open up a window with a bunch of script code you can simply copy and pasted onto one of your very own pages, and create a page on your site that looks like this one (or however you want yours to look!):</p>
<p><img class="alignnone size-full wp-image-799" title="inforequest3" src="http://www.dynamicscrmtrickbag.com/wp-content/uploads/2009/04/inforequest3.png" alt="inforequest3" width="473" height="318" /></p>
<p>To review, the form is created for the &#8220;Info Requester&#8221; custom entity I created in my CRM organiztion. So if you fill out the form you will find here &#8212;  <a href="http://www.DynamicsCRMTrickBag.com/request-content">www.DynamicsCRMTrickBag.com/request-content</a> &#8212; a new record gets created in my CRM with the information you provide.</p>
<p>So&#8230;on to the main point of this article&#8230;</p>
<h2>What to do with those Internet Leads?</h2>
<p>One good thing to do is to send an acknowledgment email &#8212; often referred to as an &#8220;auto-responder&#8221;. In Dynamics CRM, one of the seven actions a workflow can take (can you name the other six?) is to send an email, so I can create a workflow to run automatically when a new Info Requester record is created and send a nice auto-responder. But&#8230;you can&#8217;t email directly to a custom entity (yet!) in CRM 4, so the first thing my workflow has to do is create a Lead record based on the Info Request record. So here&#8217;s what my simple workflow looks like:</p>
<p><img class="alignnone size-full wp-image-801" title="inforequest4" src="http://www.dynamicscrmtrickbag.com/wp-content/uploads/2009/04/inforequest4.png" alt="inforequest4" width="566" height="328" /></p>
<p>The &#8220;Create Lead&#8221; action simply takes the fields entered onto the web form, and pops them into the corresponding fields on a new lead record.</p>
<p>You can use dynamic values to configure the &#8220;Send e-mail&#8221; action, crafting a somewhat customized and oh-so-responsive response! Like this:</p>
<p><img class="alignnone size-full wp-image-803" title="inforequest5" src="http://www.dynamicscrmtrickbag.com/wp-content/uploads/2009/04/inforequest5.png" alt="inforequest5" width="554" height="402" /></p>
<p>And last but not least, notice the Attachments tab in that figure. You can attach one or more items to a workflow-generated email in Dynamics CRM 4, so depending on what kind of information people might be interested in receiving &#8212; a white paper, say, or even a Dynamics CRM workflow all zipped up and ready to go &#8212; you can include that in the response as well.</p>
<p>If you want to see how it works, feel free to <a href="http://www.dynamicscrmtrickbag.com/request-content" target="_self">fill out this form</a>, and I&#8217;ll get immediately back to you with a responsive auto-responder, attached workflow and all!</p>
<p>Richard</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dynamicscrmtrickbag.com/2009/04/23/auto-responders/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Q&amp;A: Can I Populate Information from a Lead to a converted Opportunity</title>
		<link>http://www.dynamicscrmtrickbag.com/2009/03/20/qa-can-i-populate-information-from-a-lead-to-a-converted-opportunity/</link>
		<comments>http://www.dynamicscrmtrickbag.com/2009/03/20/qa-can-i-populate-information-from-a-lead-to-a-converted-opportunity/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 20:41:39 +0000</pubDate>
		<dc:creator>Richard Knudson</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[Dynamics CRM Workflows]]></category>

		<guid isPermaLink="false">http://www.dynamicscrmtrickbag.com/?p=284</guid>
		<description><![CDATA[Question: When I convert a Lead record into an Opportunity, I&#8217;ve noticed that CRM associates the Opportunity with the Lead with the &#8216;Regarding&#8217; field, so I can access the information about the Account or Contact (customer) by clicking the link. But what if I want quicker access to information about the customer? Is there some [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: small;"><strong>Question: </strong>When I convert a Lead record into an Opportunity, I&#8217;ve noticed that CRM associates the Opportunity with the Lead with the &#8216;Regarding&#8217; field, so I can access the information about the Account or Contact (customer) by clicking the link. But what if I want quicker access to information about the customer? Is there some kind of way I can populate information from the Lead record directly onto the Opportunity record?</span></p>
<p><span style="font-size: small;"><strong>Answer: </strong>You can definitely do this, but as usual, there are at least a couple of options. First, start by creating an automatic workflow on the Create trigger for the Opportunity entity. Make the first action a Check Condition, and note that for the Opportunity entity, there&#8217;s a very handy related entity called &#8216;Originating Lead&#8217; &#8212; this is exactly what you want for the scenario you described, since it will let you check to see whether the Opportunity just created was created by using the Convert action from a Lead record, or &#8216;from scratch&#8217; (with no originating Lead record). </span></p>
<p><span style="font-size: small;">So what I would do is create that conditional logic, and only if the Originating Lead record&#8217;s Topic contains data (Topic is required for Lead, so this will always work), then fill in the fields on Opportunity from their values on the Lead record, which will be accessible from the workflow. </span></p>
<p><span style="font-size: small;">One caveat: I&#8217;d advise against creating custom attributes in the Opportunity entity to hold these values, since they already exist elsewhere in your CRM (on the Contact or Account records), and it could be confusing to users since they won&#8217;t be in synch if changes are made in one place or the other. What I would do is use the Opportunity record&#8217;s &#8216;Description&#8217; field, and put some text in there describing what information you&#8217;re showing them, and then include the fields from the Lead record using Dynamic Values in the workflow UI. </span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dynamicscrmtrickbag.com/2009/03/20/qa-can-i-populate-information-from-a-lead-to-a-converted-opportunity/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CRM 4 Exam Prep: Customization and Configuration (Exam 631)</title>
		<link>http://www.dynamicscrmtrickbag.com/2009/03/14/the-dynamics-crm-customization-platform-and-exam-30-631/</link>
		<comments>http://www.dynamicscrmtrickbag.com/2009/03/14/the-dynamics-crm-customization-platform-and-exam-30-631/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 12:58:31 +0000</pubDate>
		<dc:creator>Richard Knudson</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[Training and Certification]]></category>
		<category><![CDATA[exam 631]]></category>

		<guid isPermaLink="false">http://www.dynamicscrmtrickbag.com/?p=181</guid>
		<description><![CDATA[Dynamics CRM 4.0 is a great CRM. It&#8217;s got great integration with Outlook, is available in both hosted and on-premise versions, and has excellent out of the box support for the primary &#8220;CRM&#8221; scenarios: sales, marketing, service management, service scheduling. The hosted (&#8221;CRM Online&#8221;) version even has a very nice new implementation of Internet Marketing [...]]]></description>
			<content:encoded><![CDATA[<p>Dynamics CRM 4.0 is a great CRM. It&#8217;s got great integration with Outlook, is available in both hosted and on-premise versions, and has excellent out of the box support for the primary &#8220;CRM&#8221; scenarios: sales, marketing, service management, service scheduling. The hosted (&#8221;CRM Online&#8221;) version even has a very nice new implementation of Internet Marketing features!</p>
<p>In my opinion, however, the most exciting role for Dynamics CRM is as a &#8220;customization platform&#8221;. Recently we&#8217;ve started to see people referring to it as &#8220;XRM&#8221;, with the &#8220;X&#8221; indicating its adaptibility to any line of business application area. Essentially, if you need to build a database application and use the Internet as your delivery platform, you should consider Dynamics CRM as your app foundation.</p>
<p>I&#8217;m excited about the next release; I think Microsoft is really going to push this XRM concept, and make the platform both easier and more powerfully extensible. But in the meantime, we&#8217;ve got the 4.0 release, and if you are new to customizing CRM, or if you need to pass the <a title="MS Exam 30-631" href="http://www.microsoft.com/learning/en/us/exams/dynamics/631.mspx" target="_blank">Dynamics CRM 4.0 Customization and Configuration exam (30-631), </a>here are a couple sample videos I&#8217;ve recorded on the topics:</p>
<ul>
<li>Core customization topics. Watch this video for <a title="customization core concepts" href="http://crm.magenium.com/images/stories/videos/Customization_1_3.wmv" target="_blank">Dynamics CRM 4.0 core customization concepts</a>. This is a good 30-minute (or so) overview of the various ways you can customize Dynamics CRM: form and view customizations, entity and attribute customizations, entity relationships and mappings, workflows, .NET extensions.</li>
<li>Here&#8217;s a detailed (and longer!) video that covers <a title="Business Units, Users and Security Roles" href="http://crm.magenium.com/images/stories/videos/cus_bu/BusinessUnitsSecurity.html" target="_blank">configuration topics </a>(business units, users, security roles). Even though they aren&#8217;t really customization topics, per se, you really do need to understand them to be an effective customizer of Dynamics CRM. The first 10 minutes covers program-related information, so you can skip that if you want to go directly to the meat of the content!</li>
<li>Read this <a title="Status and Status Reason Values in CRM" href="http://rc.crm.dynamics.com/rc/regcont/en_us/op/articles/statestatus.aspx" target="_blank">article on Status and Status Reason values</a> on the MS Dynamics CRM Resource Center, and then save it to your Favorites for a reference. Having this link handy has saved me lots of time over the years, and if you need to customize CRM, you&#8217;ll find it useful too!</li>
</ul>
<p><a title="Relationships" href="http://www.imginc.com/Media%20Library/Dynamics%20CRM/Dynamics%20CRM%204.0/08.05.2008%20Recorded%20E-Live%20Sessions/08.07.08%20PM%20Customization%20Session%202,%20Part%202.wmv" target="_blank"></a></p>
<p>And finally, if you really DO want to take the exam, click this link for a <a title="631 assessment walk-through" href="http://crm.magenium.com/images/stories/videos/custom/customizations_1.wmv" target="_blank">walk-through of a 631 practice test</a>, with commentary (from me). These practice tests were posted on Microsoft.com/learning for a while, but I think they took them down &#8212; at least I can&#8217;t find them. (If you ever find them, please let me know where they are! )</p>
<p>And even more finally, here&#8217;s the <a href="http://crm.magenium.com/images/stories/assessments_f/customization_assessment_f.htm" target="_blank">practice test</a> I wrote for the CRM 4.0 customization &amp; configuration exam. Enjoy!</p>
<p>I hope you found this useful; and if you do take the exam, good luck!</p>
<p>Richard</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dynamicscrmtrickbag.com/2009/03/14/the-dynamics-crm-customization-platform-and-exam-30-631/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
<enclosure url="http://crm.magenium.com/images/stories/videos/Customization_1_3.wmv" length="11359790" type="video/x-ms-wmv" />
<enclosure url="http://crm.magenium.com/images/stories/videos/custom/customizations_1.wmv" length="14719933" type="video/x-ms-wmv" />
		</item>
		<item>
		<title>Entity Relationships in Dynamics CRM 4</title>
		<link>http://www.dynamicscrmtrickbag.com/2008/09/01/entity-relationships-in-dynamics-crm-4/</link>
		<comments>http://www.dynamicscrmtrickbag.com/2008/09/01/entity-relationships-in-dynamics-crm-4/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 00:22:11 +0000</pubDate>
		<dc:creator>Richard Knudson</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[entity relationships]]></category>
		<category><![CDATA[exam 632]]></category>

		<guid isPermaLink="false">http://www.dynamicscrmtrickbag.com/?p=73</guid>
		<description><![CDATA[Dynamics CRM 3.0 was a good platform for building custom database applications. I realize that not everybody thinks of a CRM that way, but if you need to customize a CRM, and if your CRM stores its data in SQL Server like Dynamics does, it&#8217;s an important point.
 
Anyway, as good as CRM 3.0 was, the [...]]]></description>
			<content:encoded><![CDATA[<div>Dynamics CRM 3.0 was a good platform for building custom database applications. I realize that not everybody thinks of a CRM that way, but if you need to customize a CRM, and if your CRM stores its data in SQL Server like Dynamics does, it&#8217;s an important point.</div>
<div> </div>
<div>Anyway, as good as CRM 3.0 was, the current 4.0 release adds some important improvements that might sound a little geeky at first, but actually solve some important and common business problems.</div>
<div> </div>
<div>Here is a troika of videos on the three major improvements, and I hope you like them:</div>
<div> </div>
<div><strong><span style="color: #000080;">Self-referential Relatonships</span></strong></div>
<div>While this is probably the geekiest-sounding of the 3, it might be the most useful. Basically, this lets you create a relationship (one to many) between an entity and itself. This lets you create parent-child hierarchy relationships between records. For example, a Case record might be the parent record of other cases; an Opportunity might have child opportunities associated with it.  Of course, once you&#8217;ve got this set up you can reporting and querying to see all of the relationships between existing records; but there&#8217;s another scenario where it&#8217;s even more useful: if you combine it with field &#8220;mapping&#8221;, you can have a nice simple approach to &#8220;cloning&#8221; records. Cloning refers to making a copy of a record in CRM &#8212; in 3.0 you needed code to accomplish this but if you combine a self-referential relationship with field mapping, you get this for free in the 4.0 version.</div>
<p>Here&#8217;s a recording I made on self-referential relationships in Dynamics CRM 4.0. This is a good example of how to use the relationship feature to get the &#8220;cloning&#8221; function I just mentioned:<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/y-Buf4d6VL4&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/y-Buf4d6VL4&amp;hl=en_US&amp;fs=1&amp;" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<div><strong><span style="color: #0000ff;">System to System Relationships</span></strong></div>
<div>In CRM 3.0, you couldn&#8217;t create a new custom relationship between out of the box entities such as Account, Contact, Opportunity, Lead, etc. Basically, the idea was that any relationship you needed between these so-called &#8220;system&#8221; entities was created by the product team. In 4.0 this restriction is lifted and it&#8217;s an important improvement.</div>
<div> </div>
<div>In this recording, I show an example where you create new relationships between the User and Account entities, to implement a kind of a team approach for account management.</div>
<div><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/_VW1ij2f0XA&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="385" src="http://www.youtube.com/v/_VW1ij2f0XA&amp;hl=en_US&amp;fs=1&amp;" allowfullscreen="true" allowscriptaccess="always"></embed></object> </div>
<div><span style="font-size: x-small; color: #3366ff;"><strong>Many to Many Relationships</strong></span></div>
<div>If you want a contact to be able to attend many events and an event to be attended by many contacts, you need a many to many relationship. In CRM 3.0, the only way to implement this was with two &#8220;one-to-manies&#8221;, using a so-called intersection entity such as registration. Essentially:</div>
<div> </div>
<div>a 1:N from Contact to Registration</div>
<div>+</div>
<div>a 1:N from Event to Registration</div>
<div>= a N:N between Contact and Event</div>
<div> </div>
<div>Sometimes you need this approach, since the intersection record can contain useful information (like registration status, payment, etc.).</div>
<div> </div>
<div>But sometimes it&#8217;s overkill, and it&#8217;s always more complex than the new &#8220;native&#8221; many to many relationship you can implement in CRM 4.0.  I recorded a fresh video on 5/27/2010 that illustrates the native N:N approach used to model the relationship of contacts to boards of directors. The N:N is between the contact entity and a custom &#8221;board of director&#8221; entity. Depending on your requirements, the native approach may work fine. Or it may not&#8230;anyway, here&#8217;s the video:</div>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/Y5pxSbeEXgg&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/Y5pxSbeEXgg&amp;hl=en&amp;fs=1" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<div>Let me know if you find these helpful!   </div>
]]></content:encoded>
			<wfw:commentRss>http://www.dynamicscrmtrickbag.com/2008/09/01/entity-relationships-in-dynamics-crm-4/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

