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.
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
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.
RegNav
5 months, 2 weeks agoUllr
7 months, 2 weeks ago