Tag Archives: Apex

How to call an APEX Class from a Screen-Flow

This blog post will go over how to use a Screen Flow to call an Apex class using a straightforward example. The Screen Flow generated in this example has three variables that we have created. Initially, recordId is configured to be available for both input and output. 1. RecordId Variable The second variable that we… Read More »

Implementing RSS feeds on your Home Page using Visualforce page

Salesforce allows its users the ability to modify their Standard Home page by using various components such as links, images, HTML area and Visualforce area; the latter being a Visualforce area component to display your Visualforce page. It has also abandoned a few features of its own to implement something better the best example of… Read More »

Batch Processing in Salesforce

Salesforce does not allow to perform DML operation more than 10K records in single transaction. Consider a situation where you have more than 10K records to perform DML operation. Due to Governing limitations of Salesforce (because of Multi-tenant architecture of Salesforce) you won’t be able to do the same. But Salesforce provided very nice feature… Read More »

Mass Deletion of Records

There are times when we want to perform mass deletion of records on Salesforce object records. We might come across a scenario where we want to perform Mass delete of records on large number of records of particular object which would delete records in bulk. We checked in Salesforce and we found that this functionality… Read More »

Usage of Interactive Apex Debugger

Introduction: In Winter’16 release, Salesforce offered a new “Apex Interactive Debugger” that shall make developers of other platforms feel comfortable working with Salesforce. An interactive debugger allows you to set, remove and suspend breakpoints. It also allows you to step in, step out, step over and through your code, as well as view variables at… Read More »

Use of regular expression in Apex

Regular expressions (or regex) are mainly used to check the Format and syntax. In simple terms, regex is a string that is used to compare another string by using a specific syntax. Similar to many other languages, Apex also provides regex capabilities. Read More: Real-time, bi-directional, multi-company – Sage ERP Integration with Salesforce Regular expressions/Regex… Read More »

Get key prefix of an object using Apex

Every record in Salesforce has an ID which is used to uniquely identify the record. Each ID value is globally unique. The first three digits represent the object type. For example, the Account object uses the 001 prefix; the Note object uses the 002 prefix, Contact uses 003, Users 005, Opportunity 006 etc. We can… Read More »