Posts

Salesforce feature release lifecycle

Salesforce application features go through multiple states in their life-cycle. It's crucial to understand terms related to feature research and activation, as they determine a feature's release status. Salesforce feature release lifecycle Pilot - Usually the first phase of public testing, Pilots normally include a small subset of participant Organizations. These Organization’s must request to opt in to a Pilot and then be nominated for participation. Oftentimes, Pilot nomination requests will require additional information be provided to ensure proper eligibility for the Pilot feature in question.  BETA - Features with successful Pilots will often transition to the BETA phase. This involves rolling the feature out publicly for testing. BETA features might require additional enabling by a System Admin and are accompanied by verbiage that clarifies the feature is in BETA status. BETA features are normally unsupported or given very limited Support as they are not yet fully func...

Salesforce Lightning Locker Tools

Lightning Locker tools help you develop more secure code that is compatible and runs efficiently with Lightning Locker. Lightning Locker API Viewer Locker API Viewer shows Lightning Locker’s support of the standard DOM APIs in the Window, Document, and Element objects. The SecureWindow, SecureDocument, and SecureElement wrappers prevent the use of APIs that are labeled Not Supported. Locker Console Overview Use Locker Console to check your JavaScript code’s compatibility with Lightning Locker, and compare how it runs with Lightning Locker enabled and disabled. MIME Types Permitted - MIME Types Permitted | Lightning Aura Components Developer Guide | Salesforce Developers Lightning Locker analyzes the MIME types used in Blob objects. Locker permits some MIME types, sanitizes some MIME types, and blocks the rest. Lightning Locker allows these MIME types. application/octet-stream — Default value for binary files application/json — JSON format application/pdf — Portable Document Format (.p...

Salesforce custom label in Apex, Visualforce, AURA, LWC

Salesforce custom labels can be used across different Salesforce technologies, including Apex, Visualforce, Aura components, and Lightning Web Components (LWC). Here's how you can use custom labels in each of these contexts: Apex : In Apex, you can access custom labels using the System.Label global variable. Custom labels are referenced by their developer name. String labelValue = System.Label.MyCustomLabel; Visualforce : In Visualforce pages, you can reference custom labels using the $Label global variable. <apex:outputText value="{!$Label.MyCustomLabel}" /> Aura Components: In Aura components, you can access custom labels using the $Label global value provider. <aura:component>     <aura:attribute name="labelValue" type="String" default="{!$Label.MyCustomLabel}" /> </aura:component> Lightning Web Components (LWC): In Lightning Web Components, you can import and reference custom labels using the @salesforce/label scop...

Skinny Tables in Salesforce

Skinny tables in Salesforce are custom tables that contain a subset of fields from a standard or custom object. They are designed to improve report and query performance by having a narrow width; in other words, they include fewer fields, which reduces the number of joins needed during a query execution on large objects. Skinny tables are handy when dealing with huge data volumes. Here are some critical points about skinny tables: Performance Improvement: Skinny tables can significantly speed up the performance of read-only operations, especially for complex queries and reports that do not need to access all fields of an object. Creation by Salesforce: Salesforce must enable skinny tables for your organization, and they are created, maintained, and managed by Salesforce upon your request. Supported Objects: Skinny tables are supported for Account, Contact, Opportunity, Lead, Case, and custom objects. Field Types : They can contain commonly used fields, such as checkboxes, dates, em...

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.

Bell Notifications in Salesforce

Image
Bell Notification is a feature that provides users with real-time updates and notifications about various activities and events happening within the Salesforce platform. It is represented by a bell icon in the Salesforce interface's top right corner. The bell icon displays a badge indicating the number of unread notifications when there are new notifications, such as mentions, comments, tasks, approvals, or any other relevant updates related to records or processes. Clicking on the bell opens a dropdown menu listing these notifications, allowing users to review and take action quickly. Bell Notifications help users stay informed and engaged with essential activities in their Salesforce org, ensuring timely responses and efficient collaboration. Users can customize their notification settings to receive alerts for specific events or activities according to their preferences and roles within the organization. Create a Custom Notification Detail View of Custom Notifications Fill in t...