You need to sign in to do that
Don't have an account?
Josephine But
Quick action button for component(lwc) on the list view
Hi,
I want to add a quick action button for my component(lwc) on the list view. And in my js-meta.xml, I added the following :
<targets>
<target>lightning__AppPage</target>
<target>lightning__HomePage</target>
<target>lightning__RecordPage</target>
<target>lightning_RecordAction</target>
</targets>
<targetConfigs>
<targetConfig targets="lightning_RecordAction">
<actionType>Action</actionType>
</targetConfig>
</targetConfigs>
but I got the following error message when I tried to add it to my org:
'lightning_RecordAction' target is not a valid target.
Anyone knows how to add a quick action button to the component (lwc) on the list view? Any example or reference is appreciated.
Thanks,
Jo
I want to add a quick action button for my component(lwc) on the list view. And in my js-meta.xml, I added the following :
<targets>
<target>lightning__AppPage</target>
<target>lightning__HomePage</target>
<target>lightning__RecordPage</target>
<target>lightning_RecordAction</target>
</targets>
<targetConfigs>
<targetConfig targets="lightning_RecordAction">
<actionType>Action</actionType>
</targetConfig>
</targetConfigs>
but I got the following error message when I tried to add it to my org:
'lightning_RecordAction' target is not a valid target.
Anyone knows how to add a quick action button to the component (lwc) on the list view? Any example or reference is appreciated.
Thanks,
Jo
Please, check out this link to a complete tutorial on How to use Lightning Web Component’s in List View Buttons :
https://codingwiththeforce.com/salesforce-development-tutorial-lwc-how-to-use-lightning-web-components-in-list-view-buttons/
Thanks for liking my comment if it helps you.
Julien