Created
September 16, 2018 11:29
-
-
Save AsishP/6abdd61c07e07cc380a8364030b7ce1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$credentials = Get-Credential | |
Connect-PnPOnline "https://<your-tenant>.sharepoint.com/sites/<target-site>" -Credentials $credentials | |
## You can use the following PnP cmdlet | |
## ClientSideComponentId from Manifest.Json of the extension | |
Add-PnPCustomAction -Name "<CommandSetName>" -Title "<CommandSetTitle>" -Description "<Text>" -RegistrationId "101" -RegistrationType List -ClientSideComponentId "<Id from Manifest.json>" -Location "ClientSideExtension.ListViewCommandSet" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment