Salesforce Custom Settings: Optimizing Your CRM for Maximum Efficiency
What is Custom settings Salesforce Custom Settings is similar to custom objects, that allow you to create custom data sets and associate them with your Salesforce organisation. It store data in the application cache, enabling efficient access for various Salesforce functionalities like formula fields, validation rules, Apex, and SOAP API. Why we use Custom settings It allow to store configuration data including default settings for org, application parameters, or any other custom data that can be used in apex or LWC. Unlike custom objects, they can be accessed without needing to perform SOQL queries, making them faster and more efficient for accessing configuration data. Types of Custom Settings 1. List Custom Settings It provides a reusable set of static data that can be accessed across your organization, It doesn’t vary with profile or user. Examples of list data include three-letter country code abbreviations. 2. Hierarchy Custom Settings It uses a built...
Comments
Post a Comment