You need to sign in to do that
Don't have an account?
avimeir
Adding related list to custom VF page
Hi all,
I have an object Services that connects two custom objects using master-detail relationship.
I've built a VF page and want to add a related list for this object. How do I do it?
Tried
<apex:relatedList list="Services" />
But nothing shows.
Thanks
I'd expect you to have to use the custom relationship name:
Doesn't work.
Just to clarify, I have the following custom objects:
Reservation__c
Service__c
ReservationServiceJunction__c ===> This one connects to Reservation__c and to Service__c using master-detail
I am building a VF page that uses the Reservation__c controller , and there I want to show all ReservationServiceJunction__c objects that have the current Resertvation__c as object
So I'd expect the related list to be 'ReservationServiceJunction__r'.
I tried, still doesn't work. Here's the full page code:
Have you verified the name of the related list using the schema explorer?