Category: APEX

dynamic apex

PowerPoint DYNAMIC APEX Favorite

Read more

Randomizer

Randomizer

Favorite

Read more

concatenate using string.join

Favorite

Read more

enum in APEX

Favorite

Read more

Dynamically access Custom Labels from Apex Class

Retrieve Salesforce custom label dynamically in Apex Ever wonder if it is possible to retrieve custom labels dynamically but not sure whether it is possible? Well, the answer is yes. You can retrieve custom labels dynamically. Here is how you can achieve it. You just need to integrate the following code in your apex class. […]

Read more

find the object name by passing id

Favorite

Read more

!= null or !isEmpty() ?

Is this in regards to String? If so, I usually use String.isBlank( stringToCheck ). This checks for null, empty and all whitespace. If this is in regards to collections, you might have to check both: if ( myList != null && !myList.isEmpty() ) … If you know that your collection is not null (because you […]

Read more

INTEGRATION using SOAP API

Enterprise WSDL A strongly typed WSDL for customers who want to build an integration with their salesforce.com organization only. Generate Enterprise WSDL Partner WSDL A loosely typed WSDL for customers, partners, and ISVs who are building client applications for multiple organizations. It can be used to access data within any organization. Generate Partner WSDL Source […]

Read more

Invoking HTTP Callouts – GET

I will be using this endpoint link as a test purpose its very simple nothing fancy but the point is to prove how to get connected to this end-point and get access to the data. Step one: Add to the Remote site setting in the Salesforce as shown below. Step two: Create Custom Labels and […]

Read more

apexpage message utility

To use:

Favorite

Read more