Alan,<div><br></div><div>Sorry for the delayed reply, I got busy on several tasks!!</div><div><br></div><div>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. </div>

<div><br>
</div><div>Give it a try...and share your feedback. It would be certainly an interesting design to learn from and then adapt.</div><div><br></div><div>Regards,</div><div>Prasad<br><br><div class="gmail_quote">On Tue, Sep 11, 2012 at 7:14 PM, Alan Lord <span dir="ltr">&lt;<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
In a vtlib module which has a couple of UI 10 fields (example: 1<br>
Contact, 1 Account), is it possible to create a different related list<br>
view layout depending on which module you are in?<br>
<br>
For example, when I am in an Account I do not need to see the related<br>
Account name in the related listview column for my module, but would<br>
like to see the related Contact name. When I then switch and am in a<br>
Contact, I would like the related list to show the Account name and not<br>
the Contact name...<br>
<br>
Secondly, I have noticed that if I create a vtlib module and I need two<br>
separate UI 10 fields to the same module (Say I want to have two linked<br>
Contacts but for different purposes), when you look at the<br>
relatedListView in the Contacts module you only ever see the relation to<br>
the first UI 10 Contact field and never the second one. Bug or &quot;feature&quot; ;-)<br>
<br>
Cheers<br>
<br>
Al<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>