You need to sign in to do that
Don't have an account?
cjen
VF list of Contacts on child object of Accounts
Hi,
We have an Account child object call Client Fact Sheet. What I would like to do is list all Contacts related to the Account and show that list on the Client Fact Sheet page layout. I thought this can be done with a Visualforce page displayed on the layout. Can someone outline what should be done to achieve this? Thanks!
We have an Account child object call Client Fact Sheet. What I would like to do is list all Contacts related to the Account and show that list on the Client Fact Sheet page layout. I thought this can be done with a Visualforce page displayed on the layout. Can someone outline what should be done to achieve this? Thanks!
Basically, in the controller, get all related contacts in a list; in VF, list all contacts in repeating components, ie. apex:datatable, apex:repeat; finally, put VF on the layout.
You can use VF and <apex:relatedList /> and Use that vf as component in Page Layout.
--
Regards,
Swayam
@Salesforceguy