Pod Page: CSV Import

Version 1.2 added 4 months ago by chris.pilko

HOW TO INSTALL: To install this package, copy the following code and paste it into your Pods >> Package Manager under the Import tab and follow instructions there.

1.2 Notes

Fixed a duplicate use of the $import variable.
Added checks to make sure a valid pod name is declared.
Works with Pods v1.12.2

About this Package

Allows you to import data from a CSV file into a Pod, even PICK columns.

Data should be in a standard CSV file.
The first row of the CSV file must contain the column names.

Data for Pick columns should be formatted in the CSV as follows:
"array(Pick1, Pick 2, Pick 3, with a comma in the name)"

Remember, this is uses an INSERT query not an UPDATE query, so it can only be used to add new data to a Pod, not update existing data.