Category Lightning Component

Lightning Stateful Button Component

The lightning:buttonStateful represents a toggleable button state similar to those found on social media. It enables dynamic display of different labels and icons. Specific examples and further information can be found on the Lightning Design System and Salesforce Developer websites.

Get Parent Record Id From Lightning URL

The post discusses creating a lighting component for a new record related to Opportunity in Salesforce. The challenge is to auto-populate the Opportunity record, but the "force:hasRecordId" interface is insufficient as it only provides the current record ID. The solution given advises using the "lightning:isUrlAddressable" interface to generate a URL and retrieve the Opportunity record ID.

âš¡ Lightning – File upload with a title using “lightning:fileUpload”

The blog post discusses a problem with the standard file uploader component where users cannot enter a specific file name or title upon uploading. To rectify this, the author developed lightning component codes and outlined the steps for implementing them. The author's solution allows the file's title to be changed based on the user-entered title after the file upload is finished.

Search Metadata In Lightning Experience

Arun Kumar has created a lightning component to consolidate searches for items such as Apex Classes, Apex Triggers, Visualforce pages, and components, mimicking the functionality of the 'Salesforce Advance Code Searcher' extension used in Salesforce classic. The component simplifies the search process in Salesforce Lightning Experience.