Change SharePoint Library URL
Asked Answered
T

9

24

How do you change the URI of a SharePoint library? Based on Google searching, most people say that changing the name of a library in Designer (via right click->rename) will result in the URI change, but it is only changing the name for me.

I am using SharePoint 2010 Foundation and these are the steps I am following:

  1. In Designer, navigate to List and Libraries
  2. Right click library -> rename
  3. Notice that name changes
  4. Notice that URI does not change

This is one of the resources I found claiming that this works:

change URL spelling/case on sharepoint library

Tradescantia answered 15/10, 2012 at 22:29 Comment(0)
L
39

In SharePoint Designer just navigate to All Files navigation node (not List and Libraries node), find your document library there -> right-click library -> rename.

The URI would change then.

Edit:

enter image description here

Lysine answered 16/10, 2012 at 14:15 Comment(4)
I do not see "All Files" under Site Objects. From what I have read this is a permissions issue. Does the URI change for you if you right click the library under "Lists and Libraries" and choose rename? This is what I have been doing and only the name will change. I wonder if this is a permissions issue.Tradescantia
I edited my answer. If you cant see All Files node in the navigation then maybe you are not site collection administrator for that site. Renaming library under List and Libraries is not working. The URI wont change then.Boot
all files => list => rename your list or library Under all files, there is not your library ;)Papke
+1 as this works, and fixed our issues! Must select "All Files" and rename the library from there. So far so good.Cerebrovascular
L
23

At least at SharePoint 2010 it is possible to change library URL, without using SharePoint Designer.

Just go to a library trough 'All Site Content'. When inside the library choose on the ribbon 'Library' tab. Then select 'Open with Explorer'. That will open your SharePoint's library in Windows Explorer window. Navigate one folder up and you will see list of your libraries as folders. Rename required library's folder name as you want the URL to look like.

Loft answered 12/6, 2013 at 5:42 Comment(2)
This feels like an odd workaround, but it was perfect for me! I had deleted "images" and then my next library named "images" was given a url of "images1" (because the original library still existed). Deleting the original folder and renaming the new changed the url.Saccharin
We encountered a breakage with this method which affects Microsoft Office column defaults in the Document Information Panel. Within a library's "forms" folder is a file named client_LocationBasedDefaults.html, which holds an XML definition of folder column defaults used by client applications such as MS Office. Within that file is an href containing the library URL. A rename via SharePoint designer updates that URL but renaming via Explorer View does not.Biannulate
G
3

SOLUTION:

Thank you! I found the suggested SharePoint Designer solution above to work beautifully!

Here are the steps that I took:

  1. Follow the instructions above by opening the List in SharePoint Designer, selecting All Files under the navigation node (near the bottom)
  2. A bunch of folders appeared - I selected the folder named 'Lists'.
  3. From here, it will show the list names and the display names. Change the actual name of the list (first column) by right-clicking on it, rename. This will update the url. You may wish to match this to your display name.
  4. When you return to your site, the navigation link for the list may still go to the old URL. To update this, enter in the new url in your browser, go to List Settings > Title, Description and Navigation. Simply hit the save button without making any changes. The navigation link is now updated.

Please note: If you are updating list urls and names of a project site (from Project Server), do not rename the Risks, Issues lists. These must remain for Project Server to function properly.

Gainer answered 9/1, 2014 at 16:1 Comment(0)
S
1

Thanks for this solution. I only have Designer permissions but was still able to change a List URL within the browser (not Sharepoint Designer, and must be IE to have Open in Explorer enabled). Steps:

  1. Go to Site Contents and open a Document Library in the site
  2. Click on Library ribbon tab and select Open In Explorer option
  3. Click up one level in the directory structure - there should be a Dir called 'Lists' - open
  4. Your List should be there to right click and rename.

I was surprised that the system let me do this (it didn't let me delete a document in the same DL that I need to get rid of), but after testing for some time the URL change seems to have held.

Finally - you might have to re-Resolve some views and overlays, as these might not automatically cascade with the new List location.

Cheers, Ross

Simonton answered 15/7, 2015 at 19:36 Comment(0)
W
1

I have changed the library URL from SharePoint Designer 2010, in the "Site Object" section --> "All files" option. Then I selected the right library in left pane and press F2 (to change name, like in windows) and worked for me. I hope that helps someone.

Wartime answered 28/7, 2015 at 19:58 Comment(0)
D
0

You cannot change Document Library URL , only name. If you want to have a new URL :

  1. Create a new document library with good URL
  2. Batch import all docs from old to new document library

warning :

  • all new imported doc will be flagged with username used in the import process
  • all datetime fields will be reinitialized
Dominga answered 16/10, 2012 at 7:44 Comment(1)
Sorry for downvoting, but the answer 'You cannot change Document Library URL' is definitely wrong and misleading, as one can easily change the URL, see the other answers (like via Windows Explorer or via the Object Model).Whoosh
D
0

I don't have Sharepoint Developper installed and can't install it. I needed to change the address of a List and not a library, so the "Open in Explorer" doesn't work for me (only get "Open in Access" and "Open in Project").

I managed to do it by opening Explorer by myself and paste the URL "http://MyServer/MySite/" (can be also "http://MyServer/MySite/MyPage/"). I got the "All Files" you get through Sharepoint Designer.

In my case I had to go to "Lists" and change the name of the folder for the list I wanted to change the name.

Next I had to change the name of the list from the "List properties" (to change back the visible name of the list)

Depolymerize answered 22/6, 2017 at 6:3 Comment(0)
R
0

I am only a Site Collection Administrator for a SharePoint online platform. The powershell and sharepoint designer usage are not within my access so the only option I have is the "Open in Explorer". I tried the steps seen online but didn't get the result. When I saw ragmaxone's step, I got an idea. Then I took the following steps:

  1. I copied my url without the document library eg "http://MyServer/MySite/MyDocLib/ is the URL of the document library but I copied "http://MyServer/MySite/ instead.

  2. Next I opened the document library in classic SPOnline because I use modern SPonline.

  3. Then I replaced the pathway address with the copied URL and saw all my document libraries as folders.

  4. With right clicking on the document library of interest, and renaming like is done in windows, I went back to my document library and saw page not found.(Don't worry! Something had changed already).

  5. Then I went to the homepage of the platformand navigated to the document library in question to see that it has been renamed and the URL also corresponds to the new name.

Thanks for all your answers and help.

Rufescent answered 22/1, 2020 at 9:43 Comment(0)
A
0

In Designer go to "All Files" -> then search for "List" folder ther you can find your List right click it rename it and boom. By going to Lists and Libraries tab from left menu will only change the title of list. So go to All files and follow the steps.

Abiogenetic answered 20/2, 2020 at 9:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.