function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NTNT 

Problem in relatedlist control

Hi All,
 
I m creating a visual force page for campaign details.
i want some related lists from two different objects(Campaign and Opportunity) on this page with out the details so i m using relatedlist control.
 
Every thing is going fine.
 
If i hide any related list from the page layout of the object then my page is showing me below error.
 
'SupportingObjectives__r' is not a valid child relationship name for entity Campaign
 
Can anybody solve this issue?
 
Thx in advanced..
 
Nitin Gupta