[Vtigercrm-developers] How to add one more module value inside the project "Related To" picklist?
Alan Lord
alanslists at gmail.com
Tue Sep 27 08:06:41 GMT 2016
On 27/09/16 08:39, kiran wrote:
> Hi,
>
> I'm going to add one more module inside the *dropdown* of below relatedto
> picklist field which is there in *Project* module the field name is *Related
> to*.
>
> <http://vtiger-crm.2324883.n4.nabble.com/file/n19914/project.png>
>
> Is it possible to do with existing structure or i need to created another
> field.
Yes, this is possible *if* the field is UIType 10.
Something like this:
> $field = Vtiger_Field::getInstance('field_name', $module);
> $field->setRelatedModules(Array('Accounts', 'Contacts', 'Project));
Al
More information about the vtigercrm-developers
mailing list