nerdexam
Salesforce

PDII · Question #333

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…

The correct answer is A. In targets, add lightning_RecordAction as a target. C. Set actionType to ScreenAction. D. Add a targetConfig and set targets to lightning_RecordAction. See the full explanation below for the reasoning.

Question

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.)

Options

  • AIn targets, add lightning_RecordAction as a target.
  • BIn targetConfigs, add lightning_AppPage as a target.
  • CSet actionType to ScreenAction.
  • DAdd a targetConfig and set targets to lightning_RecordAction.
  • ESet eventType to Action.

How the community answered

(22 responses)
  • A
    82% (18)
  • B
    5% (1)
  • E
    14% (3)

Community Discussion

No community discussion yet for this question.

Full PDII Practice