3460 Posts in 1064 Topics by 739 members
|Go to End|
12 May 2011 at 7:30am
I am looking for some sample code to enable me to import data from a CSV file. I have seen some documentation for the CsvBulkUploader class (http://api.silverstripe.org/trunk/cms/bulkloading/CsvBulkLoader.html) - I think is probably the right starting point, but I would really appreciate some sample code to speed up the learning curve!
Currently, I am not sure whether I intend to create new DataObjects or simply parse the imported data into an HTML table and store in a single field on a "page". I don't think I will use it to create new pages in their own right.
Any help greatly appreciated.
|Go to Top|