Hey guys,
I got an annoying problem here. A few weeks ago I upgraded our sugar CE v6.2.0 to version 6.2.4 . I cannot say for sure if my try still worked in versionm 6.2.0, but I can say for sure it does not in 6.2.4.
Target:
I want to a a custom field contacts_cstm.office_c to the result list view of the global search.
Previous solution from my wiki was:
From a former version I had this code in file ../sugar/custom/Extension/modules/Contacts/Ext/Vardefs/search.php
This former solution does not work in 6.2.4. Therefore I tried it this way, as described in sugar wiki:PHP Code:<?php
$dictionary['Contacts']['fields']['FIELD']['rname'] = office_c';
$dictionary['Contacts']['fields']['FIELD']['vname'] = 'LBL_OFFICE';
$dictionary['Contacts']['fields']['FIELD']['type'] = 'relate';
$dictionary['Contacts']['fields']['FIELD']['dbType'] = 'varchar';
$dictionary['Contacts']['fields']['FIELD']['table'] = 'contacts_cstm';
$dictionary['Contacts']['fields']['FIELD']['unified_search] = true;
?>
SugarCRM Developer Blog » Blog Archive » HOWTO: Add custom fields into the global search
I also tried the solutions from this thread http://www.sugarcrm.com/forums/f6/cu...-search-74369/ , but I guess I'm too stupid for it.
Does anyone know which way works for sure in sugarCE v6.2.4? - Please advise.


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks