Category: Salesforce

Salesforce Related

Lightning:recordForm

A lightning:recordForm component lets you to create forms to add, view, or update a record. Using this component to create record forms is easier than building forms manually with lightning:recordEditForm and lightning:recordViewForm. Additionally, this component takes care of FLS(field-level security) and sharing internally The component accepts a mode value that determines the user interaction allowed …

Continue reading

Permanent link to this article: https://salesforcebuddy.com/2020/05/lightningrecordform/

Salesforce Collections: Set, List

You can create a Set in Apex as below Set<String> colorSet = new Set<String> {‘Red’, ‘Blue’, ‘Orange’}; To create list, use the syntax below List<String> colorList = new List<String> {‘Brown’, ‘Black’, ‘Green’, ‘White’}; Convert from List to Set Set<String> newColorSet= new Set<String>(colorList); Convert from Set to List List<String> newColorList = new List<String>(colorSet); You can also …

Continue reading

Permanent link to this article: https://salesforcebuddy.com/2020/05/salesforce-collections-set-list/

Send Email using aura components

This post shows how to send an email using aura component in salesforce lightning. EmailParticipants.cmp EmailParticipantsController.js EmailParticipantsHelper.js EmailParticipantController.cls

Permanent link to this article: https://salesforcebuddy.com/2020/05/send-email-using-aura-components/