You need to sign in to do that
Don't have an account?
mark@rally
Controllers and Related Lists
For a standard controller like Account, you may reference Contacts and Opportunities like {!account.Contacts} and {!account.Opportunities}.
For a custom object, does the standard controller manage related lists? For example, I have a custom object, Product__c. Product__c has many features. Each feature is a custom object, Feature__c. Is there a method with the standard controller to get the features for Product__c like {!Product__c.Features}? Or do I have to write a custom controller? And if I write a custom controller, can I extend the standard controller?
A lot of questions so thanks in advance.
For a custom object, does the standard controller manage related lists? For example, I have a custom object, Product__c. Product__c has many features. Each feature is a custom object, Feature__c. Is there a method with the standard controller to get the features for Product__c like {!Product__c.Features}? Or do I have to write a custom controller? And if I write a custom controller, can I extend the standard controller?
A lot of questions so thanks in advance.
You can include (or exclude) related lists from a standard controller with a parameter when you specify the object, as in
Code:
for instance. It's one of the great virtues of standard controllers - you can bring in all the standard Force.com functionality.
Hope this helps.