<?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>Bradley M. Law &#187; CRM 4.0</title>
	<atom:link href="http://bradleymlaw.com/wp/category/crm-40/feed/" rel="self" type="application/rss+xml" />
	<link>http://bradleymlaw.com/wp</link>
	<description>Technology, CRM and Stuff. Thoughts within thoughts...within thoughts.</description>
	<lastBuildDate>Wed, 07 Sep 2011 11:40:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Resolution for &#8220;Invalid User Authentication&#8221; by re-linking a user’s CRM account to Active Directory</title>
		<link>http://bradleymlaw.com/wp/2011/03/24/resolution-for-invalid-user-authentication-by-re-linking-a-user%e2%80%99s-crm-account-to-active-directory/</link>
		<comments>http://bradleymlaw.com/wp/2011/03/24/resolution-for-invalid-user-authentication-by-re-linking-a-user%e2%80%99s-crm-account-to-active-directory/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 12:52:36 +0000</pubDate>
		<dc:creator>bradlaw</dc:creator>
				<category><![CDATA[CRM 4.0]]></category>
		<category><![CDATA[issues/errors]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[Invalid User Authentication]]></category>

		<guid isPermaLink="false">http://bradleymlaw.com/wp/?p=440</guid>
		<description><![CDATA[Resolution for &#8220;Invalid User Authentication&#8221; by re-linking a user’s CRM account to Active Directory]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.customereffective.com/.a/6a00e54fb34b6f88330120a94c8f56970b-pi"><img alt="" src="http://blog.customereffective.com/.a/6a00e54fb34b6f88330120a94c8f56970b-pi" title="Customer Effective Image" class="aligncenter" width="640" height="335" /></a><a href="http://blog.customereffective.com/blog/2010/03/resolution-for-invalid-user-authentication-by-re-linking-a-users-crm-account-to-active-directory.html">Resolution for &#8220;Invalid User Authentication&#8221; by re-linking a user’s CRM account to Active Directory</a><ins datetime="2011-03-24T12:52:50+00:00"></p>
]]></content:encoded>
			<wfw:commentRss>http://bradleymlaw.com/wp/2011/03/24/resolution-for-invalid-user-authentication-by-re-linking-a-user%e2%80%99s-crm-account-to-active-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Field Equal to Another Field</title>
		<link>http://bradleymlaw.com/wp/2010/10/20/setting-field-equal-to-another-field/</link>
		<comments>http://bradleymlaw.com/wp/2010/10/20/setting-field-equal-to-another-field/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 15:12:05 +0000</pubDate>
		<dc:creator>bradlaw</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CRM 4.0]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[customizations]]></category>

		<guid isPermaLink="false">http://bradleymlaw.com/wp/?p=416</guid>
		<description><![CDATA[Sets a normal txt field equal to a lookup field if(crmForm.all.new_projectnameid.DataValue!=null) var applicationname = crmForm.all.new_projectnameid.DataValue[0].name; crmForm.all.new_applicationname.DataValue = applicationname; crmForm.all.new_applicationname.ForceSubmit = true; Sets a text field equal to another text field crmForm.all.new_applicationname=new_name; crmForm.all.new_applicationname.ForceSubmit = true; This ensures a lookup field (project name) is not empty and application is empty (application name) if (crmForm.all.new_projectnameid.DataValue!=null &#38;&#38; crmForm.all.new_applicationname.DataValue==null ) [...]]]></description>
			<content:encoded><![CDATA[<p>Sets a normal txt field equal to a lookup field</p>
<pre class="brush: php; title: ;">
if(crmForm.all.new_projectnameid.DataValue!=null)

var applicationname = crmForm.all.new_projectnameid.DataValue[0].name;
crmForm.all.new_applicationname.DataValue = applicationname;
crmForm.all.new_applicationname.ForceSubmit = true;
</pre>
<p>Sets a text field equal to another text field</p>
<pre class="brush: php; title: ;">
crmForm.all.new_applicationname=new_name;
crmForm.all.new_applicationname.ForceSubmit = true;
</pre>
<p>This ensures a lookup field (project name) is not empty and application is empty (application name)</p>
<pre class="brush: php; title: ;">
if (crmForm.all.new_projectnameid.DataValue!=null &amp;&amp; crmForm.all.new_applicationname.DataValue==null )
{
var applicationname = crmForm.all.new_projectnameid.DataValue[0].name;
crmForm.all.new_applicationname.DataValue = applicationname;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://bradleymlaw.com/wp/2010/10/20/setting-field-equal-to-another-field/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting the Default Date of a form to the current date with Record Creation</title>
		<link>http://bradleymlaw.com/wp/2010/08/16/392/</link>
		<comments>http://bradleymlaw.com/wp/2010/08/16/392/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 13:57:03 +0000</pubDate>
		<dc:creator>bradlaw</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CRM 4.0]]></category>

		<guid isPermaLink="false">http://bradleymlaw.com/wp/?p=392</guid>
		<description><![CDATA[THis script will set the default date of a form, this script is important because it sets the default date only for the Create form and not the update form. Otherwise the onload event will always set the date to the current date, even if its been updated. Credit to Sonomoa Partners. var CRM_FORM_TYPE_CREATE = [...]]]></description>
			<content:encoded><![CDATA[<p>THis script will set the default date of a form, this script is important because it sets the default date only for the Create form and not the update form. Otherwise the onload event will always set the date to the current date, even if its been updated. Credit to <a href="http://www.sonomapartners.com/Services/CRM/microsoftcrm4-formonload-example.aspx">Sonomoa Partners</a>.</p>
<pre class="brush: php; title: ;">
var CRM_FORM_TYPE_CREATE = 1;
var CRM_FORM_TYPE_UPDATE = 2;
switch (crmForm.FormType)
	{
	case CRM_FORM_TYPE_CREATE:
	crmForm.all.new_openddate.DataValue = new Date();
	break;

	case CRM_FORM_TYPE_UPDATE:
	// do nothing
	break;
	}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://bradleymlaw.com/wp/2010/08/16/392/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CRM &#8211; Making field required based on Lookup Value, NOT picklist&#8230;</title>
		<link>http://bradleymlaw.com/wp/2010/07/30/crm-making-field-required-based-on-lookup-value-not-picklist/</link>
		<comments>http://bradleymlaw.com/wp/2010/07/30/crm-making-field-required-based-on-lookup-value-not-picklist/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 15:30:02 +0000</pubDate>
		<dc:creator>bradlaw</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[CRM 4.0]]></category>

		<guid isPermaLink="false">http://bradleymlaw.com/wp/?p=383</guid>
		<description><![CDATA[I posted this question to the CRM Forums here and got some good feedback from Rhett Clinton. if(crmForm.all.new_salesstageid.DataValue != null &#38;&#38; crmForm.all.new_salesstageid.DataValue[0].name != &#34;1&#34;) crmForm.SetFieldReqLevel(&#34;new_projectmanagerid&#34;, 1); else crmForm.SetFieldReqLevel(&#34;new_projectmanagerid&#34;, 0); And here is an example that works with multipe options if(crmForm.all.new_salesstageid.DataValue != null) { switch(crmForm.all.new_salesstageid.DataValue[0].name) { case &#34;1&#34;: case &#34;2&#34;: crmForm.SetFieldReqLevel(&#34;new_projectmanagerid&#34;, 1); break; default: crmForm.SetFieldReqLevel(&#34;new_projectmanagerid&#34;, 0); [...]]]></description>
			<content:encoded><![CDATA[<p>I posted this question to the CRM Forums <a href="http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/26bc01b5-b170-41b1-a6eb-7e630a745002">here </a>and got some good feedback from Rhett Clinton.</p>
<pre class="brush: php; title: ;">
if(crmForm.all.new_salesstageid.DataValue != null &amp;&amp; crmForm.all.new_salesstageid.DataValue[0].name != &quot;1&quot;)
crmForm.SetFieldReqLevel(&quot;new_projectmanagerid&quot;, 1);

else

crmForm.SetFieldReqLevel(&quot;new_projectmanagerid&quot;, 0);
</pre>
<p>And here is an example that works with multipe options</p>
<pre class="brush: php; title: ;">
if(crmForm.all.new_salesstageid.DataValue != null) {

    switch(crmForm.all.new_salesstageid.DataValue[0].name) {
        case &quot;1&quot;:
        case &quot;2&quot;:
            crmForm.SetFieldReqLevel(&quot;new_projectmanagerid&quot;, 1);
            break;
        default:
             crmForm.SetFieldReqLevel(&quot;new_projectmanagerid&quot;, 0);
      break;
    }

}
else
{
    crmForm.SetFieldReqLevel(&quot;new_projectmanagerid&quot;, 0);
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://bradleymlaw.com/wp/2010/07/30/crm-making-field-required-based-on-lookup-value-not-picklist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft White Paper on Security and Authentication in Microsoft Dynamics CRM</title>
		<link>http://bradleymlaw.com/wp/2010/03/24/microsoft-white-paper-on-security-and-authentication-in-microsoft-dynamics-crm/</link>
		<comments>http://bradleymlaw.com/wp/2010/03/24/microsoft-white-paper-on-security-and-authentication-in-microsoft-dynamics-crm/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 14:38:29 +0000</pubDate>
		<dc:creator>bradlaw</dc:creator>
				<category><![CDATA[CRM 4.0]]></category>
		<category><![CDATA[Infrastructure]]></category>

		<guid isPermaLink="false">http://bradleymlaw.com/wp/?p=347</guid>
		<description><![CDATA[Security and Authentication in Microsoft Dynamics CRM: Connectivity and Firewall Port Requirements in On-Premise Deployments This is a great white paper that has come into use for an enterprise solution I am working with on a client site. This document covers Connectivity and Firewall Port Requirements in On-Premise Deployments for Dynamics CRM 4.0. Overview Many [...]]]></description>
			<content:encoded><![CDATA[<p>Security and Authentication in Microsoft Dynamics CRM: Connectivity and Firewall Port Requirements in On-Premise Deployments</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&#038;FamilyID=d06e9b99-2f10-43fd-94b4-8014a8dca9ea">This </a>is a great white paper that has come into use for an enterprise solution I am working with on a client site. This document covers Connectivity and Firewall Port Requirements in On-Premise Deployments for Dynamics CRM 4.0.</p>
<blockquote><p><strong>Overview</strong><br />
Many data centers include firewalls between the end-users and the servers and other integrated systems that support an implementation of Microsoft Dynamics CRM 4.0. This document provides guidance on the connectivity requirements between Microsoft Dynamics CRM 4.0 and other systems to assist readers with proper firewall configuration in customer environments.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://bradleymlaw.com/wp/2010/03/24/microsoft-white-paper-on-security-and-authentication-in-microsoft-dynamics-crm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CRM Concatenate two fields (or more than two)</title>
		<link>http://bradleymlaw.com/wp/2010/03/18/crm-concatenate-two-fields-or-more-than-two/</link>
		<comments>http://bradleymlaw.com/wp/2010/03/18/crm-concatenate-two-fields-or-more-than-two/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 19:42:33 +0000</pubDate>
		<dc:creator>bradlaw</dc:creator>
				<category><![CDATA[Customizations]]></category>

		<guid isPermaLink="false">http://bradleymlaw.com/wp/?p=338</guid>
		<description><![CDATA[Always a good one to remember. crmForm.new_fullname.DataValue = crmForm.new_firstname.DataValue + &#34; &#34; + crmForm.new_lastname.DataValue]]></description>
			<content:encoded><![CDATA[<p>Always a good one to remember.</p>
<pre class="brush: php; title: ;">crmForm.new_fullname.DataValue = crmForm.new_firstname.DataValue + &quot; &quot; + crmForm.new_lastname.DataValue</pre>
]]></content:encoded>
			<wfw:commentRss>http://bradleymlaw.com/wp/2010/03/18/crm-concatenate-two-fields-or-more-than-two/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS6 Compatibility Mode for IIS7</title>
		<link>http://bradleymlaw.com/wp/2010/03/02/iis6-compatibility-mode-for-iis7/</link>
		<comments>http://bradleymlaw.com/wp/2010/03/02/iis6-compatibility-mode-for-iis7/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 19:19:05 +0000</pubDate>
		<dc:creator>bradlaw</dc:creator>
				<category><![CDATA[CRM 4.0]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[II6]]></category>
		<category><![CDATA[IIS 7]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://bradleymlaw.com/wp/?p=331</guid>
		<description><![CDATA[Great article on compatibility between II6 and II7 b y ActiveXperts. http://www.activexperts.com/support/activmonitor/online/ii6metabase/ How to install the IIS 6 Metabase Compatibility components on IIS 7 The ActiveXperts Network Monitor Web Configurator requires that the Windows Server 2008-based or Windows Vista-based computer where you are configuring a Virtual Directory has the IIS 6 Metabase Compatibility components installed. [...]]]></description>
			<content:encoded><![CDATA[<p>Great article on compatibility between II6 and II7 b y ActiveXperts.</p>
<p>http://www.activexperts.com/support/activmonitor/online/ii6metabase/</p>
<blockquote><p>
How to install the IIS 6 Metabase Compatibility components on IIS 7<br />
The ActiveXperts Network Monitor Web Configurator requires that the Windows Server 2008-based or Windows Vista-based computer where you are configuring a Virtual Directory has the IIS 6 Metabase Compatibility components installed. </p>
<p>To install the IIS 6.0 Management Compatibility Components by using the Windows Server 2008 Server Manager </p>
<p>Click Start, click Administrative Tools and then Server Manager.<br />
In the left navigation pane, expand Roles, and then right-click Web Server (IIS) and select Add Role Services.<br />
On the Select Role Services pane, scroll down to IIS 6 Management Compatibility.<br />
Select the check boxes for IIS 6 Metabase Compatibility and IIS 6 Management Console.<br />
Click Next from the Select Role Services pane, and then click Install at the Confirm Installations Selections pane.<br />
Click Close to leave the Add Role Services wizard.<br />
To install the IIS 6.0 Management Compatibility Components by using the Windows Vista Control Panel </p>
<p>Click Start, click Control Panel, click Programs and Features, and then click Turn Windows features on or off.<br />
Open Internet Information Services.<br />
Open Web Management Tools.<br />
Open IIS 6.0 Management Compatibility.<br />
Select the check boxes for IIS 6 Metabase and IIS 6 configuration compatibility and IIS 6 Management Console.<br />
Click OK. </p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://bradleymlaw.com/wp/2010/03/02/iis6-compatibility-mode-for-iis7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to add custom entity in CRM 4.0</title>
		<link>http://bradleymlaw.com/wp/2009/11/20/unable-to-add-custom-entity-in-crm-4-0/</link>
		<comments>http://bradleymlaw.com/wp/2009/11/20/unable-to-add-custom-entity-in-crm-4-0/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 14:50:38 +0000</pubDate>
		<dc:creator>bradlaw</dc:creator>
				<category><![CDATA[issues/errors]]></category>

		<guid isPermaLink="false">http://bradleymlaw.com/wp/?p=321</guid>
		<description><![CDATA[Just had a strange issue on a development server where I was not able to add a new custom entity? After a little research I found the following two articles on this topic. It seems that an old rollup was the cause, in my case a simple IISRESET did the trick however here are the [...]]]></description>
			<content:encoded><![CDATA[<p>Just had a strange issue on a development server where I was not able to add a new custom entity? After a little research I found the following two articles on this topic. It seems that an old rollup was the cause, in my case a simple IISRESET did the trick however here are the two dated links.</p>
<p><a href="http://www.techreplies.com/windows-crm-79/error-when-creating-new-custom-entity-648851/">Techreplies Blog </a><br />
<a href="http://blog.sonomapartners.com/2006/12/microsoft_crm_u.html">Sonoma Partners Blog </a></p>
]]></content:encoded>
			<wfw:commentRss>http://bradleymlaw.com/wp/2009/11/20/unable-to-add-custom-entity-in-crm-4-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hiding System Views CRM 4.0 – David Jennaway’s Codeplex Plug-in</title>
		<link>http://bradleymlaw.com/wp/2009/10/15/hiding-system-views-crm-4-0-%e2%80%93-david-jennaway%e2%80%99s-codeplex-plug-in/</link>
		<comments>http://bradleymlaw.com/wp/2009/10/15/hiding-system-views-crm-4-0-%e2%80%93-david-jennaway%e2%80%99s-codeplex-plug-in/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 19:56:33 +0000</pubDate>
		<dc:creator>bradlaw</dc:creator>
				<category><![CDATA[CRM 4.0]]></category>

		<guid isPermaLink="false">http://bradleymlaw.com/wp/?p=276</guid>
		<description><![CDATA[Hi, I have a CRM client with the pockets to polish the applications to their needs. I, being the semi coder that I am and having little experience with plug-ins searched high and low for a tool to hide the annoying system views that cannot be removed from CRM 4.0. By pur chance I am [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>I have a CRM client with the pockets to polish the applications to their needs. I, being the semi coder that I am and having little experience with plug-ins searched high and low for a tool to hide the annoying system views that cannot be removed from CRM 4.0. By pur chance I am certain the CRM team does not allow CRM 4.0 system views to be unshared as could be done in 3.0.</p>
<p>After locating a few other posts out there in the web I stumbled across the &#8220;lightly documented&#8221; <a href="http://code.msdn.microsoft.com/crm40hidesystemviews">Codeplex Plug-in by David Jennaway</a> completed with source code and compiled code. After annoying the MS Forums (Even David himself jumped in) looking for help I finally got it working and decided to give back by giving some instructions as to the configuration of this Plug-in.</p>
<p>Let&#8217;s begin…</p>
<p>What makes David Jennaway&#8217;s plug-in simply amazing is that it can handle just about any system view you throw at it because a non coder doesn&#8217;t have to configure it with much more than the actual view name. From beginning to end here is how to to get this plug-in working on your CRM server.</p>
<ol>
<li>
<div>Download the following files from Codeplex:</div>
<ol>
<li>David Jennaway&#8217;s <strong>Compiled</strong> &#8220;Hide System Views in CRM 4.0&#8243; Plug-in <a href="http://code.msdn.microsoft.com/crm40hidesystemviews/Release/ProjectReleases.aspx?ReleaseId=1402">here</a>. Alternate here.</li>
</ol>
<p style="margin-left: 18pt"><a href="http://code.msdn.microsoft.com/crm40hidesystemviews/Release/ProjectReleases.aspx?ReleaseId=1402"><img src="http://bradleymlaw.com/wp/wp-content/uploads/2009/10/101509_1956_HidingSyste14.png" border="0" alt="" /></a></p>
<ol>
<li>Download the Plug-in Registration Tool from Codeplex found <a href="http://code.msdn.microsoft.com/crmplugin">here</a>. Alternate version as of this writing here. Installation should be easy, I installed it on my CRM server however a walkthrough is available in the ReadMe file in the zip download.</li>
</ol>
</li>
<li>
<div>Install both parts items:</div>
<ol>
<li>Install the Plug-in registration tool</li>
<li>Unzip the Plug-in (step 1a) into a folder, something like C:\(YOUR DESIRED PATH)\Plug-ins\HideSystemViews</li>
</ol>
</li>
<li>
<div>Register the &#8220;Hide System Views in CRM 4.0&#8243; Plug-in</div>
<ol>
<li>Open the Plug-in registration tool and connect to your CRM server</li>
<li>Once connected select the &#8220;<strong>Register</strong>&#8221; button which opens another box, select &#8220;<strong>Register New Assembly</strong>&#8220;</li>
<li>Within the registration tool select Step #1 and select the path to the &#8220;Hide System Views in CRM 4.0&#8243; Plug-in you chose in my step 2b above.</li>
<li>Within the registration tool Step #2 you should see the Plug-in with a check box to its left.</li>
<li>Within the registration tool Step #3 I chose &#8220;Database&#8221; (not based on any reason other that I like databases)</li>
<li> Within the registration tool click the button at the bottom &#8220;Register Selected Plug-ins&#8221;</li>
<li>
<div>It should look like this</div>
<p><img src="http://bradleymlaw.com/wp/wp-content/uploads/2009/10/101509_1956_HidingSyste24.png" alt="" /></li>
</ol>
</li>
</ol>
<ol>
<li>
<div>If you noticed when you downloaded the compiled plug-in there is a XML files called SampleConfig.xml, this is the excellent method David J. used to tell the plug-in what Views to hide!</div>
<ol>
<li>The key here is that your specifying the entity otc number as in &lt;entity otc=&#8221;1&#8243;&gt;, the &#8220;1&#8243; representing the &#8220;Account&#8221; entity. If you need to hide the view for other items you can get the otc# from your servers SDK by connecting to http:/&lt;crmserver&gt;/sdk/list.aspx and clicking the <img src="http://bradleymlaw.com/wp/wp-content/uploads/2009/10/101509_1956_HidingSyste33.png" alt="" />button for the entity in question. Adjust your xml as necessary then proceed.</li>
</ol>
</li>
</ol>
<pre class="brush: php; title: ;">
  &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
&lt;entities&gt;
&lt;!- Sample configuration data. Entities are identified by the otc attribute, and views by name
  --&gt;
&lt;entity otc=&quot;1&quot;&gt;
  &lt;view&gt;Inactive Accounts&lt;/view&gt;
  &lt;view&gt;Accounts: No Orders in Last 6 Months&lt;/view&gt;
  &lt;/entity&gt;
&lt;entity otc=&quot;4&quot;&gt;
  &lt;view&gt;Leads Opened Last Week&lt;/view&gt;
  &lt;view&gt;Leads Opened This Week&lt;/view&gt;
  &lt;/entity&gt;
  &lt;/entities&gt;</pre>
<ol style="margin-left: 72pt">
<li>Select/Highlight the (Assmbly) Plug-inHideSystemView node</li>
<li>Select the &#8220;<strong>Register</strong>&#8221; button you used above in my step 3b.</li>
<li>This time select &#8220;Register New Step&#8221;</li>
<li>
<div>Fill out the form as follows:</div>
<ol>
<li>Message: RetreiveMultiple</li>
<li>Primary Entity: savedquery</li>
<li>Event Pipeline Stage of Execution: Post Stage</li>
<li>Execution Mode: Synchronous</li>
</ol>
<p style="margin-left: 27pt">Note: the other options can be changes per your wishes…</p>
</li>
<li>Enter your adjusted XML into the top right pane &#8220;Unsecured Configuration (like the SampleConfig.xm file)</li>
<li>Click Update</li>
<li>
<div>It should look like this</div>
<p><img src="http://bradleymlaw.com/wp/wp-content/uploads/2009/10/101509_1956_HidingSyste42.png" alt="" /></li>
</ol>
<ol>
<li>Add a step with that looks just like this screen shot:</li>
<li>
<div>Now the magic, if you noticed when you downloaded the compiled plug-in there is a XML files called SampleConfig.xml, this is the excellent method David J. used to tell the plug-in what Views to hide!</div>
<ol>
<li>
<div>The key here is that your specifying the entity otc number as in &lt;entity otc=&#8221;1&#8243;&gt;, the &#8220;1&#8243; representing the &#8220;Account&#8221; entity. If you need to hide the view for other items you can get the otc# from your servers SDK by connecting to http:/&lt;crmserver&gt;/sdk/list.aspx and clicking the <img src="http://bradleymlaw.com/wp/wp-content/uploads/2009/10/101509_1956_HidingSyste52.png" alt="" />button for the entity in question. You final Step should look something like this!</div>
<p><img src="http://bradleymlaw.com/wp/wp-content/uploads/2009/10/101509_1956_HidingSyste62.png" alt="" /></li>
<li>Verify and your done, your client is happy and you are happier than I was when I needed to use this great plug-in!</li>
</ol>
</li>
<li>Alternate method below! I have not done this one!</li>
</ol>
<p><span id="more-276"></span></p>
<p>An alternate method by <a href="http://www.crowehorwath.com/cs/members/HOFMANNJ.aspx">Jeremy Hofmann</a> with Crowe Horwath that does not even require any Plug-ins is updating the CRM SQL Database, this is obviously unsupported but details can be found <a href="http://www.crowehorwath.com/cs/blogs/crm/archive/2008/01/29/hiding-system-views-in-crm-4-0.aspx">here</a>.</p>
<blockquote><p><span style="font-size:10pt">This post describes a customization to CRM 4.0 which is not a supported by Microsoft, Crowe or me but something I needed to find a solution to given a client request.  Please take this into account before attempting to make this change as in most situations you never want to update the CRM database tables directly.  This may cause problems with upgrades and future releases.  However, there are times when your users will demand a system change and you may be forced to take a bit of technical leap to make them happy.<span style="font-family:Times New Roman"><br />
</span></span></p>
<p><span style="font-size:10pt">Hiding system views in CRM 4.0 is one such area.  For example, your implementation may not use the Marketing Campaign entities, and you wish to hide the &#8220;Contacts: No Campaign Activities in Last 3 Months&#8221; system view.<span style="font-family:Times New Roman"><br />
</span></span></p>
<p><span style="font-size:10pt">While there isn&#8217;t a clean way to do this currently using the standard configuration UI, you can force a system view to become a private view through a bit of direct database magic:<span style="font-family:Times New Roman"><br />
</span></span></p>
<p style="margin-left: 18pt"><span style="font-size:12pt">1.</span><span style="font-family:Times New Roman; font-size:7pt"> </span><span style="font-size:10pt">Navigate to the system view.<span style="font-family:Times New Roman"><br />
</span></span></p>
<p style="margin-left: 18pt"><span style="font-size:10pt">2.</span><span style="font-family:Times New Roman; font-size:7pt"> </span><span style="font-size:10pt">Make a change to the view, such as switching the column order.  This will create a new record in the SavedQuery base table with the CustomizationLevel = 1.  Customization = 0 records should never be touched since these are shared across mult-tenant organizations.<span style="font-family:Times New Roman"><br />
</span></span></p>
<p style="margin-left: 18pt"><span style="font-size:10pt">3.</span><span style="font-family:Times New Roman; font-size:7pt"> </span><span style="font-size:10pt">Publish the entity.<span style="font-family:Times New Roman"><br />
</span></span></p>
<p style="margin-left: 18pt"><span style="font-size:10pt">4.</span><span style="font-family:Times New Roman; font-size:7pt"> </span><span style="font-size:10pt">Find the view in the SavedQueryBase table.  There may be several entries, so use the view with the CustomizationLevel equal to 1 that was created earlier.<span style="font-family:Times New Roman"><br />
</span></span></p>
<p style="margin-left: 18pt"><span style="font-size:10pt">5.</span><span style="font-family:Times New Roman; font-size:7pt"> </span><span style="font-size:10pt">Update the record and set the IsPrivate flag to 1.<br />
</span></p>
<p style="margin-left: 18pt">
<p><span style="font-size:12pt"> <span style="font-family:Times New Roman"><br />
</span></span></p>
<pre class="brush: php; title: ;">
UPDATE SavedQueryBase
SET IsPrivate = 1
WHERE [Name] = 'Contacts: No Campaign Activities in Last 3 Months'
AND CustomizationLevel = 1
</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://bradleymlaw.com/wp/2009/10/15/hiding-system-views-crm-4-0-%e2%80%93-david-jennaway%e2%80%99s-codeplex-plug-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developer Ramp up Kit for Microsoft Dynamics CRM 4.0 Published Videos</title>
		<link>http://bradleymlaw.com/wp/2009/10/15/developer-ramp-up-kit-for-microsoft-dynamics-crm-4-0-published-videos/</link>
		<comments>http://bradleymlaw.com/wp/2009/10/15/developer-ramp-up-kit-for-microsoft-dynamics-crm-4-0-published-videos/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 19:02:19 +0000</pubDate>
		<dc:creator>bradlaw</dc:creator>
				<category><![CDATA[CRM 4.0]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://bradleymlaw.com/wp/?p=266</guid>
		<description><![CDATA[Great videos on Microsoft Dynamics CRM 4.0 development. found here. Most appear to be large wmv downloads. Microsoft Corporation July 2008 Summary This article contains links to presentations and labs to help developers use their existing .NET skills to build on top of the Microsoft Dynamics CRM 4.0 platform. Applies To Microsoft Dynamics CRM 4.0 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://msdn.microsoft.com/en-us/library/dd393296.aspx">Great videos on Microsoft Dynamics CRM 4.0 development. </a> found <a href="http://msdn.microsoft.com/en-us/library/dd393296.aspx">here</a>.</p>
<p>Most appear to be large wmv downloads.</p>
<blockquote><p>Microsoft Corporation</p>
<p>July 2008<br />
Summary</p>
<p><a href="http://msdn.microsoft.com/en-us/library/dd393296.aspx">This article</a> contains links to presentations and labs to help developers use their existing .NET skills to build on top of the Microsoft Dynamics CRM 4.0 platform.<br />
Applies To</p>
<p>Microsoft Dynamics CRM 4.0<br />
Introduction</p>
<p>This kit is for .NET-based developers who want to ramp up and build on top of the Microsoft Dynamics CRM platform. Microsoft Dynamics CRM 4.0 uses familiar components such as Web Service endpoints, Windows Workflow Foundation, SSRS reporting, and more; making it a general purpose platform for any line-of-business applications. Developers can use their existing .NET skills to take advantage of various features of the Microsoft Dynamics CRM platform. This kit drills into the details of such development and explains how developers can connect, extend, and embed with the Microsoft Dynamics CRM platform. It includes presentations, hands-on labs and a VPC environment for practicing. This content was delivered earlier as part of the Metro Early Adopter initiative and the video recordings of the ramp-up presentations are included as well. Familiarity with the .NET Framework, Microsoft Visual C#, Microsoft JScript, Microsoft SQL Server and general Web development is recommended.
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://bradleymlaw.com/wp/2009/10/15/developer-ramp-up-kit-for-microsoft-dynamics-crm-4-0-published-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

