Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetList: add "-Path" parameter for updating list URLs #2381

Merged
merged 5 commits into from
Sep 29, 2022

Conversation

fowl2
Copy link
Contributor

@fowl2 fowl2 commented Sep 26, 2022

Add -Path parameter for updating list URLs.

Considered calling it -Url but that would seem more appropriate if full URLs were expected to be the common form.

Looked into Folder.MoveToPath, but I think the built-in URL encoding/decoding guessing makes more sense here. "Shared Documents" and "Shared%20Documents" should both be "Shared%20Documents" rather than the later becoming "Shared%2520Documents".

Set-PnPList -Identity "Demo List" -Path "Lists/DemoList"
Set-PnPList -Identity "Shared Documents" -Path "Documents"

Type

  • Bug Fix
  • New Feature
  • Sample

@KoenZomers
Copy link
Collaborator

Thanks @fowl2 !

@KoenZomers KoenZomers merged commit c624e55 into pnp:dev Sep 29, 2022
@fowl2 fowl2 deleted the SetList-Path branch September 30, 2022 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants