<?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; Hide “Add Existing” buttons</title>
	<atom:link href="http://crm.atechnisch.nl/tag/hide-%e2%80%9cadd-existing%e2%80%9d-buttons/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>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>
	</channel>
</rss>
