This commit is contained in:
2022-03-24 00:32:00 +00:00
parent 70afaf9543
commit 43dc5d11d6

View File

@@ -9,6 +9,7 @@ Import / update
JSON AND CSV both supported
CSV column headers MUST be the same names as JSON property names
CSV is turned INTO JSON at the client then submitted to the server so the server only handles importing JSON, never sees CSV
https://www.papaparse.com/
Client reads in the csv and makes json objects looking for the matching expected names
Order of CSV does not matter as long as there is the minimum required NAME field to match and anything else that's required
Import and update are same code and handled by CONVENTION (salesforce uses this convention)