Posts

Showing posts from September, 2022

Use of Salesforce custom label

Salesforce custom labels are custom text values that can be used in Apex, Visualforce, Lightning components, and formulas. They provide a convenient way to manage and centralize text that appears throughout your Salesforce application. Here are some common use cases for Salesforce custom labels: Localization and Multilingual Support: Custom labels allow you to store text in multiple languages, making it easier to support users in different regions. Salesforce automatically displays the appropriate language based on the user's language settings. Static Text and Messages : Custom labels are commonly used to store static text, such as field labels, button labels, error messages, help text, tooltips, and other user interface elements. Storing these values as custom labels centralizes them and makes it easier to update them across your application. Dynamic Text and Merge Fields : Custom labels support merge fields, allowing you to include dynamic data in your text. This can be useful f...

Salesforce Order of Execution

Image
Salesforce executes a sequence of events in a specific order when saving a record with an insert, update, or upsert statement. Prior to this, the browser performs JavaScript validation for dependent picklist fields, restricting them to their available values. No other client-side validation takes place. Order of Execution To see the diagram of the order of execution, visit the Order of Execution Overview on the Salesforce Architects site. Please note that the diagram may differ from the information given here as it is specific to the indicated API version. The Apex Developer Guide page provides the latest information on the order of execution for this API version. Access different API versions through the version picker in the Apex Developer Guide.