Hi, is there a way to add a custom field to the available indexes on the duplicate check that gets done on import? I'm talking about Sugar 6.1 Community Edition
Hi, is there a way to add a custom field to the available indexes on the duplicate check that gets done on import? I'm talking about Sugar 6.1 Community Edition
Maybe this could work (I used it with 6.2, but with normal fields in a custom module created with module builder):
Add an index definition in modules\<modulename>\vardefs.php (plus Repair):
This example defines an index for two fields (named 'field1' and 'field2') in that module where the combination of these field values should be unique. The field array should contain one or more entries.PHP Code:'indices' => array (
array('name' =>'idx_my_index_name', 'type' =>'index', 'fields'=>array('field1', 'field2')),
),
Stefan Ulrich Sauer
System Analyst
Devoteam Danet GmbH
Gutenbergstraße 10
D-64331 Weiterstadt
Germany
email: Stefan-Ulrich.Sauer@devoteam.com
http://www.devoteam.de
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks