You need to sign in to do that
Don't have an account?
MilesS
'Rent_Schedules__r' is not a valid child relationship name for entity Opportunity
Hey, I am having an issue with a visualforce page. I can't see to get the list to load. I have checked my permissions & don't have any issues with my code. I have also tried different variations of the list name (Rent_Schedules__r,Rent_Schedule__r,Rent_Schedules__c,Rent_Schedule__c). I believe the correcet sintax is Rent_Schedules__r. Do you have any idea of what could be the issue?
Error Message: 'Rent_Schedule__r' is not a valid child relationship name for entity Opportunity
Error Message: 'Rent_Schedule__r' is not a valid child relationship name for entity Opportunity
<apex:page standardController="Opportunity"> <apex:relatedList list="Rent_Schedules__r" pageSize="50" rendered="{!$ObjectType.Rent_Schedules__c.accessible}"/> </apex:page>
You can go to workbench (https://workbench.developerforce.com) and login using org credentials, navigate to Info and then "Standard and Custom objects". Select Opportunity and view all child relationship names, find the object relationship name you are looking for.
Thanks