Vivid Software Blog

Salesforce.com Gorilla Development

So I get asked this quite often. How do I replace text in a formula field? Normally as a programmer I’d lean toward using a regular expression (or regex). Then I got to thinking… how would an...
The Force.com Platform allows for multiple ways to access data and to control that access on different levels. The different ways you can access the Objects are: 1. Object Level 2. Record Level 3...
Recently I was doing some data manipulation work for a customer when I ran into some issues with Triggers firing when the data was being updated. However, in production environments disabling...
Salesforce.com has a limit of 50,000 records which can be queried at one time. Anytime you have queries with aggregate functions which need to access more than 50,000 records you’ll get the following...
We’ve all had situations where you needed to dynamically build a query. How do we do this in Apex? Queries can be constructed in several ways, but for this article we’ll focus just on the method of...
What is a Salesforce Trigger? A trigger is an action that can be fired on an object when a particular event (insert, update or delete) occurs. For example when you create a lead (no matter how you...
This section describes the technical trick you can use to migrate projects from either another PC or from the Force.com IDE to Eclipse (or vice versa). First when you launch Eclipse (or the Force.com...
I get asked quite often about exporting to excel. Well thanks to Visual Force pages we can export data to excel without the use of the Data Loader. There are a number of reasons why you would want to...
Another thing I commonly find myself doing is using Javascript to query Objects and data inside button click events. Why not create an Apex Controller and a Visual Force Page? Well because sometimes...