The Review_c object has a lookup relationship up to the Job_Application_c object. The Job_Application_c object has a master-detail relationship up to the Position_c object. The relationship field names are based on the auto-populated defaults.
What is the recommended way to display field data from the related Position_c record on a Visualforce page for a single Review_c record?
A. Use the Standard Controller for Review_c and cross-object Formula Fields on the Position_c object to display Position_c data.
B. Use the Standard Controller for Job_Application_c and a Controller Extension to query for Position_c data.
C. Use the Standard Controller for Job_Application_c and cross-object Formula Fields on the Review_c object to display Position_c data.
D. Use the Standard Controller for Review_c and expression syntax in the Page to display related Position_c data through the Job_Application_c object.
CRT-450: Salesforce Certified Platform Developer IFree dumps for CRT-450 in PDF format.High quality CRT-450 PDF and software. VALID exam to help you pass. |
The solution for the above question is Utilize the Standard Controller for Position_c and a Controller Extension to query for Review _ C data.
https://developer.salesforce.com/forums/?id=906F0000000g1wyIAA
https://developer.salesforce.com/forums/?id=906F0000000kHZeIAM
I believe the correct answer is B
The correct answer is D
Since the data must be viewed in a singel Review__c record, we can use the standard controller of Review__c object and bring the related Position__c record data using expression syntax.
For exemple, if we have an opportunity record and we want to collect the opportunity’s account owner’s name to a visualforce, while using standard controller we can use the following expression to do so:
{!Opportunity.Account.Owner.Name}
The correct answer is A