...
After renaming a library in SharePoint Online it’s not possible to select find this library using in the edit mode of the SharePoint List macro in Confluence.
...
Note |
---|
Renaming the rootfolder will also result in a changed url to access this library! References containing the old rootfolder will not work anymore. |
Steps to rename the rootfolder:
Install the latest release of PnP Powershell on your client
Open the PowerShell ISE
Paste the following script into a new window:
Code Block language powershell $siteUrl = "<PASTE THE URL TO YOUR SHAREPOINT SITE THAT CONTAINS THE LIST>" $oldListName = "<PASTE THE OLD NAME OF THE LIBRARY>" $newListName = "<PASTE THE NEW NAME OF THE LIBRARY>" Connect-PnPOnline $siteUrl Rename-PnPFolder -Folder $oldListName -TargetFolderName $newListName
Replace the values for siteUrl, oldListName and newListName
Run the script and if prompted enter the credentials of the account you want to use to perform the renaming (the account needs at least edit permissions on the list)
...