Maps are very powerful application to visualise information. In today's world, map plays a very important role as many customers want to integrate maps with their applications to represent their account, contact, lead and many more information visually through map.In...
dev 501
DYNAMIC VISUALFORCE BINDINGS
Today in this post, I will explain about "Dynamic VisualForce Bindings". This was introduced in Spring'11 release and it allows developer to choose the list of fields to be displayed at run time, rather than at compile time. As a result, developer can write generic...
Implementing Decorator Design Pattern in Apex
This post is part of the series - Design Pattern in ApexI am sure as a developer, we all faced some situations where we need to have some kind of temporary fields just for calculation or displaying in the UI, but we don't want to store that information in the...
Implementing Strategy Design Pattern in Apex
This post is part of the series - Design Pattern in ApexThe strategy design pattern is the one which allows an algorithm's behavior to be chosen at run time. It is used to define a set of algorithms to solve a common problem. It allows unique logic per algorithm...
Implementing Singleton Design Pattern in Apex – Use Case III
This post is part of the series - Design Pattern in ApexToday in this post I will explain how Singleton Design Pattern can be used to call global describe only once.Requirement -When someone inserts an account record, you need to inspect all the fields in...
Implementing Singleton Design Pattern in Apex – Use Case II
This post is part of the series - Design Pattern in ApexToday in this post I will explain how Singleton Design Pattern can be used to stop calling the same trigger twice.Consider the situation - You as a developer, is updating a field in Trigger which in turns calls a...
Implementing Singleton Design Pattern in Apex – Use Case I
This post is part of the series - Design Pattern in ApexSingleton Design Pattern is pretty popular and one of the simplest design pattern available. I will start with the statement from “The Gang of Four” as it describes Singleton Pattern as –“Ensure a...
How to handle DUPLICATE_USERNAME error while performing deployment
Recently, while doing deployment through change set, I faced an issue -System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_USERNAME, Duplicate Username.Another user has already selected this username.Please select another.:...
Salesforce Integration with SOAP API – Part 10 – Delete operation using Java program
Preface - This post is part of "Salesforce Integration with SOAP API" series.In this blog post, I will go through an example where I will use Java program to perform delete operation using Salesforce's SOAP API. The Syntax is given below -DeleteResult[] =...
