<?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/"
		>
<channel>
	<title>Comments on: Email AutoComplete (using jQuery)</title>
	<atom:link href="http://sfdc.arrowpointe.com/2011/11/18/email-autocomplete-using-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://sfdc.arrowpointe.com/2011/11/18/email-autocomplete-using-jquery/</link>
	<description>Authored by Scott Hemmeter of Arrowpointe Corp, this blog is written from the perspective of a Salesforce.com solution provider and contains information on Arrowpointe's AppExchange products as well as tips, findings, sample code, functionality wishes, etc.</description>
	<lastBuildDate>Wed, 16 May 2012 17:48:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Scott Hemmeter</title>
		<link>http://sfdc.arrowpointe.com/2011/11/18/email-autocomplete-using-jquery/comment-page-1/#comment-66129</link>
		<dc:creator>Scott Hemmeter</dc:creator>
		<pubDate>Tue, 21 Feb 2012 22:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=930#comment-66129</guid>
		<description>@teejay, the sidebar is the trick to getting the entire bit of code executed at all. If the sidebar is not executed, you can manually execute it in Firebug to make sure it works. Then its a matter of finding a place to put code so that it executes in the console. I&#039;ve never really used the console so I am not sure where to put that.</description>
		<content:encoded><![CDATA[<p>@teejay, the sidebar is the trick to getting the entire bit of code executed at all. If the sidebar is not executed, you can manually execute it in Firebug to make sure it works. Then its a matter of finding a place to put code so that it executes in the console. I&#8217;ve never really used the console so I am not sure where to put that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: teejay</title>
		<link>http://sfdc.arrowpointe.com/2011/11/18/email-autocomplete-using-jquery/comment-page-1/#comment-66128</link>
		<dc:creator>teejay</dc:creator>
		<pubDate>Tue, 21 Feb 2012 20:42:42 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=930#comment-66128</guid>
		<description>I had already modified the code to work on some different fields, using firebug to find the id of the field. However when the email edit page is shown in the cloud console it seems to be wrapped in an iframe which prevents firebug from finding the id for the field. Also the javascript in the sidebar probably doesnt work in the cloud console as the url in the addressbar never seems to change. In fact with the cloud console  I&#039;m asking myself if the javascript in the sidebar still works at all, as there is no option to display the sidebar. ...</description>
		<content:encoded><![CDATA[<p>I had already modified the code to work on some different fields, using firebug to find the id of the field. However when the email edit page is shown in the cloud console it seems to be wrapped in an iframe which prevents firebug from finding the id for the field. Also the javascript in the sidebar probably doesnt work in the cloud console as the url in the addressbar never seems to change. In fact with the cloud console  I&#8217;m asking myself if the javascript in the sidebar still works at all, as there is no option to display the sidebar. &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Hemmeter</title>
		<link>http://sfdc.arrowpointe.com/2011/11/18/email-autocomplete-using-jquery/comment-page-1/#comment-66126</link>
		<dc:creator>Scott Hemmeter</dc:creator>
		<pubDate>Tue, 21 Feb 2012 16:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=930#comment-66126</guid>
		<description>@teejay, there are a few hardcoded areas in the code. You&#039;ll need to look into the equivalents in the console. In the sidebar code, it has an IF statement checking on the URL so it only runs on the right pages. You&#039;d need to include the URL of the console into that mix. In the main JavaScript, you&#039;ll need to do more elems.push statements to include the IDs of the fields you want auto-complete on so that code actually applies autoComplete to those. 

The solution I did is pretty hardcoded to the current pages and needs to be modified if Salesforce changes the UI or you want it on new pages.</description>
		<content:encoded><![CDATA[<p>@teejay, there are a few hardcoded areas in the code. You&#8217;ll need to look into the equivalents in the console. In the sidebar code, it has an IF statement checking on the URL so it only runs on the right pages. You&#8217;d need to include the URL of the console into that mix. In the main JavaScript, you&#8217;ll need to do more elems.push statements to include the IDs of the fields you want auto-complete on so that code actually applies autoComplete to those. </p>
<p>The solution I did is pretty hardcoded to the current pages and needs to be modified if Salesforce changes the UI or you want it on new pages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: teejay</title>
		<link>http://sfdc.arrowpointe.com/2011/11/18/email-autocomplete-using-jquery/comment-page-1/#comment-66125</link>
		<dc:creator>teejay</dc:creator>
		<pubDate>Tue, 21 Feb 2012 15:58:12 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=930#comment-66125</guid>
		<description>This is great stuff! I got this working on my org, however it won&#039;t work when using the new customer service console! Any ideas how to get it working?</description>
		<content:encoded><![CDATA[<p>This is great stuff! I got this working on my org, however it won&#8217;t work when using the new customer service console! Any ideas how to get it working?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Hemmeter</title>
		<link>http://sfdc.arrowpointe.com/2011/11/18/email-autocomplete-using-jquery/comment-page-1/#comment-65750</link>
		<dc:creator>Scott Hemmeter</dc:creator>
		<pubDate>Mon, 28 Nov 2011 15:40:23 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=930#comment-65750</guid>
		<description>I updated the code in the post on 11/28 to add a small bit of code to the autocomplete&#039;s &quot;focus&quot; event. Without this, the value in the email field gets overwritten when the items are navigated with the keyboard.</description>
		<content:encoded><![CDATA[<p>I updated the code in the post on 11/28 to add a small bit of code to the autocomplete&#8217;s &#8220;focus&#8221; event. Without this, the value in the email field gets overwritten when the items are navigated with the keyboard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Force Feed 11-21-2011 &#124; Force Architects: Delivered Innovation Blog</title>
		<link>http://sfdc.arrowpointe.com/2011/11/18/email-autocomplete-using-jquery/comment-page-1/#comment-65737</link>
		<dc:creator>Force Feed 11-21-2011 &#124; Force Architects: Delivered Innovation Blog</dc:creator>
		<pubDate>Mon, 21 Nov 2011 18:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=930#comment-65737</guid>
		<description>[...] Email AutoComplete (using jQuery) @arrowpointe Q&amp;A for using Email to Case Premium email application. [...]</description>
		<content:encoded><![CDATA[<p>[...] Email AutoComplete (using jQuery) @arrowpointe Q&amp;A for using Email to Case Premium email application. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Hemmeter</title>
		<link>http://sfdc.arrowpointe.com/2011/11/18/email-autocomplete-using-jquery/comment-page-1/#comment-65728</link>
		<dc:creator>Scott Hemmeter</dc:creator>
		<pubDate>Sat, 19 Nov 2011 19:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=930#comment-65728</guid>
		<description>@andrew yes, the solution is pretty hardcoded, but easy to manage for a Dev if they choose to. Is Salesforce considering stopping script injection like this? If so, what would stop a browser extension or greasemonkey script from doing the same thing?</description>
		<content:encoded><![CDATA[<p>@andrew yes, the solution is pretty hardcoded, but easy to manage for a Dev if they choose to. Is Salesforce considering stopping script injection like this? If so, what would stop a browser extension or greasemonkey script from doing the same thing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Waite</title>
		<link>http://sfdc.arrowpointe.com/2011/11/18/email-autocomplete-using-jquery/comment-page-1/#comment-65727</link>
		<dc:creator>Andrew Waite</dc:creator>
		<pubDate>Sat, 19 Nov 2011 18:50:04 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=930#comment-65727</guid>
		<description>Please keep in mind this solution is subject to breakage whenever there is a change to the standard salesforce UI, this partner&#039;s UI implementation or the ability to inject script.</description>
		<content:encoded><![CDATA[<p>Please keep in mind this solution is subject to breakage whenever there is a change to the standard salesforce UI, this partner&#8217;s UI implementation or the ability to inject script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Hemmeter</title>
		<link>http://sfdc.arrowpointe.com/2011/11/18/email-autocomplete-using-jquery/comment-page-1/#comment-65722</link>
		<dc:creator>Scott Hemmeter</dc:creator>
		<pubDate>Fri, 18 Nov 2011 22:43:38 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=930#comment-65722</guid>
		<description>@Daniel, in this situation I am trying to add auto-complete onto someone else&#039;s work. In one case, it&#039;s the standard Salesforce pages. In another it&#039;s an AppExchange app that is managed and whose page is locked down.  This solution is acting more like a greasemonkey script where it modifies someone else&#039;s app pages.</description>
		<content:encoded><![CDATA[<p>@Daniel, in this situation I am trying to add auto-complete onto someone else&#8217;s work. In one case, it&#8217;s the standard Salesforce pages. In another it&#8217;s an AppExchange app that is managed and whose page is locked down.  This solution is acting more like a greasemonkey script where it modifies someone else&#8217;s app pages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Hoechst</title>
		<link>http://sfdc.arrowpointe.com/2011/11/18/email-autocomplete-using-jquery/comment-page-1/#comment-65721</link>
		<dc:creator>Daniel Hoechst</dc:creator>
		<pubDate>Fri, 18 Nov 2011 21:54:12 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=930#comment-65721</guid>
		<description>That&#039;s some nice JavaScript trickery! Definitely tucking this away for future reference. I&#039;m glad my post on autocomplete helped and thanks for the mention. Does JavaScript remoting not work in this situation because of the managed package? On the one hand, it is nice to have it all in JavaScript, but then you can&#039;t write tests to make sure everything works from release to release.

I&#039;ve also found that with my blog posts with pure JavaScript, people have a real hard time debugging problems since there is no compile at page save to catch problems.</description>
		<content:encoded><![CDATA[<p>That&#8217;s some nice JavaScript trickery! Definitely tucking this away for future reference. I&#8217;m glad my post on autocomplete helped and thanks for the mention. Does JavaScript remoting not work in this situation because of the managed package? On the one hand, it is nice to have it all in JavaScript, but then you can&#8217;t write tests to make sure everything works from release to release.</p>
<p>I&#8217;ve also found that with my blog posts with pure JavaScript, people have a real hard time debugging problems since there is no compile at page save to catch problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Ross</title>
		<link>http://sfdc.arrowpointe.com/2011/11/18/email-autocomplete-using-jquery/comment-page-1/#comment-65720</link>
		<dc:creator>Jeremy Ross</dc:creator>
		<pubDate>Fri, 18 Nov 2011 18:59:08 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=930#comment-65720</guid>
		<description>The AJAX toolkit creates the global variable &quot;sforce&quot; and that&#039;s what everyone uses. I think this is only an issue if different versions of the script are loaded; They all use the same global variable name.

I&#039;m also not sure you&#039;re creating your own instance of jQuery. When you use noConflict(), you&#039;ll still be using the same jQuery instance that any scripts that came before you used. If something comes along later and reloads jQuery with a new  tag, it will get its own instance, I think. The fact that you&#039;ve used noConflict() is what really matters here.</description>
		<content:encoded><![CDATA[<p>The AJAX toolkit creates the global variable &#8220;sforce&#8221; and that&#8217;s what everyone uses. I think this is only an issue if different versions of the script are loaded; They all use the same global variable name.</p>
<p>I&#8217;m also not sure you&#8217;re creating your own instance of jQuery. When you use noConflict(), you&#8217;ll still be using the same jQuery instance that any scripts that came before you used. If something comes along later and reloads jQuery with a new  tag, it will get its own instance, I think. The fact that you&#8217;ve used noConflict() is what really matters here.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

