Tag Archives: apex development

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 »

How to Avoid Null Pointer Exception By Using Safe Navigator Operator (?.)

In this blog, we will discuss how to Avoid Null Pointer Exception that occurred on various conditions by using the Safe Navigator Operator. In the recent update of Salesforce, Winter’21 introduced an Operator Named As Safe Navigator Operator(?.). Certainly, it is efficient & easy to understand the syntax for Salesforce Developers, making the coding clean.… Read More »

Creating Webservices using sites in Salesforce and access as REST API

The Salesforce REST API is a powerful web service that lets you integrate Salesforce applications using standard HTTP methods. This can then be used to integrate Salesforce with Sage ERP. With help of Apex REST, we can expose the data from Salesforce orgs and we can also fetch data from other systems which hits the… Read More »

Salesforce Platform Events – What are they & how to use

While there are tons of documentation highlighting about platform events and their use cases there are even trailhead modules, recently we came up with the question that how should someone be able to tell a Salesforce rookie what a platform event is? Yes, it’s a platform-based notification system which can help orchestrate a proper integration… Read More »

Creating SObject Dynamically by Using Id

While working on one of our projects, we faced a challenge where we were supposed to create the object, already existing in the database, dynamically from just an “Id”. We had no information other than the Id field of the record. We can use the functions of SObjectType class to create the instance of a… Read More »