Lightning Record View Form

The lightning-record-view-form component serves as a wrapper that takes a record ID and is utilized to showcase one or multiple fields and their associated labels using lightning-output-field. This component necessitates a record ID to exhibit the record’s fields, without the need for additional Apex controllers or Lightning Data Service. It inherently manages field-level security and …

Lightning Record View Form Read More »

Toast Messages in Lightning Web Components LWC

Toast messages in LWC (Lightning Web Components) allow for the notification of success, error, warning, or simple information. To showcase a toast notification within Lightning Experience or Lightning communities, the ShowToastEvent needs to be imported from the lightning/platformShowToastEvent module. Dispatching this toast can be triggered by an event, such as a button click. Adding a …

Toast Messages in Lightning Web Components LWC Read More »

Exporting To Excel With Multiple Worksheets In Visualforce

To create an Excel file with multiple worksheets, XML tags are required. These XML tags can be combined with Visualforce tags. Utilizing styles such as color, size, and height allows for formatting the cells within the Excel sheet. For detailed reference on XML spreadsheets, please refer to the documentation. XML Spreadsheet Reference Click for Demo …

Exporting To Excel With Multiple Worksheets In Visualforce Read More »

The Immediate Attribute of CommandButton And CommandLink In Visualforce

This attribute is primarily used to bypass the firing of validation rules during server requests. It’s a Boolean value that dictates whether the action linked with this component should occur instantly, disregarding any validation rules related to the page’s fields. When set to true, the action occurs immediately, skipping validation rules. If left unspecified, it …

The Immediate Attribute of CommandButton And CommandLink In Visualforce Read More »

Usage of Custom Labels in Apex Code Within Salesforce

Example of Utilizing A Custom Label in Apex Code Within Salesforce In Apex code within Salesforce, we utilize System.Label.labelName to access custom labels. These custom labels serve as custom text values that can be accessed from both Apex classes and Visualforce pages. They allow for translations into multiple languages supported by Salesforce, enabling the presentation …

Usage of Custom Labels in Apex Code Within Salesforce Read More »