[Vtigercrm-developers] [Vtigercrm-Developers] which uitype replicates multiple user selection like in filter?

Alan Lord alanslists at gmail.com
Tue Sep 27 07:41:45 GMT 2016


Couldn't you use the standard get_related_list function and add users to 
your module in the same way other n:n relationships are made?

e.g.:

> $users = Vtiger_Module::getInstance('Users');
> $module = Vtiger_Module::getInstance('MyModule');
>
> $module->unsetRelatedList($users, 'Users', 'get_related_list');
> $module->setRelatedList($users, 'Users', array('SELECT'), 'get_related_list');


Al

On 27/09/16 07:49, kiran wrote:
> How to make uitype 52 'll capable of selecting multiple items?
>
> Like....
>
> <http://vtiger-crm.2324883.n4.nabble.com/file/n19912/selecting_multiple.png>
>
> Thanks & Regards.
>
>
>
> --
> View this message in context: http://vtiger-crm.2324883.n4.nabble.com/Vtigercrm-Developers-which-uitype-replicates-multiple-user-selection-like-in-filter-tp19907p19912.html
> Sent from the vtigercrm-developers mailing list archive at Nabble.com.
> _______________________________________________
> http://www.vtiger.com/
>




More information about the vtigercrm-developers mailing list