Skip to content

psagredo99/CSVtoContactsVFP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

CSV to Salesforce Contact Upsert (ES language)

A Salesforce Apex class and Visualforce page for upserting contact records from a CSV file based on the external id field.

By: Pablo Sagredo

Deploy to Salesforce

Description

This repository contains both an Apex class and a Visualforce page designed to process and insert data from a CSV file into Salesforce Contact objects. It includes methods for reading CSV files, validating and transforming data, inserting records, and displaying the results.

Features

  • Upload CSV files and validate them before insertion.
  • Able to auto map the fields
  • Handle various field types, including dates, datetimes, booleans, and textareas.
  • Display detailed messages about the insertion process.
  • Utilizes the external id field for upserting records.

Usage

-Upload CSV:

image

-CSV is uploaded and validated:

image

-Result (Inserted + Updated):

image

Clone or Download

Clone the repository to your local machine using Git:

git clone [repository URL]

About

Import contacts from a vfp uploading a csv with result table (inserted, updated).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages