<?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>crm.atechnisch.nl &#187; MS CRM 4.0 Customizations</title>
	<atom:link href="http://crm.atechnisch.nl/category/ms-crm-40-customizations/feed/" rel="self" type="application/rss+xml" />
	<link>http://crm.atechnisch.nl</link>
	<description>How to improve Microsoft Dynamics CRM</description>
	<lastBuildDate>Wed, 25 Nov 2009 08:12:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Use Tooltips as Hot Help</title>
		<link>http://crm.atechnisch.nl/2009/07/use-tooltips-as-hot-help/</link>
		<comments>http://crm.atechnisch.nl/2009/07/use-tooltips-as-hot-help/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 11:24:01 +0000</pubDate>
		<dc:creator>Huib Aarts</dc:creator>
				<category><![CDATA[Client Side Scripting]]></category>
		<category><![CDATA[MS CRM 3.0 Application]]></category>
		<category><![CDATA[MS CRM 3.0 Customizations]]></category>
		<category><![CDATA[MS CRM 4.0 Application]]></category>
		<category><![CDATA[MS CRM 4.0 Customizations]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[label]]></category>
		<category><![CDATA[Microsoft Dynamics CRM 4.0]]></category>

		<guid isPermaLink="false">http://crm.atechnisch.nl/?p=137</guid>
		<description><![CDATA[There are multiple ways in MS Dynamics CRM (MS CRM) to help users using the system. Next to training and external guides, the system can also provide information. In the system the help files (on the top right of every screen) can be improved. As you will know this has advantages and disadvantages.
Another option is [...]]]></description>
			<content:encoded><![CDATA[<p>There are multiple ways in MS Dynamics CRM (MS CRM) to help users using the system. Next to training and external guides, the system can also provide information. In the system the help files (on the top right of every screen) can be improved. As you will know this has advantages and disadvantages.</p>
<p>Another option is to improve the tooltips.</p>
<p>The modifying and maintaining of the tooltips will be discussed in this post.</p>
<p>A tooltip is a small box, which contains a brief text message explaining the field. It appears below the label of a field on the MS CRM forms when the pointer of a mouse passes over or rests on that label and which contains a brief text message identifying or explaining the object. When the pointer moves away from the label the tooltip disappears.</p>
<p>Tooltips are available on every field on a MS CRM form. The current tooltips show the text of the label, which, in my opinion, does  not have any benefits. If you can read to label, you can read to tooltip. But the good thing is, we can change the contents of the current tooltips.</p>
<p>At the moment the only restrictions to the tooltips are that only unformatted text can be used and that the total amount of characters is no more than 512.</p>
<p>The onLoad code:</p>
<pre class="brush: plain;">

crmForm.all.new_attribute_c.title = “contents of the tooltip”
</pre>
<p>Example:</p>
<p><a href="http://crm.atechnisch.nl/crm_upload/2009/07/tooltip.gif" target="_blank"><img class="size-full wp-image-143 alignleft" title="tooltip" src="http://crm.atechnisch.nl/crm_upload/2009/07/tooltip.gif" alt="tooltip" width="231" height="96" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://crm.atechnisch.nl/2009/07/use-tooltips-as-hot-help/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Official Technical Microsoft Dynamics CRM 4.0 Documentation available Online</title>
		<link>http://crm.atechnisch.nl/2009/06/official-technical-microsoft-dynamics-crm-4-0-documentation-available-online/</link>
		<comments>http://crm.atechnisch.nl/2009/06/official-technical-microsoft-dynamics-crm-4-0-documentation-available-online/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 06:47:41 +0000</pubDate>
		<dc:creator>Huib Aarts</dc:creator>
				<category><![CDATA[MS CRM 4.0 Application]]></category>
		<category><![CDATA[MS CRM 4.0 Customizations]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[External Information]]></category>
		<category><![CDATA[Microsoft Dynamics CRM 4.0]]></category>

		<guid isPermaLink="false">http://crm.atechnisch.nl/?p=129</guid>
		<description><![CDATA[With the addition of the 3 parts of the implementation guide on Microsoft TechNet, the Dynamics CRM team is a step closer to provide all Technical Microsoft Dynamics CRM 4.0 Documentation online:
Microsoft Dynamics CRM 4.0

Introduction
Planning Guide
Installing Guide
Operating and Maintaining Guide
Microsoft Dynamics CRM SDK
Report Writers Guide
Appendix A: Security Roles and Privileges
Glossary
Technical Articles

]]></description>
			<content:encoded><![CDATA[<p>With the addition of the 3 parts of the implementation guide on Microsoft TechNet, the Dynamics CRM team is a step closer to provide all Technical Microsoft Dynamics CRM 4.0 Documentation online:</p>
<p><a href="http://technet.microsoft.com/en-us/library/bb496811.aspx" target="_blank"><strong>Microsoft Dynamics CRM 4.0</strong></a></p>
<ul>
<li><a href="http://technet.microsoft.com/en-us/library/dd979443.aspx" target="_blank">Introduction</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/dd979440.aspx" target="_blank">Planning Guide</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/dd979441.aspx" target="_blank">Installing Guide</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/dd979442.aspx" target="_blank">Operating and Maintaining Guide</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/bb928212.aspx" target="_blank">Microsoft Dynamics CRM SDK</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/bb955081.aspx" target="_blank">Report Writers Guide</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/bb954998.aspx" target="_blank">Appendix A: Security Roles and Privileges</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/bb928210.aspx" target="_blank">Glossary</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/dd939039.aspx" target="_blank">Technical Articles</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://crm.atechnisch.nl/2009/06/official-technical-microsoft-dynamics-crm-4-0-documentation-available-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make website field clickable</title>
		<link>http://crm.atechnisch.nl/2008/12/make-website-field-clickable/</link>
		<comments>http://crm.atechnisch.nl/2008/12/make-website-field-clickable/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 15:35:34 +0000</pubDate>
		<dc:creator>Huib Aarts</dc:creator>
				<category><![CDATA[Client Side Scripting]]></category>
		<category><![CDATA[MS CRM 3.0 Customizations]]></category>
		<category><![CDATA[MS CRM 4.0 Customizations]]></category>
		<category><![CDATA[clickable]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://crm.atechnisch.nl/2008/12/10/make-website-field-clickable/</guid>
		<description><![CDATA[On the standard contact form the field website is not clickable. You have to copy the url to a browser address bar. This is probably because of the synchronization with outlook.
To make the field clickable on the form you can add the following code to the OnLoad of the Contact form.

/*** make website field clickable***/
//change [...]]]></description>
			<content:encoded><![CDATA[<p>On the standard contact form the field website is not clickable. You have to copy the url to a browser address bar. This is probably because of the synchronization with outlook.<br />
To make the field clickable on the form you can add the following code to the OnLoad of the Contact form.</p>
<pre class="brush: css;">
/*** make website field clickable***/
//change color and make underlined
crmForm.all.websiteurl.style.color = &quot;#0000ff&quot;;
crmForm.all.websiteurl.style.textDecoration = &quot;underline&quot;;
/* Double Click website to Open*/
function CreateURL(WebSite) {
    return function() {
        if (WebSite != null &amp;&amp; WebSite.value.length &gt; 0) {
            var prefix = WebSite.value.substring(5, 0);
            if (prefix == &quot;http:&quot;) {
                window.open(WebSite.value);
            }
            else {
                window.open(&quot;http://&quot; + WebSite.value);
            }
        }
    }
}
crmForm.all.websiteurl.attachEvent('ondblclick', CreateURL(crmForm.all.websiteurl));
</pre>
]]></content:encoded>
			<wfw:commentRss>http://crm.atechnisch.nl/2008/12/make-website-field-clickable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change NavBar into iFrame</title>
		<link>http://crm.atechnisch.nl/2008/10/change-navbar-into-iframe/</link>
		<comments>http://crm.atechnisch.nl/2008/10/change-navbar-into-iframe/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 12:47:05 +0000</pubDate>
		<dc:creator>Huib Aarts</dc:creator>
				<category><![CDATA[Client Side Scripting]]></category>
		<category><![CDATA[MS CRM 4.0 Customizations]]></category>
		<category><![CDATA[iFrame]]></category>
		<category><![CDATA[innerHTML]]></category>
		<category><![CDATA[NavBar]]></category>

		<guid isPermaLink="false">http://crm.atechnisch.nl/2008/10/10/change-navbar-into-iframe/</guid>
		<description><![CDATA[I received a question about how to change the left NavBar into an iFrame.
After some experimentation, I have a solution:

if (document.all.tdAreas != null) {
document.all.tdAreas.parentElement.children[0].innerHTML = &#34;&#60;iFrame src = 'http://crm.atechnisch.nl' height = '100%'&#62;&#34;;
}

This should also work for other parts of the screen in a similar way.
]]></description>
			<content:encoded><![CDATA[<p>I received a question about how to change the left NavBar into an iFrame.<br />
After some experimentation, I have a solution:</p>
<pre class="brush: css;">
if (document.all.tdAreas != null) {
document.all.tdAreas.parentElement.children[0].innerHTML = &quot;&lt;iFrame src = 'http://crm.atechnisch.nl' height = '100%'&gt;&quot;;
}
</pre>
<p>This should also work for other parts of the screen in a similar way.</p>
]]></content:encoded>
			<wfw:commentRss>http://crm.atechnisch.nl/2008/10/change-navbar-into-iframe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hide NavBar</title>
		<link>http://crm.atechnisch.nl/2008/09/hide-navbar/</link>
		<comments>http://crm.atechnisch.nl/2008/09/hide-navbar/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 14:39:05 +0000</pubDate>
		<dc:creator>Huib Aarts</dc:creator>
				<category><![CDATA[MS CRM 3.0 Customizations]]></category>
		<category><![CDATA[MS CRM 4.0 Customizations]]></category>
		<category><![CDATA[element on form]]></category>
		<category><![CDATA[hide]]></category>
		<category><![CDATA[NavBar]]></category>

		<guid isPermaLink="false">http://crm.atechnisch.nl/2008/09/24/hide-navbar/</guid>
		<description><![CDATA[I read a question about how to hide the NavBar of a Form. After searching in my code sample library, I found a solution I used in a iframe. With a little modification it also worked on a regular form.

if (document.all.tdAreas!=null) {
document.all.tdAreas.parentElement.children[0].style.display='none';
document.all.tdAreas.colSpan=2;
}

]]></description>
			<content:encoded><![CDATA[<p>I read a question about how to hide the NavBar of a Form. After searching in my code sample library, I found a solution I used in a iframe. With a little modification it also worked on a regular form.</p>
<pre class="brush: css;">
if (document.all.tdAreas!=null) {
document.all.tdAreas.parentElement.children[0].style.display='none';
document.all.tdAreas.colSpan=2;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://crm.atechnisch.nl/2008/09/hide-navbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hide “Add Existing” buttons</title>
		<link>http://crm.atechnisch.nl/2008/06/hide-%e2%80%9cadd-existing%e2%80%9d-buttons/</link>
		<comments>http://crm.atechnisch.nl/2008/06/hide-%e2%80%9cadd-existing%e2%80%9d-buttons/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 09:00:40 +0000</pubDate>
		<dc:creator>Huib Aarts</dc:creator>
				<category><![CDATA[Client Side Scripting]]></category>
		<category><![CDATA[MS CRM 4.0 Application]]></category>
		<category><![CDATA[MS CRM 4.0 Customizations]]></category>
		<category><![CDATA[Hide “Add Existing” buttons]]></category>

		<guid isPermaLink="false">http://crm.atechnisch.nl/2008/06/11/hide-%e2%80%9cadd-existing%e2%80%9d-buttons/</guid>
		<description><![CDATA[A couple of times a month I read the question on a forum how to hide/disable the “Add Existing” button. Unfortunately nobody comes up with a suitable solution.Within my current project someone asked me the same question. My first reaction was that is not possible within the borders of Microsoft support we have committed ourselves [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="EN-US">A couple of times a month I read the question on a forum how to hide/disable the “Add Existing” button. Unfortunately nobody comes up with a suitable solution.</span><span lang="EN-US">Within my current project someone asked me the same question. My first reaction was that is not possible within the borders of Microsoft support we have committed ourselves to. Some moments later I realized the “Add Existing” button we were talking about was displayed in an iFrame. That is a different story.</span><span lang="EN-US">Based on a previous <a href="http://crm.atechnisch.nl/2008/03/28/hiding-bars-in-iframes/" target="_blank">post</a>, I am able to hide elements in an iFrame and this includes the “Add Existing” button. See picture below (for original form see other <a href="http://crm.atechnisch.nl/2008/03/28/hiding-bars-in-iframes/" target="_blank">post</a>).</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt"><span lang="EN-US"><a href="http://crm.atechnisch.nl/crm_upload/2008/06/add_existing.gif" target="_blank"><img src="http://crm.atechnisch.nl/crm_upload/2008/06/add_existing.gif" border="0" alt="add_existing.gif" width="490" height="396" /></a></span></p>
<p><span lang="EN-US"><span lang="EN-US">The script I added is simple:</span></span></p>
<pre class="brush: jscript;">
//hide the Add Existing button
if (objWindow.document.all._MBtoplocAssocOneToMany4200AccountActivityPointers !=null)
{
objWindow.document.all._MBtoplocAssocOneToMany4200AccountActivityPointers.style.display ='none';
}
</pre>
<p><span lang="EN-US"><span lang="EN-US"> </span><span lang="EN-US">In my previous <a href="http://crm.atechnisch.nl/2008/03/28/hiding-bars-in-iframes/" target="_blank">post</a> you can read how to use it.</span></span></p>
<p><span lang="EN-US"><span lang="EN-US"></span><span lang="EN-US">I know it does not solve the problem of hiding the “Add Existing” button on the Associated views, but in some cases it can be a way out.</span></span><span lang="EN-US"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://crm.atechnisch.nl/2008/06/hide-%e2%80%9cadd-existing%e2%80%9d-buttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hiding bars in iFrames</title>
		<link>http://crm.atechnisch.nl/2008/03/hiding-bars-in-iframes/</link>
		<comments>http://crm.atechnisch.nl/2008/03/hiding-bars-in-iframes/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 12:48:54 +0000</pubDate>
		<dc:creator>Huib Aarts</dc:creator>
				<category><![CDATA[Client Side Scripting]]></category>
		<category><![CDATA[MS CRM 4.0 Customizations]]></category>

		<guid isPermaLink="false">http://crm.atechnisch.nl/2008/03/28/hiding-bars-in-iframes/</guid>
		<description><![CDATA[Showing related entities in an iFrame is well known. Sometimes you only want to show the associated view without all the functionality. For example, if you show the activities associated view in an iFrame you get:

But sometime you only want to show:

This can be achieved by adding a couple of line to your code to [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0cm 0cm 10pt"><span lang="EN-US">Showing related entities in an iFrame is well known. Sometimes you only want to show the associated view without all the functionality. For example, if you show the activities associated view in an iFrame you get:</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt"><span lang="EN-US"><a title="Activities_iFrame01" href="http://crm.atechnisch.nl/crm_upload/2008/03/activities_iframe01.gif" target="_blank"><img src="http://crm.atechnisch.nl/crm_upload/2008/03/activities_iframe01.gif" border="0" alt="Activities_iFrame01" width="490" height="390" /></a></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt"><span lang="EN-US"><span lang="EN-US">But sometime you only want to show:</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt"><span lang="EN-US"><span lang="EN-US"><span lang="EN-US"><a title="Activities_iFrame02" href="http://crm.atechnisch.nl/crm_upload/2008/03/activities_iframe02.gif" target="_blank"><img src="http://crm.atechnisch.nl/crm_upload/2008/03/activities_iframe02.gif" border="0" alt="Activities_iFrame02" width="490" height="390" /></a></span></span></span></p>
<p><span lang="EN-US"><span lang="EN-US"></span></span><span lang="EN-US"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'" lang="EN-US"><span lang="EN-US"><span lang="EN-US">This can be achieved by adding a couple of line to your code to the code for your iFrame:</span></span></span></span><span lang="EN-US"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'" lang="EN-US"><span lang="EN-US">
<pre class="brush: css;">
//hide the Filter bar
if (objWindow.document.all.AppGridFilterSelector!=null) {
objWindow.document.all.AppGridFilterSelector.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[0].style.display='none';
}
//hide the menu bar
if (objWindow.document.all.mnuBar1 !=null) {
objWindow.document.all.mnuBar1.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.style.display='none';
}
</pre>
<p></span></span></span><span lang="EN-US"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'" lang="EN-US"><span lang="EN-US"><span lang="EN-US"><span lang="EN-US"></span><span lang="EN-US">With the rest of the code it becomes like this:</span></span><span lang="EN-US"></p>
<pre class="brush: css;">
//first check if the user is online. If the user is online, than the organization name should be used in the link. Otherwise (if offline) the organisation name should not be used in the link.
if (IsOnline())
{
var org = &quot;/&quot; + ORG_UNIQUE_NAME;
}
else
{
var org = &quot;&quot;;
}
//the first part is to hide the borders
var frameName = 'IFRAME_Activities';
var objFrame = document.getElementById(frameName);
var objWindow = document.frames[frameName];
objFrame.allowTransparency=true;
objFrame.onreadystatechange = function () {
if (objWindow.document.readyState=='complete') {
objWindow.document.body.style.backgroundColor='transparent';
if (objWindow.document.getElementsByTagName('BODY')[0]!=null) {
objWindow.document.getElementsByTagName('BODY')[0].style.padding='0px';
}
if (objWindow.document.getElementsByTagName('TABLE')[0]!=null) {
objWindow.document.getElementsByTagName('TABLE')[0].cellPadding='0';
objWindow.document.getElementsByTagName('TABLE')[0].style.border='0px';
}
}
//hide the Filter bar
if (objWindow.document.all.AppGridFilterSelector!=null) {
objWindow.document.all.AppGridFilterSelector.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[0].style.display='none';
}
//hide the menu bar
if (objWindow.document.all.mnuBar1 !=null) {
objWindow.document.all.mnuBar1.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.style.display='none';
}
}
//setting the contents of the iframe
var navFrame2;
navFrame2 =
document.all.navActivities;
var navWindow = document.frames['IFRAME_Activities_d'];
//and checking if the entity has been saved, nor quick create nor bulk edit is.
if (crmForm.FormType==1  || crmForm.FormType == 5 || crmForm.FormType == 6)
{
document.all.IFRAME_Activities.src=&quot;about:blank&quot;;
}
else
{
if (navFrame2 != null)
{
document.all.IFRAME_Activities.src= org + &quot;/sfa/accts/areas.aspx?oId=&quot; +
crmForm.ObjectId +&quot;&amp;amp;oType=&quot;+crmForm.ObjectTypeCode+&quot;&amp;amp;security=852023&amp;amp;tabSet=areaActivities&quot;;
navFrame2.name = navFrame2.id;
}
else{
alert(&quot;Page Not Found&quot;);
}
}
</pre>
<p></span></span></span></span><span lang="EN-US"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'" lang="EN-US"><span lang="EN-US"></span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://crm.atechnisch.nl/2008/03/hiding-bars-in-iframes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conditional Lookup on Primary Contact of an Account</title>
		<link>http://crm.atechnisch.nl/2008/02/conditional-lookup-on-primary-contact-of-an-account/</link>
		<comments>http://crm.atechnisch.nl/2008/02/conditional-lookup-on-primary-contact-of-an-account/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 14:23:47 +0000</pubDate>
		<dc:creator>Huib Aarts</dc:creator>
				<category><![CDATA[Client Side Scripting]]></category>
		<category><![CDATA[MS CRM 4.0 Customizations]]></category>
		<category><![CDATA[Account]]></category>
		<category><![CDATA[Conditional]]></category>
		<category><![CDATA[Filtered Lookup]]></category>
		<category><![CDATA[Lookup]]></category>
		<category><![CDATA[Primary Contact]]></category>
		<category><![CDATA[replace]]></category>

		<guid isPermaLink="false">http://crm.atechnisch.nl/2008/02/19/conditional-lookup-on-primary-contact-of-an-account/</guid>
		<description><![CDATA[This Post is based on a Post from AdvantageWorks in which a Filtered Lookup between 2 Lookups is described. Hessel Miedema and I created a Version of the Lookup for the Primary Contact of an Account. We used the Account Name as input for the Search Box of the Lookup of the Primary Contact. (Be [...]]]></description>
			<content:encoded><![CDATA[<p align="left">This Post is based on a Post from <a href="http://advantageworks.blogspot.com/2008/02/pseudo-filtered-lookup-dialog-in.html" target="_blank"><strong>AdvantageWorks</strong></a> in which a Filtered Lookup between 2 Lookups is described. Hessel Miedema and I created a Version of the Lookup for the Primary Contact of an Account. We used the Account Name as input for the Search Box of the Lookup of the Primary Contact. (Be aware that your Account Names need to be Unique in this Case).</p>
<p align="left">The main Reason for this Post is that we noticed that the &#8220;&amp;&#8221; character is Not allowed in a URL Request, but is allowed as Search Value. The &#8220;&amp;&#8221; character needs to be replaced by &#8220;%26&#8243; to function properly. A list of characters can be found in the <strong><a title="ASCII Code - The extended ASCII table" href="http://www.ascii-code.com/" target="_blank">The extended ASCII table </a>.</strong></p>
<p align="left">The example we used on the OnLoad of the Account:</p>
<pre class="brush: css;">
crmForm.all.primarycontactid.additionalparams = 'search=' + crmForm.all.name.DataValue.replace(&quot;&amp;&quot;,&quot;%26&quot;).replace(&quot;+&quot;,&quot;%2b&quot;);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://crm.atechnisch.nl/2008/02/conditional-lookup-on-primary-contact-of-an-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Publish Entity after creating Workflow</title>
		<link>http://crm.atechnisch.nl/2008/02/publish-entity-after-creating-workflow/</link>
		<comments>http://crm.atechnisch.nl/2008/02/publish-entity-after-creating-workflow/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 15:13:06 +0000</pubDate>
		<dc:creator>Huib Aarts</dc:creator>
				<category><![CDATA[Client Side Scripting]]></category>
		<category><![CDATA[MS CRM 4.0 Application]]></category>
		<category><![CDATA[MS CRM 4.0 Customizations]]></category>
		<category><![CDATA[Client Side Code]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Microsoft Dynamics CRM 4.0]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://crm.atechnisch.nl/2008/02/15/publish-entity-after-creating-workflow/</guid>
		<description><![CDATA[I have noticed that after publishing a Workflow on an Entity, the custom Client Side Code on the Form of that Entity not always works before publishing the Entity again.
After publishing the Entity everything (including the Workflow) works fine.
]]></description>
			<content:encoded><![CDATA[<p>I have noticed that after publishing a Workflow on an Entity, the custom Client Side Code on the Form of that Entity not always works before publishing the Entity again.<br />
After publishing the Entity everything (including the Workflow) works fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://crm.atechnisch.nl/2008/02/publish-entity-after-creating-workflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DO NOT USE NTEXT</title>
		<link>http://crm.atechnisch.nl/2008/02/do-not-use-ntext/</link>
		<comments>http://crm.atechnisch.nl/2008/02/do-not-use-ntext/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 11:04:27 +0000</pubDate>
		<dc:creator>Huib Aarts</dc:creator>
				<category><![CDATA[MS CRM 3.0 Customizations]]></category>
		<category><![CDATA[MS CRM 4.0 Customizations]]></category>
		<category><![CDATA[attributes]]></category>
		<category><![CDATA[ntext]]></category>

		<guid isPermaLink="false">http://crm.atechnisch.nl/2008/02/08/do-not-use-ntext/</guid>
		<description><![CDATA[Today I learned something new. Not new to the world, but just new to me:
DO NOT USE NTEXT ! 
I don&#8217;t know why it is still possible to create ntext attributes in MS CRM 4.0, but I learned that in the real SQL world they are no longer used. Ok, you may still want to use it for [...]]]></description>
			<content:encoded><![CDATA[<p align="left">Today I learned something new. Not new to the world, but just new to me:<br />
<strong>DO NOT USE NTEXT ! </strong><br />
I don&#8217;t know why it is still possible to create ntext attributes in MS CRM 4.0, but I learned that in the real SQL world they are no longer used. Ok, you may still want to use it for field with more than 4000 characters, but in most crm systems this is not advisable.</p>
<p align="left"><span style="font-size: 8pt; color: #4b4d34; font-family: 'Lucida Sans Unicode'"></span>Quote:<br />
&#8220;<strong>ntext</strong>, <strong>text</strong>, and <strong>image</strong> data types will be removed in a future version of Microsoft SQL Server. Avoid using these data types in new development work, and plan to modify applications that currently use them. Use <a target="_blank" href="http://msdn2.microsoft.com/en-us/library/ms186939.aspx">nvarchar(max)</a>, <a target="_blank" href="http://msdn2.microsoft.com/en-us/library/ms176089.aspx">varchar(max)</a>, and <a target="_blank" href="http://msdn2.microsoft.com/en-us/library/ms188362.aspx">varbinary(max)</a> instead. For more information, see <a target="_blank" href="http://msdn2.microsoft.com/en-us/library/ms178158.aspx">Using Large-Value Data Types</a>.&#8221;<br />
Source: <a target="_blank" href="http://msdn2.microsoft.com/en-us/library/ms187993.aspx">MSDN SQL Server Developer Center</a></p>
]]></content:encoded>
			<wfw:commentRss>http://crm.atechnisch.nl/2008/02/do-not-use-ntext/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
