November 2016

HTML email template with inline form submission with Salesforce

Hello there, This use case comes from a question in the success community where the admin wants to send out emails to the contacts with an inline form that they can fill and submit within the email. Assumptions: I have... Continue Reading →


Dynamic visualforce email template based on value of field

Use case: Send different email to a lead based on the lead source. My first impression on what the solution would be: First off, it i pretty simple to create a workflow with number of action equal to number of... Continue Reading →

The curious case of (default) Record Types

Any seasoned administrator has played around with business processes, record types and page layouts. So I bring about this question; a use-case: A user has 2 sales process, thus 2 opportunity record types assigned, lets say RT1 and RT2. While... Continue Reading →

Javascript Remoting – create account record using single sObject, List, Map

Its pretty straight forward to create records using JS remoting. Where it gets tricky is to pass a Map from JS to controller. The following code illustrates how to call a RemoteAction and pass the following: 1. Single sObject (Account)... Continue Reading →

Add days to a date excluding weekends i.e. Saturday and Sunday

Requirement: I have one date field called "Billing date" and one Number Field called "Billing Delay". I want to update one Date field "DueDate" which computes "Billing date"+"Billing Delay". While Computation It will Exclude the Saturday and Sunday! Simple solution:

Pet project: Create Parent and Child records from visualforce page for ANY Salesforce object

Part1: The rough working prototype Done miss to use the┬áBeta Demo on dev org Dear awesome readers, This post is a continuation to a series of posts. If you missed, the previous post can be found at In this... Continue Reading →

Visualforce and Bootstrap CSS – an example with apex:pageblocksection

Dear awesome readers, Wont it be nice to create good looking pages, rather than the boring omnipresent standard salesforce stylesheet. What you need to know before you go ahead: 1. Visualforce basics 2. CSS basics 3. jQuery basics What we... Continue Reading →

Eureka: Dynamic Visualforce Bindings for an sObject List

Dear awesome readers, If you have already played with sObjects and Visualforce, you have surely gone through the below link. If you havn't please do. Its simple and sets the tone for the revelation in this post. The developer... Continue Reading →

Pet project: Create Parent and Child records from visualforce page for ANY Salesforce object

Part0: Introduction Yes, you read it right! "any salesforce object". Read on my dear awesome readers... Recently, I came across a requirement where users wanted a one stop solution to create account and related contacts on one page. Obviously, this... Continue Reading →

Powered by

Up ↑