<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: How to Default Global Search to &quot;Companies&quot;</title>
	<atom:link href="http://crmarchitect.wordpress.com/2008/05/12/how-to-default-global-search-to-companies/feed/" rel="self" type="application/rss+xml" />
	<link>http://crmarchitect.wordpress.com/2008/05/12/how-to-default-global-search-to-companies/</link>
	<description>Pivotal CRM &#38; .NET Development</description>
	<lastBuildDate>Wed, 11 Feb 2009 09:49:48 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Evert van Veenhuizen</title>
		<link>http://crmarchitect.wordpress.com/2008/05/12/how-to-default-global-search-to-companies/#comment-129</link>
		<dc:creator>Evert van Veenhuizen</dc:creator>
		<pubDate>Wed, 11 Feb 2009 09:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://crmarchitect.wordpress.com/2008/05/12/how-to-default-global-search-to-companies/#comment-129</guid>
		<description>The sample code to set the default Global Search to &#039;Companies&#039; doesn&#039;t work correct. I have made some changes to it to really make it work:

Sub OnPortalLoaded(ParameterList)

    ....

    Dim objInput
    Set objInput = UIMaster.documentMenu.body.getElementsByTagName(&quot;INPUT&quot;)
    If objInput(0).value = &quot;&quot; Then
        objInput(0).select
        objInput(0).defaultValue = &quot;Companies&quot;
        objInput(0).title = &quot;Companies&quot;
        objInput(0).value = &quot;Companies&quot; 
    End If</description>
		<content:encoded><![CDATA[<p>The sample code to set the default Global Search to &#8216;Companies&#8217; doesn&#8217;t work correct. I have made some changes to it to really make it work:</p>
<p>Sub OnPortalLoaded(ParameterList)</p>
<p>    &#8230;.</p>
<p>    Dim objInput<br />
    Set objInput = UIMaster.documentMenu.body.getElementsByTagName(&#8220;INPUT&#8221;)<br />
    If objInput(0).value = &#8220;&#8221; Then<br />
        objInput(0).select<br />
        objInput(0).defaultValue = &#8220;Companies&#8221;<br />
        objInput(0).title = &#8220;Companies&#8221;<br />
        objInput(0).value = &#8220;Companies&#8221;<br />
    End If</p>
]]></content:encoded>
	</item>
</channel>
</rss>
