Category: Aura Components

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/

The entity name must immediately follow the ‘&’ in the entity reference

Did you ever encounter an error like this while working on Aura components ?  <lightning:tab label=”Skills & Competencies” id=”skils”>              Content here!!   </lightning:tab> Salesforce is complaining about the special character &, in order to fix it , change it to <lightning:tab label=”Skills &amp; Competencies” id=”skils”> and it works like a charm.

Permanent link to this article: https://salesforcebuddy.com/2020/05/the-entity-name-must-immediately-follow-the-in-the-entity-reference/