You need to sign in to do that
Don't have an account?
Ben Merton
Trying to create tabbed related list on custom object
I am trying to create a tabbed related list on a custom object. The related list API name is Quality_Objective__c. As per this post, I have changed this to Quality_Objective__r. I have also tried Quality_Objective __c and just Quality_Objective, but it is returning an error on the page saying either:
1. 'Quality_Objective__r' is not a valid child relationship name for entity QMS
2. 'Quality_Objective__c' is not a valid child relationship name for entity QMS
3. 'Quality_Objective' is not a valid child relationship name for entity QMS
Please help!
1. 'Quality_Objective__r' is not a valid child relationship name for entity QMS
2. 'Quality_Objective__c' is not a valid child relationship name for entity QMS
3. 'Quality_Objective' is not a valid child relationship name for entity QMS
Please help!
<apex:page standardcontroller="QMS__c"> <apex:tabPanel > <apex:tab label="QMS" name="QMS" id="QMS"> <apex:relatedList subject="{!QMS__c}" list="Quality_Objective__r" /> </apex:tab> </apex:tabPanel> </apex:page>
Which object is the Parent of 'Quality_Objective__c'? that object's api name should be StandardController in <apex:page> tag.
see below example:
Thank You,
Hitesh Patel
Email :- hiteshpatel.aspl@gmail.com
http://mrjavascript.blogspot.in/
If the QMS__C is master and Quality_Objective__c child then check child relationship name on the field . I am thinking your object child object relationship name is "Quality_Objectives" Quality_Objective
if it is Quality_Objectives is chilld relationship name then you should use following code.
let me know if it helps you.
Thanks,
Anjith kumar