[Vtigercrm-developers] vtlib & relatedListViews

Prasad prasad at vtiger.com
Sat Oct 6 11:04:35 PDT 2012


Alan,

Sorry for the delayed reply, I got busy on several tasks!!

The fields to be shown on the related list is pre-determined (array in the
module). You might need to initialize this based on the context before the
RelatedListView gets generated.

Give it a try...and share your feedback. It would be certainly an
interesting design to learn from and then adapt.

Regards,
Prasad

On Tue, Sep 11, 2012 at 7:14 PM, Alan Lord <alanslists at gmail.com> wrote:

> Hi all,
>
> In a vtlib module which has a couple of UI 10 fields (example: 1
> Contact, 1 Account), is it possible to create a different related list
> view layout depending on which module you are in?
>
> For example, when I am in an Account I do not need to see the related
> Account name in the related listview column for my module, but would
> like to see the related Contact name. When I then switch and am in a
> Contact, I would like the related list to show the Account name and not
> the Contact name...
>
> Secondly, I have noticed that if I create a vtlib module and I need two
> separate UI 10 fields to the same module (Say I want to have two linked
> Contacts but for different purposes), when you look at the
> relatedListView in the Contacts module you only ever see the relation to
> the first UI 10 Contact field and never the second one. Bug or "feature"
> ;-)
>
> Cheers
>
> Al
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20121006/93eb7eae/attachment.html 


More information about the vtigercrm-developers mailing list