You need to sign in to do that
Don't have an account?
meyerd
apex:relatedList list="Partners"
I am trying to display the Partners related list
I get a Visual Force error:
'Partners' is not a valid child relationship name for entity Opportunity.
Under Opportunity child Relationship I see the relationship name is 'Partners'
Code:
<apex:page standardController="Opportunity">
<apex:outputText value="{!Opportunity.Name}"/>
<!--<apex:relatedList list="OpenActivities"/>-->
<apex:relatedList list="Partners"/>
</apex:page>
'Partners' is not a valid child relationship name for entity Opportunity.
Under Opportunity child Relationship I see the relationship name is 'Partners'
All Answers
Try something like this ... I had a simillar issue this afternoon...
<apex:relatedList list="Partners__r"/>
It gives the same not valid message
'Partners__r' is not a valid child relationship name for entity Opportunity
OpenActivities works straight away but so far not Partners.
Hi Ron... I've tried out your solution and it throws...
Error: Component <apex:pageblocklist> has been deprecated and cannot be used in this page. Use component <apex:pageBlockTable
... is there any 'work around' for this available ATM?
Thanks
I simply used
<apex:tab label="Partners" name="Partners" id="tabpartners"> <apex:relatedList subject="{!opportunity}" list="OpportunityPartnersFrom" /> </apex:tab>
BTW, for the Account standard controller, use the following to list the Account Partners...
<apex:relatedList list="AccountPartnersFrom" />