Friday, 31 July 2015

Change the URL of Existing SharePoint List or Library - Video tutorial by Webucator

In January this year I published an article called Change the URL of existing SharePoint List/Library[Tip] . After some time I was contacted by Webucator, they liked the solution from my article and asked for permission to create a video tutorial based on it. If you don't know them, Webucator is providing onsite and online technical and business trainings.
I was notified today that the video is published and it is really well explained, you can check it out below. Webucator provides a wide variety of technical trainings including SharePoint. If you are looking for SharePoint trainings be sure to check what SharePoint Classes are available at Webucator, you can also find many free tutorials on their site.

6 comments:

  1. I am getting this error:
    Add-PSSnapin : The Windows PowerShell snap-in 'Microsoft.SharePoint.Powershell' is not installed on this computer.

    Is it for on-premise only?

    ReplyDelete
  2. Hi Vincent,

    Yes this way is on-prem only. Guess the same thing can be done via CSOM for SharePoint Online, but you can simply try to rename the rootfolder with SharePoint Designer or in the Explorer View. However first test with non-production list.

    ReplyDelete
  3. Ah ok, I tried it with SharePoint Designer and I am getting "Server error: The attempted operation is prohibited because it exceeds the list view threshold enforced by admin". So I thought maybe I can do it via powershell but I guess not.

    ReplyDelete
    Replies
    1. Try this quick script. It is using MoveTo method of the root folder. It will change the Url and the title. Not sure about the view threshold. Use on your own risk!https://docs.google.com/document/d/1lCjTMmmxcXDRRLwvI8_yE-853SpsZRx3Cq0XEwHh0Dk/edit?usp=sharing

      Delete
    2. $listTitle = "Legal Docs" -> Old URL name?
      $newRootFolderName = "DCS" -> New URL name?

      Delete
    3. $listTitle is the Old Title. and $newRootFolderName will be the last segment from the url httpsL///$newRootFolderName

      Delete