<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Salesforce Blog for Interactive Ties by Greg Hacic</title>
		<link>http://www.interactiveties.com/blog</link>
		<description>Tips, tricks and useful information about Salesforce and the Force.com platform.</description>
		<lastBuildDate>Fri, 18 Nov 2011 20:38:26 GMT</lastBuildDate>
		<language>en</language>
		<image>
			<url>http://www.interactiveties.com/img/ilikecows_greghacic.png</url>
			<width>73</width>
			<height>73</height>
		</image>
		<pubDate>Fri, 18 Nov 2011 20:38:26 GMT</pubDate>
		<managingEditor>greg@interactiveties.com (Greg Hacic)</managingEditor>
		<atom:link href="http://www.interactiveties.com/incl/blog.xml" rel="self" type="application/rss+xml" />
		<item>
			<title>Apex Unit Test Tip for Checking Trigger Status</title>
			<link>http://www.interactiveties.com/b_apex_unit_test_tip_02.php</link>
			<description><![CDATA[ <p>Anyone with a lot of Apex code in their production Salesforce org knows that the more code you have the more tedious deploying new code to that org becomes. One of the orgs I work in has some triggers that get turned off and on for reasons that only the business owners understand. As any developer understands turning off a trigger is much easier than an Apex class, which is where we often encounter deployment issues. [<a href="http://www.interactiveties.com/b_apex_unit_test_tip_02.php">Read More...</a>]</p> ]]></description>
			<pubDate>Fri, 18 Nov 2011 20:38:26 GMT</pubDate>
			<guid isPermaLink="true">http://www.interactiveties.com/b_apex_unit_test_tip_02.php</guid>
			<author>greg@interactiveties.com (Greg Hacic)</author>
		</item>
		<item>
			<title>Clone Salesforce Records with a Custom Button</title>
			<link>http://www.interactiveties.com/b_clone_records.php</link>
			<description><![CDATA[ <p>Almost four years ago I wrote the first post for this blog. That post had to do with passing field values in a URL in order to populate those values on an edit page. What's interesting is that the original post still gets a ton of traffic. So I'd like to expand on that topic again in this post and illustrate how you can build on that original logic in order to do something useful. In this case, I want to create a custom button that will clone a User record and remove certain fields so that I don't have to fill out so much information when I create new Users.</p><p>Anyone who is an admin for any larger enterprise knows that creating Users can get tedious and over time there are a number of custom fields that you probably have on your User records. The logic I'll demonstrate here will allow you to save a bit of time the next time you need to create a new User. Or you could just take the information from this post to create a "Clone" button on another object - like Account. Because the Account object doesn't have a standard "Clone" button and that may be useful to you as well. [<a href="http://www.interactiveties.com/b_clone_records.php">Read More...</a>]</p> ]]></description>
			<pubDate>Sat, 13 Aug 2011 14:34:33 GMT</pubDate>
			<guid isPermaLink="true">http://www.interactiveties.com/b_clone_records.php</guid>
			<author>greg@interactiveties.com (Greg Hacic)</author>
		</item>
		<item>
			<title>Apex Code Sample for Calculating the Duration Between Two DateTime Values</title>
			<link>http://www.interactiveties.com/b_apex_time_duration.php</link>
			<description><![CDATA[ <p>I've been developing a lot of batch Apex routines lately. The nature of batch Apex is that it can run whenever resources are available and process many records while being more flexible with platform governor limits. So I might schedule a job to run and it could take anywhere from a few minutes to many hours. Many variables impact the run time of a batch routine. Things like the number of records being processed or platform resource availability.</p><p>It must be my personality but I always like to know when a batch process has completed and I actually like to know how long it ran. Anyone familiar with batch Apex knows that there is a finish method, which is invoked upon completion of the batch logic. Within this method I will configure and send an email to myself with the start and end times of the batch process that finished. [<a href="http://www.interactiveties.com/b_apex_time_duration.php">Read More...</a>]</p> ]]></description>
			<pubDate>Fri, 5 Aug 2011 21:44:56 GMT</pubDate>
			<guid isPermaLink="true">http://www.interactiveties.com/b_apex_time_duration.php</guid>
			<author>greg@interactiveties.com (Greg Hacic)</author>
		</item>
		<item>
			<title>Apex Code Sample Illustrating How to Drop Leading Zeros</title>
			<link>http://www.interactiveties.com/b_apex_drop_leading_zeros.php</link>
			<description><![CDATA[ <p>Here is an example regarding the use of the pattern and matcher methods in an Apex class. For this particular code sample I am using the methods to check a passed text string for the occurrence of leading zeros in the string and removing them when they exist. The code I have written here was actually used on a project where I had to validate that User records contained a valid EmployeeNumber value. And, as you probably know, this particular field is editable by users and is stored as text in the database. Rather than go through the trouble of creating another Number type field on the User object I thought it would be easier and less disruptive to simply check the value when I needed to reference it in any Apex logic. [<a href="http://www.interactiveties.com/b_apex_drop_leading_zeros.php">Read More...</a>]</p> ]]></description>
			<pubDate>Tue, 14 Jun 2011 23:33:54 GMT</pubDate>
			<guid isPermaLink="true">http://www.interactiveties.com/b_apex_drop_leading_zeros.php</guid>
			<author>greg@interactiveties.com (Greg Hacic)</author>
		</item>
		<item>
			<title>Apex Unit Test Tip: Filtering Test Records</title>
			<link>http://www.interactiveties.com/b_apex_unit_test_tip_01.php</link>
			<description><![CDATA[ <p>Today I participated in an online meeting, which discussed some of the &quot;best practices&quot; for testing Apex code, Visualforce pages, etc. One of the topics that was pretty much skipped but came up during the Q&amp;A portion of the meeting was regarding how to ensure that the test code you write refrains from grabbing any actual live production data and only grabs the records created to facilitate the test. They discussed one way to do this but I have another and I thought it could be useful to other developers.</p><p>Depending on your experience you may not think that this is a very important topic. However, those of you that have worked with Enterprise organizations understand that these orgs may have tons and tons of records. For orgs that have millions of records in any given object it may be best to write test code that actually filters the data used within the unit tests so that the test actually completes in a timely manner. This can be especially important for deploying code because test coverage that runs for a long time can cause problems during the deployment process. [<a href="http://www.interactiveties.com/b_apex_unit_test_tip_01.php">Read More...</a>]</p> ]]></description>
			<pubDate>Thu, 31 Mar 2011 00:52:51 GMT</pubDate>
			<guid isPermaLink="true">http://www.interactiveties.com/b_apex_unit_test_tip_01.php</guid>
			<author>greg@interactiveties.com (Greg Hacic)</author>
		</item>
		<item>
			<title>Yahoo! User Interface Library in Visualforce</title>
			<link>http://www.interactiveties.com/b_visualforce_with_yui.php</link>
			<description><![CDATA[ <p>I found this great post/tutorial (Modal Dialogs in Visualforce using the Yahoo! User Interface Library) regarding the use of the Yahoo! User Interface (YUI) Library within Visualforce pages. But what if you work for a business that uses Internet Explorer (IE) as the standard / supported browser across the enterprise? You get the security warnings dialog when accessing the Visualforce page, of course.</p>Other browsers offer warnings to users about accessing secure (https://) and non-secure (http://) items within a secure page but IE seems to be the most disruptive (in my opinion) to the User experience when working with Visualforce. [<a href="http://www.interactiveties.com/b_visualforce_with_yui.php">Read More...</a>]</p> ]]></description>
			<pubDate>Tue, 2 Mar 2011 22:55:32 GMT</pubDate>
			<guid isPermaLink="true">http://www.interactiveties.com/b_visualforce_with_yui.php</guid>
			<author>greg@interactiveties.com (Greg Hacic)</author>
		</item>
		<item>
			<title>Pre-Populate Lookup Fields with Button Overrides</title>
			<link>http://www.interactiveties.com/b_dynamic_report_part1.php</link>
			<description><![CDATA[ I recently attended the Buffalo Salesforce User Group meeting. During the session a guest speaker conducted a demo of some development he did for his company&rsquo;s production Salesforce org.</p><p>One of the items he touched on that spurred a lot of discussion was a custom button he built to pass a value to a report from a detail page of a given record. The resulting discussion was surprising because I really didn&rsquo;t know that so many admins were unaware of the benefits of creating these custom buttons. And, after participating in the discussion, I thought that this would be a great topic for a blog post because there is so much that you can do if you understand this relatively simple trick. [<a href="http://www.interactiveties.com/b_dynamic_report_part1.php">Read More...</a>]</p> ]]></description>
			<pubDate>Mon, 28 Feb 2011 15:46:00 GMT</pubDate>
			<guid isPermaLink="true">http://www.interactiveties.com/b_dynamic_report_part1.php</guid>
			<author>greg@interactiveties.com (Greg Hacic)</author>
		</item>
	</channel>
</rss>

