Sunday, February 13, 2011

How do you change the address of a document library?

I have a site with multiple document libraries in it. One of the site users has full control of the site & at one point, instead of creating a new document library, they renamed the default document library from "Shared Documents" to "Correspondence". Now they've opened the document library in windows explorer, so it's added an entry into their network places. The name of the entry was "Shared Documents on portal.mydomain.net" and not "Correspondence on portal.mydomain.net". This is because the address of the library is still "Shared Documents". I went into the user's network places and renamed the entry, however I would prefer to have the address changed as well, so that future users do not run into the same problem.

I looked in the Document Library Settings but couldn't find a place to change the address there. The address gets displayed in "Title, description and navigation" but there is no option to change it. I tried looking under Site Actions > Site Settings > Content and structure to see if there was any way to change the address there. However, when I check off the Correspondence document library and pull down the actions menu, "Move" is greyed out.

I suppose that I could save the library as a template, include the content & make a new library in the proper address, but then the modified by information would all be wrong.

Any ideas?

  • Renaming the document library in SharePoint Designer changes the address.

    Kwirk : Ok, you totally rock. That worked. Thanks foxy!!
    From foxy
  • I have a similar problem, but I need to move the document library into a sub-site and renamne it. I have looked in the UI and the object model, but don't seem to find an easy way to do it. The 'Move' option is not available in the UI, and there doesn't seem to be an easy way through code, i.e., no URL property I can modify or Move method I can use.

    I don't really want to have to create a new library and migrate all the content.

    Abs : You can use Gary Lapointe's stsadm extensions, specifically gl-exportlist and gl-import list to move a document library. Here's a link to a list of them: http://stsadm.blogspot.com/2007/08/stsadm-commands_09.html.

0 comments:

Post a Comment