Calling a Workflow from a Custom Button

I had a requirement to place a custom button on a layout that needed to call a workflow to accomplish some action.  This can’t be done natively but there is a neat little trick you can employ.

Continue reading “Calling a Workflow from a Custom Button”

Manipulate CreatedDate property of test-context sObjects

One thing I somehow missed in the Spring ’16 update is a new method in the System.Test class called setCreatedDate() .

Continue reading “Manipulate CreatedDate property of test-context sObjects”

Using Dynamic URLS to access Static Resources

I think we’ve all been guilty of hardcoding URLs at some time – I tend to do it when I’m whizzing through some development and I’m too in the zone to do things properly.  I’ll just come back and fix it once I’m out of the zone.

Continue reading “Using Dynamic URLS to access Static Resources”

Display Numeric Fields Without Commas Using Validation Rules

When wanting to display a number field without a comma, I’ve generally made a number field then a formula text field to display the value as text:

Continue reading “Display Numeric Fields Without Commas Using Validation Rules”

Apple vs the FBI & the effect on SaaS

If you’re not following the current battle between Apple and the FBI, you probably should be. Long story short, the FBI wants access to the iPhone belonging to one of the deceased shooters from the San Bernardino incident, and they’ve secured a court order from the United States District Court of California to this effect.

Continue reading “Apple vs the FBI & the effect on SaaS”

Default Record Types & Profiles With No Access To Object Settings

I came across something Friday regarding default record types and Profiles with no access to Object Settings (the three Chatter profiles).

Continue reading “Default Record Types & Profiles With No Access To Object Settings”

15 vs 18 digit keys in Salesforce – What gives?

Something I’m consistently surprised to see is the misunderstanding around the two different types of keys in Salesforce.  Every record has two keys: a 15-digit, case-insensitive key, and an 18-digit case-sensitive key.

Continue reading “15 vs 18 digit keys in Salesforce – What gives?”