Google News
logo
Salesforce - Quiz(MCQ)
A visualforce page uses the Contact standard controller. How can a developer display the name from the parent account record on the page?
A)
Use an additional standard controller for Accounts
B)
Use SOQL syntax to find the related account name field
C)
Use additional Apex logic within the controller to query for the name field
D)
Use the {!contact.Account.Name} merge field syntax.

Correct Answer :   Use the {!contact.Account.Name} merge field syntax.

Advertisement