What happened to Add-PnPClientSideWebPart? #3524
Unanswered
agaskelluk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I used to use the Add-PnPClientSideWebPart for adding custom js to modern pages with the previous deprecated SharePoint PnPPowershell. This cmdlet no longer exists in the current PnP PowerShell. I don't see a replacement in any of the cmdlets available.
Please advise if I am missing something and how I should add custom js to a modern page, without using SPFx Application customizer or script editor WP.
Thanks
...I got an update from the devs that Add-PnPPageWebPart is an alias, but I fail to see how this can be when the params don't take any script as an argument.
Beta Was this translation helpful? Give feedback.
All reactions