[Vtigercrm-developers] V6 Beta Pick List Question
Adam Heinz
amh at metricwise.net
Fri Aug 16 16:01:15 UTC 2013
Yeah, I've done it -- I actually created a lead sources module around the
existing picklist. I'm looking at my old scripts I did to do it and they
aren't pretty -- it's bare SQL from back in my 5.0.4 days before I started
using vtlib in all my scripts.
Basically, just use vtlib to create the module as usual, but when you
create the Vtiger_Fields, DON'T set $field->columntype. That tells it to
use the already existing table column instead of creating a new one. Then
you'll need to back fill the vtiger_crmentity rows (assuming you're
building off an existing picklist) and decide what behavior you want to
enforce when picklist options are changed.
On Fri, Aug 16, 2013 at 11:27 AM, Daniel Thompson <developingdanny at gmail.com
> wrote:
> Yes....
>
> Similar to uitype 57 where it becomes a Multi Picklist
>
>
> On 16 August 2013 15:49, Adam Heinz <amh at metricwise.net> wrote:
>
>> Picklists aren't module specific? Are you talking about using entities
>> created in one module as a picklist?
>>
>>
>> On Fri, Aug 16, 2013 at 10:31 AM, Daniel Thompson <
>> developingdanny at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Can you create a picklist from another module?
>>>
>>> Regards
>>>
>>> Danny
>>>
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130816/0c7a9fbc/attachment.html>
More information about the vtigercrm-developers
mailing list