Build Custom Component to Upload Csv File to Update Salesforce Records

Custom CSV DataLoader Lightning Component (Part 1 — CSV Input)

Project Introduction

  • 1 — CSV File Input (this part)
  • 2 — Object Selection and Column Mapping
  • 3 — Importing Records

Starting the Project

  • CSVObject (Noon Course for the CSVObject)
  • CSVHeader (Noon Form for the headers on our CSV file)
  • CSVCreator.cls (APEX Course to instantiate the CSVObject with the CSV file coming from the Component)
  • CSVDataLoader.cmp (The Lightning Component)
  • CSVDataLoaderController.js (The JS Controller)
  • CSVDataLoaderHelper.js (The JS Helper)

The CSV Object

CSV Object Noon Class
  • A List of headers (I used some other form to shop some more than data near the column)
  • A Listing of Lists for the lines (Listing of lines, each line being a List of String for each cavalcade)
  • Line Count

The CSV Header

CSV Header Noon Class

The CSV Creator

CSV Creator Apex Class

The Component

The Lightning Component

The JS Controller

Component JS Controller

The JS Helper

Component JS Helper

Testing and Results

Empty Lightning Component

Lightning Component with data

Next Steps

vangwhaters.blogspot.com

Source: https://medium.com/@nando2904/custom-csv-dataloader-lightning-component-part-1-csv-input-aef6225d9d10

0 Response to "Build Custom Component to Upload Csv File to Update Salesforce Records"

إرسال تعليق

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel