function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rung41Rung41 

Is this possible?

Is it possible using VisualForce to display two Contact related lists on the Account object?  Ideally, I would like to seperate the contacts based on recordtype.
Best Answer chosen by Rung41
NagendraNagendra (Salesforce Developers) 
Hi Rung,

You can achieve it by doing the following :
  • Create two lookups of Account object (Parent object) on Contact (Child Object)
  • On child object, you can make these lookup visible based on record types.
  • These two lookups on Contact object will show two related lists on Account object.
I hope with this you would be able to achieve two related lists with out of box feature.

Hope this helps.

Kindly mark this as solved if the reply was helpful so that it gets removed from the unanswered queue which results in helping others who are facing a similar issue.

Thanks,
Nagendra