Hello,
i’ve created a zip package with my customizations trough manifest file and everything is working well except for a custom field that i should be added in SecurityGroups module.
The manifest is copying 2 files:
custom/Extension/modules/SecurityGroups/Ext/Vardefs/sugarfield_sg_dirsource_c.php with content:
$dictionary['SecurityGroup']['fields']['sg_dirsource_c']['inline_edit']='1';
$dictionary['SecurityGroup']['fields']['sg_dirsource_c']['labelValue']='Directory Source';
$dictionary["SecurityGroup"]["fields"]["sg_dirsource_c"] = array (
'required' => true,
'source' => 'custom_fields',
'name' => 'sg_dirsource_c',
'vname' => 'LBL_SG_DIRSOURCE',
'type' => 'varchar',
'massupdate' => '0',
'default' => '',
'no_default' => false,
'comments' => '',
'help' => 'Directory Source',
'importable' => 'true',
'duplicate_merge' => 'enabled',
'duplicate_merge_dom_value' => '1',
'audited' => false,
'inline_edit' => true,
'reportable' => true,
'unified_search' => false,
'merge_filter' => 'disabled',
'len' => '6',
'size' => '20',
'id' => 'SecurityGroupssg_dirsource_c',
'custom_module' => 'SecurityGroups',
);
and Language file.
Once uploaded and installed(then Repair&Rebuild) the table "securitygroups_cstm"and the intended field is not created.
I can see the field in Studio so maybe i am missing something.
Note:
if i click “edit” button in field list in Studio and then click save(without any modification) the table is created successfully.
Apparently checking(grep -r “sg_dirsource_c” .) before and after i can’t see any difference.
What am i missing?
Regards