Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

CsvBulkLoader::$duplicateChecks doesn´t work


2 Posts   1113 Views


15 September 2009 at 3:56am Community Member, 279 Posts


I extended the CsvBulkLoader and don´t want duplicates in my database.

public $duplicateChecks = array(
'Studioname' => 'name'

The values of the CSV column Studioname should be compared with the connected objects attribute "name". If I import the same CSV file twice all data sets will be doubled. I want existing data sets to be overwritten.

Any help to this issue is appreciated.


15 September 2009 at 7:43pm Community Member, 279 Posts

Does duplicateChecks work only with a primary key?