[Vtigercrm-developers] Multiple contacts connected to a single field

Sukhdev Mohan s.mohan at myti.it
Thu Oct 1 13:53:44 GMT 2020


Can you suggest how can I achieve the aforementioned behaviour?

Best Regards,
Sukhdev Mohan | Software Developer

Myti S.r.l - share the path
Via Branze 44, Brescia

tel  030 35.34.823
fax 030 51.09.322
https://www.myti.it/







> Il giorno 1 ott 2020, alle ore 14:04, Uma S <uma.s at vtiger.com> ha scritto:
> 
> Hi Mohan,
> 
> There is no such hard rule on how you save the data, As reference data is related to records without proper formatting will be hard to process the data.
> 
> On Thu, Oct 1, 2020 at 3:12 PM Sukhdev Mohan <s.mohan at myti.it <mailto:s.mohan at myti.it>> wrote:
> Hi Uma & all,
> 
> I’ve managed to view and select the contacts, but it’s not saving them.
> 
> My use case:
> Custom module with 5 fields which are multi choice pick-list on contacts and some other text fields. 
> For testing purpose I’ve started with one field, after success I’ll try and connect the others too.
> 
> Looking at the Events/models/Record.php I can see that there is a cntactivitiesrel table, is it necessary or we can store values in custom table field? Please help.  
> 
> Best Regards,
> Sukhdev Mohan | Software Developer
> 
> 
> 
> 
> 
> 
> 
>> Il giorno 1 ott 2020, alle ore 09:53, Sukhdev Mohan <s.mohan at myti.it <mailto:s.mohan at myti.it>> ha scritto:
>> 
>> Hi uma,
>> 
>> I can see the combo box but when I select add thay aren’t added 
>> Best Regards,
>> Sukhdev Mohan | Software Developer
>> 
>> Myti S.r.l - share the path
>> Via Branze 44, Brescia
>> 
>> tel  030 35.34.823
>> fax 030 51.09.322
>> https://www.myti.it/ <https://www.myti.it/>
>> 
>> 
>> 
>> 
>> 
>> 
>>> Il giorno 1 ott 2020, alle ore 07:29, Uma S <uma.s at vtiger.com <mailto:uma.s at vtiger.com>> ha scritto:
>>> 
>>> Hi Mohan,
>>> 
>>> Please do analyze getFieldDataType() api of Events module in Field.php for more details.
>>> 
>>> On Wed, Sep 30, 2020 at 9:51 PM Sukhdev Mohan <s.mohan at myti.it <mailto:s.mohan at myti.it>> wrote:
>>> Hi uma,
>>> 
>>> I’ve copied fields.php and Multiplereference UI file (both php and ppl) still not working… can you share the exact procedure?
>>> Best Regards,
>>> Sukhdev Mohan | Software Developer
>>> 
>>> Myti S.r.l - share the path
>>> Via Branze 44, Brescia
>>> 
>>> tel  030 35.34.823
>>> fax 030 51.09.322
>>> https://www.myti.it/ <https://www.myti.it/>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> Il giorno 30 set 2020, alle ore 17:27, Uma S <uma.s at vtiger.com <mailto:uma.s at vtiger.com>> ha scritto:
>>>> 
>>>> Hi Mohan,
>>>> 
>>>> Yes! uitype 57 is of reference field type, For Events module this has been customized on Field.php for fieldname as 'multireference' field type.
>>>> 
>>>> On Wed, Sep 30, 2020 at 8:15 PM Sukhdev Mohan <s.mohan at myti.it <mailto:s.mohan at myti.it>> wrote:
>>>> Hi,
>>>> 
>>>> Is there a way that let me connect multiple contacts to a single field in a module? I heard of uitype 57 bu it's single.. I want to replicate the behaviour in selecting contacts in Event creation in Calendar.
>>>> 
>>>> Anyone has a clue how to do?
>>>> -- 
>>>> Best Regards,
>>>> Sukhdev Mohan
>>>> _______________________________________________
>>>> http://www.vtiger.com/ <http://www.vtiger.com/>
>>>> 
>>>> -- 
>>>> With
>>>> Best Regards
>>>> Uma.S
>>>> Vtiger Team
>>>> _______________________________________________
>>>> http://www.vtiger.com/ <http://www.vtiger.com/>
>>> _______________________________________________
>>> http://www.vtiger.com/ <http://www.vtiger.com/>
>>> 
>>> -- 
>>> With
>>> Best Regards
>>> Uma.S
>>> Vtiger Team
>>> _______________________________________________
>>> http://www.vtiger.com/ <http://www.vtiger.com/>
> 
> _______________________________________________
> http://www.vtiger.com/ <http://www.vtiger.com/>
> 
> -- 
> With
> Best Regards
> Uma.S
> Vtiger Team
> _______________________________________________
> http://www.vtiger.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20201001/f366bb92/attachment-0001.html>


More information about the vtigercrm-developers mailing list