Salesforce Certified Platform Developer II — Question 278

The Account edit button must be overridden in an org where a subset of users still use Salesforce Classic. The org already has a Lightning Component that will do the work necessary for the override, and the client wants to be able to reuse it.
How should a developer implement this?

Answer options

Correct answer: C

Explanation

The correct answer is C because it allows the reuse of the Lightning Component specifically for Classic users by embedding it within a Visualforce page, while also providing a tailored experience for Lightning users with a dedicated Lightning Page. Option A is incorrect as it does not accommodate the Classic users properly, and option B fails to leverage the existing Lightning Component. Option D is misleading, as it suggests using the Lightning Component for Lightning but doesn't specify the proper use for Classic.