Salesforce Certified Platform Developer II — Question 179

A developer is asked to create a Lightning web component that will be invoked via a button on a record page. The component must be displayed in a modal dialog.

Which three steps should the developer take to achieve this? (Choose three.)

Answer options

Correct answer: A, C, D

Explanation

The correct steps involve adding lightning_RecordAction as a target, setting actionType to ScreenAction, and creating a targetConfig for lightning_RecordAction. The other options either pertain to incorrect targets or settings that do not apply to rendering the component in a modal dialog.