Cascade Update in Salesforce
Salesforce doesn't implicitly updates the child record. So, we have to update the Child Records explicitly. Check the following code which makes use of updating both Parent And Child records ....
Salesforce doesn't implicitly updates the child record. So, we have to update the Child Records explicitly. Check the following code which makes use of updating both Parent And Child records ....
The Singleton pattern attempts to solve the issue of repeatedly using an object instance, but only allowing to instantiate it once within a single transaction context. So, using Singleton pattern ....
It is very very important to understand the Limits before implementing or developing Salesforce Einstein BOT versions. Versions per Salesforce Einstein BOT is only 20. Reference Article: https://help.salesforce.com/s/articleView?id=sf.bots_service_limitations.htm&type=5
Sample Code:DateTime currentDT = System.now();String strUnixTimeStamp = String.valueof( currentDT.getTime() );System.debug( 'String UnixTimeStamp is ' + strUnixTimeStamp );Long longUnixTimeStamp = Long.valueOf( strUnixTimeStamp );System.debug ( DateTime.newInstance( longUnixTimeStamp ) ); Output: Note: It ....
triggerable property from the object schema can be used to determine whether Trigger can be developed on that object. Sample Code(Trigger not allowed): Map < String, Schema.SObjectType > globalDescription = ....
1. Create a Multi-Select Picklist field. 2. Create a Formula Field and use the PICKLISTCOUNT(). PICKLISTCOUNT() will return the number of selected options from a Multi-Select Picklist field. Output:
Accurately Measure the CPU Time Consumption of Flows and Processes (Update) was introduced in Salesforce Spring '21 Release. As per Spring '21 Release, it is enforced in the Summer ’22 ....
Styling Hooks can be used to adjust CSS properties like the height and width of the lightning-button in Salesforce Lightning Web Component. Sample Code:HTML: <template> <lightning-card title="Testing Lightning Button"> <lightning-button ....
Bucket Column can be used to group Opportunities between Step 1 through Step 3 and Step 4 through Step 5 in Salesforce Report. 1. Create a Step picklist field in ....
Activities Component in Salesforce Lightning Record page has a gear icon(Timeline Settings) through which we can filter the records shown on the Activities Timeline. For example, if you want to ....