<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for X-Squared On-Demand</title>
	
	<link>http://www.x2od.com</link>
	<description>Salesforce Configuration, Administration, and Development</description>
	<lastBuildDate>Thu, 16 Jul 2009 14:50:22 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/x2od_comments" type="application/rss+xml" /><item>
		<title>Comment on Standard Checkbox Images by Checkbox Formula Field in Visualforce : X-Squared On-Demand</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/vAXVqRpi0rw/comment-page-1</link>
		<dc:creator>Checkbox Formula Field in Visualforce : X-Squared On-Demand</dc:creator>
		<pubDate>Thu, 16 Jul 2009 14:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=520#comment-4935</guid>
		<description>[...] keeping with the theme of checkboxes and formulas, we provide an easy way to create a checkbox formula field using Visualforce: the [...]</description>
		<content:encoded><![CDATA[<p>[...] keeping with the theme of checkboxes and formulas, we provide an easy way to create a checkbox formula field using Visualforce: the [...]</p>

<p><a href="http://feedads.g.doubleclick.net/~a/rwVc0wrHJcHlGHNdbqtfUnsBVRU/0/da"><img src="http://feedads.g.doubleclick.net/~a/rwVc0wrHJcHlGHNdbqtfUnsBVRU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/rwVc0wrHJcHlGHNdbqtfUnsBVRU/1/da"><img src="http://feedads.g.doubleclick.net/~a/rwVc0wrHJcHlGHNdbqtfUnsBVRU/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=vAXVqRpi0rw:7frad5LsxBk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=vAXVqRpi0rw:7frad5LsxBk:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/vAXVqRpi0rw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/05/11/standard-checkbox-images.html/comment-page-1#comment-4935</feedburner:origLink></item>
	<item>
		<title>Comment on Email Inbox Version 2 by Jeff Douglas</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/ZH2hKNPiPso/comment-page-1</link>
		<dc:creator>Jeff Douglas</dc:creator>
		<pubDate>Thu, 16 Jul 2009 10:19:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=664#comment-4927</guid>
		<description>Oh Snap!!! Excellent work!! Very impressive.</description>
		<content:encoded><![CDATA[<p>Oh Snap!!! Excellent work!! Very impressive.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/s3TQTshB_7I0xDW5knHJc2aQrt4/0/da"><img src="http://feedads.g.doubleclick.net/~a/s3TQTshB_7I0xDW5knHJc2aQrt4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/s3TQTshB_7I0xDW5knHJc2aQrt4/1/da"><img src="http://feedads.g.doubleclick.net/~a/s3TQTshB_7I0xDW5knHJc2aQrt4/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=ZH2hKNPiPso:2bPtC6t7GD4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=ZH2hKNPiPso:2bPtC6t7GD4:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/ZH2hKNPiPso" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/07/15/email-inbox-version-2.html/comment-page-1#comment-4927</feedburner:origLink></item>
	<item>
		<title>Comment on Visualforce Email Inbox by Email Inbox Version 2 : X-Squared On-Demand</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/tW551ypEHfc/comment-page-1</link>
		<dc:creator>Email Inbox Version 2 : X-Squared On-Demand</dc:creator>
		<pubDate>Thu, 16 Jul 2009 01:41:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=642#comment-4914</guid>
		<description>[...] The Apex controller code has not changed from Version 1. [...]</description>
		<content:encoded><![CDATA[<p>[...] The Apex controller code has not changed from Version 1. [...]</p>

<p><a href="http://feedads.g.doubleclick.net/~a/Tsl8S0b2pKBxEGTqYZ7g1eM_rtw/0/da"><img src="http://feedads.g.doubleclick.net/~a/Tsl8S0b2pKBxEGTqYZ7g1eM_rtw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Tsl8S0b2pKBxEGTqYZ7g1eM_rtw/1/da"><img src="http://feedads.g.doubleclick.net/~a/Tsl8S0b2pKBxEGTqYZ7g1eM_rtw/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=tW551ypEHfc:9VJrLM65yls:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=tW551ypEHfc:9VJrLM65yls:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/tW551ypEHfc" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/07/14/visualforce-email-inbox.html/comment-page-1#comment-4914</feedburner:origLink></item>
	<item>
		<title>Comment on Visualforce Email Inbox by Email Inbox Version 2 : X-Squared On-Demand</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/_kMf1RRU3bE/comment-page-1</link>
		<dc:creator>Email Inbox Version 2 : X-Squared On-Demand</dc:creator>
		<pubDate>Thu, 16 Jul 2009 01:41:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=642#comment-4913</guid>
		<description>[...] The Apex controller code has not changed from Version 1. [...]</description>
		<content:encoded><![CDATA[<p>[...] The Apex controller code has not changed from Version 1. [...]</p>

<p><a href="http://feedads.g.doubleclick.net/~a/bt_yKOHMAlvJpfgUwQc8gqbbdzo/0/da"><img src="http://feedads.g.doubleclick.net/~a/bt_yKOHMAlvJpfgUwQc8gqbbdzo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/bt_yKOHMAlvJpfgUwQc8gqbbdzo/1/da"><img src="http://feedads.g.doubleclick.net/~a/bt_yKOHMAlvJpfgUwQc8gqbbdzo/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=_kMf1RRU3bE:weZ63AVrfGA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=_kMf1RRU3bE:weZ63AVrfGA:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/_kMf1RRU3bE" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/07/14/visualforce-email-inbox.html/comment-page-1#comment-4913</feedburner:origLink></item>
	<item>
		<title>Comment on Visualforce Email Inbox by Kyle Roche</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/oVEP2juyDgY/comment-page-1</link>
		<dc:creator>Kyle Roche</dc:creator>
		<pubDate>Wed, 15 Jul 2009 14:45:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=642#comment-4881</guid>
		<description>Nice job David. I'd be interested in the screenshot / link as well. Good stuff.</description>
		<content:encoded><![CDATA[<p>Nice job David. I&#8217;d be interested in the screenshot / link as well. Good stuff.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/_QXbZkEUrqV9YsoE5qeGAJxxk14/0/da"><img src="http://feedads.g.doubleclick.net/~a/_QXbZkEUrqV9YsoE5qeGAJxxk14/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/_QXbZkEUrqV9YsoE5qeGAJxxk14/1/da"><img src="http://feedads.g.doubleclick.net/~a/_QXbZkEUrqV9YsoE5qeGAJxxk14/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=oVEP2juyDgY:ogxY556MzKw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=oVEP2juyDgY:ogxY556MzKw:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/oVEP2juyDgY" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/07/14/visualforce-email-inbox.html/comment-page-1#comment-4881</feedburner:origLink></item>
	<item>
		<title>Comment on Visualforce Email Inbox by Jon Mountjoy</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/MZmS490nGik/comment-page-1</link>
		<dc:creator>Jon Mountjoy</dc:creator>
		<pubDate>Tue, 14 Jul 2009 18:06:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=642#comment-4825</guid>
		<description>Can you include a screenshot of the app?  How about a link to it running on Sites on a Developer Edition? :-)</description>
		<content:encoded><![CDATA[<p>Can you include a screenshot of the app?  How about a link to it running on Sites on a Developer Edition? :-)</p>

<p><a href="http://feedads.g.doubleclick.net/~a/L1Ysy1BYNKC6JvL-yplDKzpXtJI/0/da"><img src="http://feedads.g.doubleclick.net/~a/L1Ysy1BYNKC6JvL-yplDKzpXtJI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/L1Ysy1BYNKC6JvL-yplDKzpXtJI/1/da"><img src="http://feedads.g.doubleclick.net/~a/L1Ysy1BYNKC6JvL-yplDKzpXtJI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=MZmS490nGik:xtPeN2qYcI0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=MZmS490nGik:xtPeN2qYcI0:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/MZmS490nGik" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/07/14/visualforce-email-inbox.html/comment-page-1#comment-4825</feedburner:origLink></item>
	<item>
		<title>Comment on Convert between Business and Person Accounts (B2B  B2C) by Understanding Business Accounts and Person Accounts - Part 2</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/v7h6AjaRovo/comment-page-1</link>
		<dc:creator>Understanding Business Accounts and Person Accounts - Part 2</dc:creator>
		<pubDate>Wed, 27 May 2009 06:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=169#comment-2854</guid>
		<description>[...] is the code courtesy of David Schach of X2OD.com: {!REQUIRESCRIPT("/soap/ajax/13.0/connection.js")} var AccountObj = new sforce.SObject("Account"); [...]</description>
		<content:encoded><![CDATA[<p>[...] is the code courtesy of David Schach of X2OD.com: {!REQUIRESCRIPT(&#8221;/soap/ajax/13.0/connection.js&#8221;)} var AccountObj = new sforce.SObject(&#8221;Account&#8221;); [...]</p>

<p><a href="http://feedads.g.doubleclick.net/~a/L6Iv8rji888d6IRQJDFQlI80nQY/0/da"><img src="http://feedads.g.doubleclick.net/~a/L6Iv8rji888d6IRQJDFQlI80nQY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/L6Iv8rji888d6IRQJDFQlI80nQY/1/da"><img src="http://feedads.g.doubleclick.net/~a/L6Iv8rji888d6IRQJDFQlI80nQY/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=v7h6AjaRovo:IID7Q2Er0kI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=v7h6AjaRovo:IID7Q2Er0kI:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/v7h6AjaRovo" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2008/08/19/convert-between-business-and-person-accounts-b2b-b2c.html/comment-page-1#comment-2854</feedburner:origLink></item>
	<item>
		<title>Comment on Convert between Business and Person Accounts (B2B  B2C) by Jon Cline</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/_CB5tTz5UQw/comment-page-1</link>
		<dc:creator>Jon Cline</dc:creator>
		<pubDate>Tue, 26 May 2009 21:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=169#comment-2839</guid>
		<description>I'm a huge fan of you right now! :D

This is so much easier than the data loader.

I am working with non-profits who love Person Accounts as it is cumbersome at best to deal with all Donors as B2B accounts with Contacts.</description>
		<content:encoded><![CDATA[<p>I&#8217;m a huge fan of you right now! :D</p>
<p>This is so much easier than the data loader.</p>
<p>I am working with non-profits who love Person Accounts as it is cumbersome at best to deal with all Donors as B2B accounts with Contacts.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/NGu0M_r6rG9Hs_0-iDawBPXD7T4/0/da"><img src="http://feedads.g.doubleclick.net/~a/NGu0M_r6rG9Hs_0-iDawBPXD7T4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/NGu0M_r6rG9Hs_0-iDawBPXD7T4/1/da"><img src="http://feedads.g.doubleclick.net/~a/NGu0M_r6rG9Hs_0-iDawBPXD7T4/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=_CB5tTz5UQw:ueRqJ8YsEAk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=_CB5tTz5UQw:ueRqJ8YsEAk:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/_CB5tTz5UQw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2008/08/19/convert-between-business-and-person-accounts-b2b-b2c.html/comment-page-1#comment-2839</feedburner:origLink></item>
	<item>
		<title>Comment on Pulling Code Out of Triggers by Jeff Douglas</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/zkSo6OF995I/comment-page-1</link>
		<dc:creator>Jeff Douglas</dc:creator>
		<pubDate>Fri, 22 May 2009 21:21:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=583#comment-2678</guid>
		<description>David, thanks for taking my crappy code and making it better. I won't receive a bill will I? I find your reasoning sound and have been refactoring a number of triggers in this same way.</description>
		<content:encoded><![CDATA[<p>David, thanks for taking my crappy code and making it better. I won&#8217;t receive a bill will I? I find your reasoning sound and have been refactoring a number of triggers in this same way.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/_vg9eaqa2OOcEiOhg69bcfEF-fw/0/da"><img src="http://feedads.g.doubleclick.net/~a/_vg9eaqa2OOcEiOhg69bcfEF-fw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/_vg9eaqa2OOcEiOhg69bcfEF-fw/1/da"><img src="http://feedads.g.doubleclick.net/~a/_vg9eaqa2OOcEiOhg69bcfEF-fw/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=zkSo6OF995I:kwtwcjpb4-k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=zkSo6OF995I:kwtwcjpb4-k:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/zkSo6OF995I" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/05/18/pulling-code-out-of-triggers.html/comment-page-1#comment-2678</feedburner:origLink></item>
	<item>
		<title>Comment on Pulling Code Out of Triggers by Dave Manelski</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/58uCzqzZzKw/comment-page-1</link>
		<dc:creator>Dave Manelski</dc:creator>
		<pubDate>Tue, 19 May 2009 01:40:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=583#comment-2510</guid>
		<description>We have a few classes with methods used by multiple triggers.  In lieu of passing the trigger set (sObjects), we've opted for passing primivitive data types only between triggers and classes, purposefully to reduce dependencies.  In your example, I would probably opt for passing a list of strings (for the Ids in the trigger set) and perform a SOQL in the class.

By keeping these dependencies to a minimum, you can easier package code, among other benefits. I've adopted this "best practice" based on observation and advice of more talented coders than myself so I'd be curious to find out how someone with formal computer science training weighs in on this.</description>
		<content:encoded><![CDATA[<p>We have a few classes with methods used by multiple triggers.  In lieu of passing the trigger set (sObjects), we&#8217;ve opted for passing primivitive data types only between triggers and classes, purposefully to reduce dependencies.  In your example, I would probably opt for passing a list of strings (for the Ids in the trigger set) and perform a SOQL in the class.</p>
<p>By keeping these dependencies to a minimum, you can easier package code, among other benefits. I&#8217;ve adopted this &#8220;best practice&#8221; based on observation and advice of more talented coders than myself so I&#8217;d be curious to find out how someone with formal computer science training weighs in on this.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/Hn8j9jF6dFJsdhBI0XUcEJNvxkY/0/da"><img src="http://feedads.g.doubleclick.net/~a/Hn8j9jF6dFJsdhBI0XUcEJNvxkY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Hn8j9jF6dFJsdhBI0XUcEJNvxkY/1/da"><img src="http://feedads.g.doubleclick.net/~a/Hn8j9jF6dFJsdhBI0XUcEJNvxkY/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=58uCzqzZzKw:GkGPMybXS-I:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=58uCzqzZzKw:GkGPMybXS-I:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/58uCzqzZzKw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/05/18/pulling-code-out-of-triggers.html/comment-page-1#comment-2510</feedburner:origLink></item>
	<item>
		<title>Comment on Pulling Code Out of Triggers by David Schach</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/h-j4zxMaNyA/comment-page-1</link>
		<dc:creator>David Schach</dc:creator>
		<pubDate>Mon, 18 May 2009 20:37:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=583#comment-2494</guid>
		<description>I was just thinking about something similar today - with some logic and passing a String parameter, one could use the same class to update a single field to multiple values.  For instance, an opportunity trigger to Account.Type -&gt; Customer if total won opp value is &gt;0, and -&gt; VIP Customer if total won opp value &gt; 250,000.
The possibilities are limitless!</description>
		<content:encoded><![CDATA[<p>I was just thinking about something similar today &#8211; with some logic and passing a String parameter, one could use the same class to update a single field to multiple values.  For instance, an opportunity trigger to Account.Type -&gt; Customer if total won opp value is &gt;0, and -&gt; VIP Customer if total won opp value &gt; 250,000.<br />
The possibilities are limitless!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/H9fIw_tC8laHVP0NDj4s9WuMYfM/0/da"><img src="http://feedads.g.doubleclick.net/~a/H9fIw_tC8laHVP0NDj4s9WuMYfM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/H9fIw_tC8laHVP0NDj4s9WuMYfM/1/da"><img src="http://feedads.g.doubleclick.net/~a/H9fIw_tC8laHVP0NDj4s9WuMYfM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=h-j4zxMaNyA:v3tj7827eDY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=h-j4zxMaNyA:v3tj7827eDY:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/h-j4zxMaNyA" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/05/18/pulling-code-out-of-triggers.html/comment-page-1#comment-2494</feedburner:origLink></item>
	<item>
		<title>Comment on Pulling Code Out of Triggers by Scott Hemmeter</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/Z22jmXhRY7M/comment-page-1</link>
		<dc:creator>Scott Hemmeter</dc:creator>
		<pubDate>Mon, 18 May 2009 20:11:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=583#comment-2491</guid>
		<description>I use this approach with a slight mod.

I have 1 trigger for each object and it fires for all events where I have code.  Example of my Leads trigger below. It's basically what you are suggesting, but it's one common trigger and I add if/thens based upon the event that is firing.

This way there is 1 trigger and 1 class for each object.

trigger Leads on Lead (after insert, after update) {
	
// AFTER INSERT
if(Trigger.isAfter &amp;&amp; Trigger.isInsert){
	Leads l = new Leads();
        l.CreateCampaignMembers(Trigger.new);
}
    
// AFTER UPDATE
if(Trigger.isAfter &amp;&amp; Trigger.isUpdate){
	Leads l = new Leads();
        l.setOpportunityDefaults(Trigger.new, Trigger.oldMap);
        l.transferOpptyFromLeadToAccount(Trigger.new, Trigger.oldMap);
}

}</description>
		<content:encoded><![CDATA[<p>I use this approach with a slight mod.</p>
<p>I have 1 trigger for each object and it fires for all events where I have code.  Example of my Leads trigger below. It&#8217;s basically what you are suggesting, but it&#8217;s one common trigger and I add if/thens based upon the event that is firing.</p>
<p>This way there is 1 trigger and 1 class for each object.</p>
<p>trigger Leads on Lead (after insert, after update) {</p>
<p>// AFTER INSERT<br />
if(Trigger.isAfter &amp;&amp; Trigger.isInsert){<br />
	Leads l = new Leads();<br />
        l.CreateCampaignMembers(Trigger.new);<br />
}</p>
<p>// AFTER UPDATE<br />
if(Trigger.isAfter &amp;&amp; Trigger.isUpdate){<br />
	Leads l = new Leads();<br />
        l.setOpportunityDefaults(Trigger.new, Trigger.oldMap);<br />
        l.transferOpptyFromLeadToAccount(Trigger.new, Trigger.oldMap);<br />
}</p>
<p>}</p>

<p><a href="http://feedads.g.doubleclick.net/~a/3LpFS-T8udne2J3sMZ62Rj0UaTk/0/da"><img src="http://feedads.g.doubleclick.net/~a/3LpFS-T8udne2J3sMZ62Rj0UaTk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/3LpFS-T8udne2J3sMZ62Rj0UaTk/1/da"><img src="http://feedads.g.doubleclick.net/~a/3LpFS-T8udne2J3sMZ62Rj0UaTk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=Z22jmXhRY7M:B0DFkD_wedQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=Z22jmXhRY7M:B0DFkD_wedQ:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/Z22jmXhRY7M" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/05/18/pulling-code-out-of-triggers.html/comment-page-1#comment-2491</feedburner:origLink></item>
	<item>
		<title>Comment on Pulling Code Out of Triggers by Jeremy Ross</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/LsEJucmihKg/comment-page-1</link>
		<dc:creator>Jeremy Ross</dc:creator>
		<pubDate>Mon, 18 May 2009 17:11:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=583#comment-2487</guid>
		<description>I prefer to keep triggers very lean and free of business logic.  I'd probably disagree with commenting your class with which triggers call it, for a few reasons.  1) The class shouldn't know or care who calls it - the beauty of reuse, 2) someone will inevitably create a new client of the class and not update the "users" comment in the class, 3) this is related to 2, which is you'll have a false sense of security of who is using the class.  

The "show dependencies" button on the apex class screen would be infinitely more useful if it would show dependents instead of dependencies.</description>
		<content:encoded><![CDATA[<p>I prefer to keep triggers very lean and free of business logic.  I&#8217;d probably disagree with commenting your class with which triggers call it, for a few reasons.  1) The class shouldn&#8217;t know or care who calls it &#8211; the beauty of reuse, 2) someone will inevitably create a new client of the class and not update the &#8220;users&#8221; comment in the class, 3) this is related to 2, which is you&#8217;ll have a false sense of security of who is using the class.  </p>
<p>The &#8220;show dependencies&#8221; button on the apex class screen would be infinitely more useful if it would show dependents instead of dependencies.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/ZUbEo66qsNMAuYdJ-wxuQa9gSHI/0/da"><img src="http://feedads.g.doubleclick.net/~a/ZUbEo66qsNMAuYdJ-wxuQa9gSHI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ZUbEo66qsNMAuYdJ-wxuQa9gSHI/1/da"><img src="http://feedads.g.doubleclick.net/~a/ZUbEo66qsNMAuYdJ-wxuQa9gSHI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=LsEJucmihKg:QRXC4VUEJM4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=LsEJucmihKg:QRXC4VUEJM4:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/LsEJucmihKg" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/05/18/pulling-code-out-of-triggers.html/comment-page-1#comment-2487</feedburner:origLink></item>
	<item>
		<title>Comment on Standard Checkbox Images by Scott Hemmeter</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/j__51gJOopg/comment-page-1</link>
		<dc:creator>Scott Hemmeter</dc:creator>
		<pubDate>Tue, 12 May 2009 00:30:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=520#comment-2183</guid>
		<description>I don't know how to get that. I just knew this example because I have dealt with it before. What I typically do is look around Salesforce for images I like and use them. Copying them is just fine too.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know how to get that. I just knew this example because I have dealt with it before. What I typically do is look around Salesforce for images I like and use them. Copying them is just fine too.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/utavf_0swIbubpruIU4ehaU3y8g/0/da"><img src="http://feedads.g.doubleclick.net/~a/utavf_0swIbubpruIU4ehaU3y8g/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/utavf_0swIbubpruIU4ehaU3y8g/1/da"><img src="http://feedads.g.doubleclick.net/~a/utavf_0swIbubpruIU4ehaU3y8g/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=j__51gJOopg:ARmLnb4sYnc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=j__51gJOopg:ARmLnb4sYnc:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/j__51gJOopg" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/05/11/standard-checkbox-images.html/comment-page-1#comment-2183</feedburner:origLink></item>
	<item>
		<title>Comment on Dashboards are Improved AND New in Summer 09 by Thomas Tobin</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/ZzXTjOiJ33s/comment-page-1</link>
		<dc:creator>Thomas Tobin</dc:creator>
		<pubDate>Mon, 11 May 2009 23:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=509#comment-2180</guid>
		<description>Using the color-blind palette is a user preference - you set yourself as color-blind, and the alternate palette is used for you when you look at reports and dashboards.
If you are fine with the standard palette, then you just don't need to set the checkbox.
The standard palette was tested on our in-house color-blind guinea pigs and they were mostly ok with it. They felt that the color-blind option was clearer over the range of colors (you can only see the first three in the ramp in the screenshot above).</description>
		<content:encoded><![CDATA[<p>Using the color-blind palette is a user preference &#8211; you set yourself as color-blind, and the alternate palette is used for you when you look at reports and dashboards.<br />
If you are fine with the standard palette, then you just don&#8217;t need to set the checkbox.<br />
The standard palette was tested on our in-house color-blind guinea pigs and they were mostly ok with it. They felt that the color-blind option was clearer over the range of colors (you can only see the first three in the ramp in the screenshot above).</p>

<p><a href="http://feedads.g.doubleclick.net/~a/FH6HauxKPyFkUxzqN5i8CW_fSd8/0/da"><img src="http://feedads.g.doubleclick.net/~a/FH6HauxKPyFkUxzqN5i8CW_fSd8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/FH6HauxKPyFkUxzqN5i8CW_fSd8/1/da"><img src="http://feedads.g.doubleclick.net/~a/FH6HauxKPyFkUxzqN5i8CW_fSd8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=ZzXTjOiJ33s:BAPtXP9KGhg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=ZzXTjOiJ33s:BAPtXP9KGhg:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/ZzXTjOiJ33s" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/05/07/dashboards-are-improved-and-new-in-summer-09.html/comment-page-1#comment-2180</feedburner:origLink></item>
	<item>
		<title>Comment on Standard Checkbox Images by David Schach</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/lLsILPcrDaA/comment-page-1</link>
		<dc:creator>David Schach</dc:creator>
		<pubDate>Mon, 11 May 2009 20:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=520#comment-2176</guid>
		<description>Great point, Scott.  Do you know where we can get a list of the contents of the /img/ and /img/samples/ directories?</description>
		<content:encoded><![CDATA[<p>Great point, Scott.  Do you know where we can get a list of the contents of the /img/ and /img/samples/ directories?</p>

<p><a href="http://feedads.g.doubleclick.net/~a/hRnEvQU1orVdBWmj7X3ngpw4wpk/0/da"><img src="http://feedads.g.doubleclick.net/~a/hRnEvQU1orVdBWmj7X3ngpw4wpk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/hRnEvQU1orVdBWmj7X3ngpw4wpk/1/da"><img src="http://feedads.g.doubleclick.net/~a/hRnEvQU1orVdBWmj7X3ngpw4wpk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=lLsILPcrDaA:A88OkweCcN4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=lLsILPcrDaA:A88OkweCcN4:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/lLsILPcrDaA" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/05/11/standard-checkbox-images.html/comment-page-1#comment-2176</feedburner:origLink></item>
	<item>
		<title>Comment on Standard Checkbox Images by Scott Hemmeter</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/CQwn_No73ic/comment-page-1</link>
		<dc:creator>Scott Hemmeter</dc:creator>
		<pubDate>Mon, 11 May 2009 20:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=520#comment-2173</guid>
		<description>Or use the relative link "/img/checkbox_checked.gif" or "/img/checkbox_unchecked.gif" and don't store them yourself.
And make sure you tell your users that you can’t report on this field being true or false. It’s just for display.</description>
		<content:encoded><![CDATA[<p>Or use the relative link &#8220;/img/checkbox_checked.gif&#8221; or &#8220;/img/checkbox_unchecked.gif&#8221; and don&#8217;t store them yourself.<br />
And make sure you tell your users that you can’t report on this field being true or false. It’s just for display.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/23WqI5eh2AyrB1uL1wjs_uWDeLk/0/da"><img src="http://feedads.g.doubleclick.net/~a/23WqI5eh2AyrB1uL1wjs_uWDeLk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/23WqI5eh2AyrB1uL1wjs_uWDeLk/1/da"><img src="http://feedads.g.doubleclick.net/~a/23WqI5eh2AyrB1uL1wjs_uWDeLk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=CQwn_No73ic:1r3ktGXkSZI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=CQwn_No73ic:1r3ktGXkSZI:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/CQwn_No73ic" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/05/11/standard-checkbox-images.html/comment-page-1#comment-2173</feedburner:origLink></item>
	<item>
		<title>Comment on Dashboards are Improved AND New in Summer 09 by Werewolf</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/B2zTrHd30ng/comment-page-1</link>
		<dc:creator>Werewolf</dc:creator>
		<pubDate>Fri, 08 May 2009 06:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=509#comment-2017</guid>
		<description>The funny thing is that I'm color blind (red-green), and yet the regular color scheme seems easier on my eyes then the color blind scheme.</description>
		<content:encoded><![CDATA[<p>The funny thing is that I&#8217;m color blind (red-green), and yet the regular color scheme seems easier on my eyes then the color blind scheme.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/JVfVDSj-88wd1MbKMyWQluzVL2o/0/da"><img src="http://feedads.g.doubleclick.net/~a/JVfVDSj-88wd1MbKMyWQluzVL2o/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/JVfVDSj-88wd1MbKMyWQluzVL2o/1/da"><img src="http://feedads.g.doubleclick.net/~a/JVfVDSj-88wd1MbKMyWQluzVL2o/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=B2zTrHd30ng:0q7amvDxRts:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=B2zTrHd30ng:0q7amvDxRts:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/B2zTrHd30ng" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/05/07/dashboards-are-improved-and-new-in-summer-09.html/comment-page-1#comment-2017</feedburner:origLink></item>
	<item>
		<title>Comment on Hacking a Case Comment Trigger by Stan</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/mJown3uomUA/comment-page-1</link>
		<dc:creator>Stan</dc:creator>
		<pubDate>Fri, 24 Apr 2009 15:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=477#comment-1414</guid>
		<description>I dropped you the complete code that provides a CaseComment trigger.  In response to your question, you can access the Case Comment (which actually caused the Case trigger) using the ParentId field in the CaseComment object.  It is the Id of the Case record.  The SOQL to get the LMD of the Case Comment is: "CaseComment aCaseComment = [SELECT LastModifiedDate FROM CaseComment WHERE ParentId = :C.Id ORDER BY LastModifiedDate DESC limit 1];".  Get the Case LMD using this: "Case aCase = [SELECT LastModifiedDate FROM Case WHERE Id = :C.Id];".  Then do the comparison: "if (aCaseComment.LastModifiedDate &gt;= aCase.LastModifiedDate)".  Put your code to handle a CaseComment trigger inside that "if" statement.  Be sure your code handles the potential exception where the Case has no Case Comments or your users won't be able to make changes to any of their cases.</description>
		<content:encoded><![CDATA[<p>I dropped you the complete code that provides a CaseComment trigger.  In response to your question, you can access the Case Comment (which actually caused the Case trigger) using the ParentId field in the CaseComment object.  It is the Id of the Case record.  The SOQL to get the LMD of the Case Comment is: &#8220;CaseComment aCaseComment = [SELECT LastModifiedDate FROM CaseComment WHERE ParentId = :C.Id ORDER BY LastModifiedDate DESC limit 1];&#8221;.  Get the Case LMD using this: &#8220;Case aCase = [SELECT LastModifiedDate FROM Case WHERE Id = :C.Id];&#8221;.  Then do the comparison: &#8220;if (aCaseComment.LastModifiedDate &gt;= aCase.LastModifiedDate)&#8221;.  Put your code to handle a CaseComment trigger inside that &#8220;if&#8221; statement.  Be sure your code handles the potential exception where the Case has no Case Comments or your users won&#8217;t be able to make changes to any of their cases.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/EqhWJYa_Kmo-q7P2-H9cbNHsc_o/0/da"><img src="http://feedads.g.doubleclick.net/~a/EqhWJYa_Kmo-q7P2-H9cbNHsc_o/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/EqhWJYa_Kmo-q7P2-H9cbNHsc_o/1/da"><img src="http://feedads.g.doubleclick.net/~a/EqhWJYa_Kmo-q7P2-H9cbNHsc_o/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=mJown3uomUA:eWadKhvis60:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=mJown3uomUA:eWadKhvis60:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/mJown3uomUA" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/04/01/hacking-a-case-comment-trigger.html/comment-page-1#comment-1414</feedburner:origLink></item>
	<item>
		<title>Comment on Hacking a Case Comment Trigger by David Schach</title>
		<link>http://feedproxy.google.com/~r/x2od_comments/~3/nHxA9n6Csh4/comment-page-1</link>
		<dc:creator>David Schach</dc:creator>
		<pubDate>Wed, 22 Apr 2009 21:21:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.x2od.com/?p=477#comment-1351</guid>
		<description>That is an interesting approach, and I can certainly see uses for comparing the LastModifiedDate in other scenarios!
I think I see where you're coming from: Because CaseComment will also execute any Case triggers, you are comparing those dates.  So by editing the Case Comment, it will trigger on the Case.  That's great.  How do you query the LMD of the CaseComment record if the trigger sits on the Case?  I'm having trouble visualizing it; would you like to post your code or send it to me so I can post it with proper formatting?  Feel free to use "Send a File" in the Contact Us section.
Thanks for the comment!</description>
		<content:encoded><![CDATA[<p>That is an interesting approach, and I can certainly see uses for comparing the LastModifiedDate in other scenarios!<br />
I think I see where you&#8217;re coming from: Because CaseComment will also execute any Case triggers, you are comparing those dates.  So by editing the Case Comment, it will trigger on the Case.  That&#8217;s great.  How do you query the LMD of the CaseComment record if the trigger sits on the Case?  I&#8217;m having trouble visualizing it; would you like to post your code or send it to me so I can post it with proper formatting?  Feel free to use &#8220;Send a File&#8221; in the Contact Us section.<br />
Thanks for the comment!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/mhQ6_jSKPieC1Fwu9sG5XJ0CWgg/0/da"><img src="http://feedads.g.doubleclick.net/~a/mhQ6_jSKPieC1Fwu9sG5XJ0CWgg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/mhQ6_jSKPieC1Fwu9sG5XJ0CWgg/1/da"><img src="http://feedads.g.doubleclick.net/~a/mhQ6_jSKPieC1Fwu9sG5XJ0CWgg/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/x2od_comments?a=nHxA9n6Csh4:isdlbxMJZoE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/x2od_comments?a=nHxA9n6Csh4:isdlbxMJZoE:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/x2od_comments?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/x2od_comments/~4/nHxA9n6Csh4" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.x2od.com/2009/04/01/hacking-a-case-comment-trigger.html/comment-page-1#comment-1351</feedburner:origLink></item>
</channel>
</rss><!-- Dynamic page generated in 0.870 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-07-17 07:36:28 -->
