nerdexam
Salesforce

CRT-450 · Question #218

Consider the following code snippet for a Visualforce page that is launched using a Custom Button on the Account detail page layout. When the Save button is pressed the developer must perform a…

The correct answer is B. Controller extension. See the full explanation below for the reasoning.

Question

Consider the following code snippet for a Visualforce page that is launched using a Custom Button on the Account detail page layout. When the Save button is pressed the developer must perform a complex validation that involves multiple objects and, upon success, redirect the user to another Visualforce page. What can the developer use to meet this business requirement?

Exhibit

CRT-450 question #218 exhibit

Options

  • ACustom controller
  • BController extension
  • CValidation rule
  • DApex trigger

How the community answered

(34 responses)
  • A
    9% (3)
  • B
    71% (24)
  • C
    15% (5)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full CRT-450 Practice