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?

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 I

Free dumps for CRT-450 in PDF format.

High quality CRT-450 PDF and software. VALID exam to help you pass.

Download Printable PDF. VALID exam to help you PASS.

4 thoughts on “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?

  1. 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}

    15
    2

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.