Eclipse as a Password Manager
Caution: Only use this tip if your computer is SECURE. Recently, Judi Sohn wrote about a URL hack to save your Salesforce username and password (in an exposed, plaintext manner). This is a great way to...
View ArticleVisualforce Email Inbox
Sonny Cloward, SysAd at Rainforest Alliance, approached us about writing a Visualforce page to display all incoming emails for a given Case Queue. This led a few interesting discoveries. Here's how we...
View ArticleEmail Inbox Version 2
Well, it took about ten minutes from the release of Email Inbox Version 1 for people to request additional features, screenshots, etc. Version 2 includes some neat icons, and this post has the...
View ArticleOverload Apex Class to be Controller AND Extension
Wow - today brought an interesting discovery. Here's the situation: Coding the new premium version of Mass Update Contacts (details to come), I replaced the two parts of the page with Apex Components....
View ArticleA Mention in the Developers Challenge
The salesforce.com Developer Force Challenge has concluded, and the team of Force Squared and The Enforcer won a mention! Our Daily Shinro site was listed “for sheer exuberance!” I’m really proud of...
View ArticleNew Developer Library Released
Today, Developer Force (http://developer.force.com) released its new library. Here are a few of them. All can be found at http://wiki.developerforce.com/index.php/Documentation. Workbook...
View ArticleComputer Associates Plans To Release Agile Development Tool On Force.com...
Today, at Dreamforce 2009, Computer Associates plans to release CA Agile Planner(http://www.ca.com/agile), a tool to manage agile development teams. CA Agile Planner will be integrated with CA Clarity...
View ArticleSophisticated DateTime “Formula Fields” with Apex and Field-Level Security
What do you do when you want to calculate a formula-like field but a regular formula won't work? Salesforce CRM's formulas handle dates very well. If you want to enter a date value and have formula...
View ArticleSystem Replacement For isTest Apex Method
Sometimes we have to write code that executes differently if the Apex is being tested. For a great example, check out Scott Hemmeter's blog post on testing webservice callouts at...
View ArticleVisualforce Inline Editing – I’m In Love
I’m totally addicted to the new Visualforce inline editing feature. It all started with this post by Josh Birk at Developerforce. I liked it, but as a “standardstylesheets” specialist, I wanted a bit...
View ArticleActivity Type Field – Do Not Use
The field Event.Type (which is sort of the same as Task.Type) is a difficult field to use. Here are a few reasons: Type cannot be the controlling field for a dependent picklist. On an Event list view...
View ArticleChatter BINGO Released Into The Wild
With Dreamforce 2010 behind us and Dreamforce 2011 fast approaching, the first ever crowdsourced conference application is publicly available! Chatter BINGO has been released as an unmanaged package,...
View ArticlePageReference Best Practice
I've seen a lot of coders put the following into their custom Visualforce controllers: public PageReference customsave() { try{ insert acct; } catch (DMLException e) { /*do stuff here*/ } PageReference...
View ArticleWorkflow ISCHANGED() translated to Apex trigger
Workflow is great. I can simply and declaratively make changes, and can easily update things like email templates, criteria, tasks, etc. without using Eclipse and writing/running unit tests. Sometimes,...
View ArticleCreate and Populate a Map Without Loops
There are many reasons to use Maps in Apex triggers. Sometimes I want to make a List of Contacts, but I want to pull each one by its ID. This is a good reason to abandon the List and to make a...
View ArticleChatter Publisher Actions (Part 2): Object Custom Action
In the previous post, we looked at using the standard (button-click) way to create a new child record using Publisher Actions. Pretty basic stuff. Using Visualforce to create a custom action is a bit...
View ArticleChatterBINGO is Now Open-Source
At Dreamforce 2010, I had the honor of writing the only (to date) community-contributed app to the Dreamforce org: Chatter BINGO. It has been in an AppExchange listing for a while, in an unmanaged...
View ArticleLightning Component With Running User Information
Last week, at Snowforce in Salt Lake City, I saw a demonstration of the Lightning App Builder and decided that I wanted to make a Lightning component of my own. I thought the best thing to do was to...
View ArticleShow Current Year Using Only Visualforce
While perusing some websites, looking at html code, I saw something interesting: A company had used Javascript to update the copyright date of its website using Javascript. This is the code. Copyright...
View ArticleDuplicate Record Item Enrichment and Auto-Deletion Code
TL;DR: Check out code to enrich DuplicateRecordItem records and to handle extra DuplicateRecordSet records after merging duplicates at https://github.com/dschach/duplicatehandling I love the standard...
View Article