exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 352 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 352
Topic #: 1
[All Certified Platform Developer II Questions]

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

  • A. In targets, add lightning_RecordAction as a target.
  • B. In targetConfigs, add lightning_AppPage as a target.
  • C. Set actionType to ScreenAction.
  • D. Add a targetConfig and set targets to lightning_RecordAction.
  • E. Set eventType to Action.
Show Suggested Answer Hide Answer
Suggested Answer: ACD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
RegNav
5 months, 2 weeks ago
agreed ACD. To set up a Lightning web component as a quick action on a record page, define the metadata in <component>.js-meta.xml. Define a lightning__RecordAction target and specify actionType as ScreenAction for a screen action that opens in a window or Action for a headless action that executes when clicked. Here’s the configuration for a headless action. https://help.salesforce.com/s/articleView?id=release-notes.rn_lwc_quick_actions.htm&release=232&type=5
upvoted 1 times
...
Ullr
7 months, 2 weeks ago
rly ACD https://help.salesforce.com/s/articleView?id=release-notes.rn_lwc_quick_actions.htm&release=232&type=5
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago