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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

MemberCsvBulkLoader duplicateChecks


Go to End


711 Views

Avatar
cwchong

Community Member, 13 Posts

24 May 2013 at 7:42am

The MemberCsvBulkLoader responsible for exporting Members in the Security tab has this field

public $duplicateChecks = array('Email' => 'Email);

Shouldn't this field be changed to a static field so that it can be set in the _config.php file as well?

Currently we can use
Member::set_unique_identifier_field('MyNonEmailIdentifier');
to set the desired ID field for our Member dataobject, would be nice if MemberCsvBulkLoader maps its duplicateChecks field to the static $unique_identifier_field in Member.