Category: Apex

Export to Calendar using Aura Components

My project had a requirement to download a calendar file (ICS File) from a list of training records in data table The idea is to create an ics file and download it, similar to how we download csv file. Once this file is downloaded, it can be saved in any calendar used by the user. …

Continue reading

Permanent link to this article: https://salesforcebuddy.com/2020/07/export-to-calendar-using-aura-components/

Upload a file to Salesforce File from Lightning Component

In my recent work for a client, there was a need to upload a file to a case not as an attachment but upload under Files Section. As you are aware, Salesforce Files are replacing Attachment. In this post, I am sharing the code end to end for your reference. In this case, I created …

Continue reading

Permanent link to this article: https://salesforcebuddy.com/2020/06/upload-a-file-to-salesforce-file-from-lightning-component/

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/