SEO Meta Description: Architecting for Scale: Governor Limits, Performance & Best Practices in Salesforce – Discover expert strategies to overcome limitations, improve performance, and build enterprise-ready Salesforce solutions. Introduction to Salesforce Scalability Challenges Salesforce is one of the most powerful and flexible platforms for enterprise applications today. As organizations grow, so do the complexities of […]
Tag: Salesforce
Salesforce Retire | End of life (EOL) of Permissions on Profiles
Salesforce announcing the end of life (EOL) of permissions on profiles/ Retire Permissions on Profile that will be the Spring ’26 releaseProfiles will still exist; however, permissions on profiles will EOL and permissions will be available only on permission sets. Before we dive into what’s new with Spring ‘23, here’s a quick reminder of what […]
Salesforce Governor Limits – Apex, Platform, Event and callout
Due to the nature of multitenancy and the fact we are sharing resources, governor limits are in place to ensure that all resources are allocated as expected to each. There are different types of governor limits Per-Transaction Apex Limits: These limits count for each Apex transaction. For Batch Apex, these limits are reset for each […]
Salesforce Apex System.TypeException – Cannot have more than 10 chunks in single operation. Please rearrange the data to reduce chunking.
Solution: Please rearrange the data to reduce chunking. When I am trying to insert parent and child in same transaction while preparing the list of records to be inserted in a loop, I am getting this error as System.TypeException “Cannot have more than 10 chunks in a single operation. Please rearrange the data to reduce […]
Salesforce Quick bytes / Cheat Sheet
When we had issue with one of the users complaining about his access, we can find easily whether user has access or not with below SOQL SELECT RecordId,HasReadAccess,HasEditAccess FROM UserRecordAccess WHERE UserId=’00541000005yQ1V’ AND RecordId IN (‘5001L00001J9OC4QAN’) Salesforce NOOVERRIDE=1Use /e?nooverride=1 for classicUse /edit?nooverride=1 for lightning edit Use /view?nooverride=1 for lightning record view
Salesforce Lightning Record Edit Form – Aura and LWC
use record edit form component to create a form that’s used to add a Salesforce record or update fields in an existing record on an object. The component displays fields with their labels and the current values and enables you to edit their values. lightning record edit form supports the following features. Editing a record’s specified […]
Salesforce Aura Component Map, Dynamic picklist / dropdown
Component markup Controller/Helper Java script var upOptions = [{ label: ‘Please Select’, value:” }]; upOptions.push({ label: ‘Account Upload’, value:’Account Upload’ }); cmp.set(“v.uploadOptions”, uploadOptions);
Salesforce Aura Component Refresh View
To refresh a view in both custom and standard component use below $A.get(‘e.force:refreshView’).fire();Ex: From the below table Child details are multiple child records, when adding/deleting/updating child records costs Parent summary table top one should get update with totals. This can be done with simple refresh call which will update parent.
Salesforce Apex/Standard REST API Response Suppresses Null Values for where not required
Removing null values in REST API response / Beautify Response / Suppresses null values / JSON Serialize There is an out of box method available to remove all the null values from the JSON response it suppresses null values when serializing Apex objects into JSON content. Syntax:public static String serialize(Object objectToSerialize, Boolean suppressApexObjectNulls) Parameters objectToSerializeType: ObjectThe Apex object to serialize.suppressApexObjectNullsType: BooleanIf true, remove null values before […]