0
votes

I'm using the Add-PnPCustomAction command but I can't add an actiom to a SharePointo list. can you help me?

enter image description here

1

1 Answers

0
votes

Create SPFx extension to implement your custom ECB menu action.

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/guidance/migrate-from-ecb-to-spfx-extensions

As Custom JavaScript embedded via user custom actions are not supported currently.

Then, you could deploy by PnP PowerShell.

Add-PnPCustomAction -Title "title" -Name "name" -Location "EditControlBlock" -ClientSideComponentId SPFxcomponentid -ClientSideComponentProperties properties