This commit is contained in:
@@ -9,6 +9,7 @@ Import / update
|
|||||||
JSON AND CSV both supported
|
JSON AND CSV both supported
|
||||||
CSV column headers MUST be the same names as JSON property names
|
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
|
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
|
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
|
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)
|
Import and update are same code and handled by CONVENTION (salesforce uses this convention)
|
||||||
|
|||||||
Reference in New Issue
Block a user