
How to MFA Using Salesforce Lightning Flow & Google Email?

Suppose that you are getting the JSON data which have a single object or list of objects with label as key which needs to be displayed and value as value to be displayed in the HTML.
Example JSON file is given below

As a Salesforce Developer sometime we need to develop the test class for a piece for Apex code which is using Pricebook and Pricebook Entry.
So, In this blog post, we will see how to insert the Custom pricebook in test class and also how to insert Pricebook Entry in test class.

In apex, By default scheduled job run in every 1 hour using CRON expression but you can scheduled this job in every 5 minutes or 10 minutes duration.

System.Schedulable interface has on method which we need to implement inside our apex class and this is the method which will execute every interval our class is scheduled for.
From execute method we do either call our Batch Apex or Our Simple Apex Class Method.

Batch apex is used to process the large no of data in Asynchronous mode.( Runs when the resources are free )
With the help of batch apex we can process upto 50 million records.
We prefer to use the batch apex when we have large set of data and we wanted to perform/execute certain logic on the scheduled basis.

What are login flows, how login flows works in salesforce