views:

3271

answers:

10

Is it possible to rename a list in Sharepoint 2007 using the web interface? I would like navigation url to change as well.

I have tried change the name using the settings option on the list. This will change the title but not the navigation url.

+4  A: 

I'm not sure that changing the url is possible through the web UI.

However, you could probably save the list as a template, include the content as part of that template, and then delete the list. Finally, apply the template to get a newly named (with new url) list.

Martin Peck
I've done this and it works, however, list item creators and create dates get reset to whoever created the new list, and when it was created.
Ryan Michela
This is a long-winded way of doing it with several downsides, I would use one of the other methods described.
e100
+3  A: 

You can definitely change the URL using SharePoint Designer. I'm quite sure you can also do this programmatically.

Henrique Zacchi
+2  A: 

The list will get the name you created it with so create the list and then set the localised name afterwards

if (site.Lists.Exists(Constants.MyListName, out myList))
{
    myList.Description = Resources.My_Lists.My_List_Description;
    logger.Write("List {0} already exists on site {1}", Constants.ListNames.MYLIST,site.Url);
}
else
{
    Guid listGuid = site.Lists.Add(Constants.ListNames.MYLIST,   
                    Resources.My_Lists.MyList_List_Description,
                    SPListTemplateType.DocumentLibrary);
    myList = site.Lists.GetList(listGuid, false);
    logger.Write("Created list {0} on site {1}", Constants.ListNames.MYLIST, site.Url);
}
myList.NoCrawl = true;
myList.Title = Resources.My_Lists.My_Inbox_List_DisplayName;
myList.EnableVersioning = true;
myList.EnableMinorVersions = false;
myList.Update();

When you then need the list you get it using the internal Name which will be the same name as in Constants.ListNames.MYLIST

list = (from SPList l in web.Lists
                        where l.RootFolder.Name.Equals(listInternalName, StringComparison.InvariantCulture)
                        select l).FirstOrDefault();

I think it is a good practice to stay away from the Display name see this article regarding problems with fields in Sharepoint

http://www.buro9.com/blog/2007/02/26/sharepoint-splistitem-quirks/

salgo60
A: 

The internal name for lists is pretty messy and killing it in code or by manipulating the files may break some custom web parts, workflows, or cause orphaning. For these reasons, I would leave the internal name alone rather than risk causing something to break in the name of vanity. If the client was requesting the change, however, I would save the template as Martin says and use that to rename your list.

Jeremy
A: 

Once you create a list or doc library, the url cannot be changed using the web interface - you're stuck with it unless you modify it using something like Powershell or SharePoint Designer.

I highly recommend making it a habit to initially create the lists/libraries with a shortened/clean url, then immediately renaming the lists/libraries to its "nice" name for everyone to read clearly.

elorg
+1  A: 

It looks like you can change the url in Windows Explorer. The library/list still exist and can be edited.

A: 

Hi, I'm new to Sharepoint, but I have successfully renamed a list. This is what I did:

  • Created a "Network Place", which is actually a WebDAV location for the site
  • Renamed the list in Windows Explorer
  • Removed/Added the "new" list to the Quick Launch.

The URL is changed, as the old name is no longer valid.

Hope it helps.

pfonseca
A: 

Sometimes, you start working with a list naming it as Beta list, test, site version 1 etc and then you realize that you need to change the name of the list. Here's the step by step procedure..

  1. Click "Site Actions" and select "Site Settings"
  2. Under "Site Administration" select "site libraries and lists" 3 Select the list you want to customize 4 Under General Settings select "Title, description and navigation"
  3. Edit the name and you are through.

This should not modify the hyper connections and various views of the list.

Ashish Jhawar
A: 

Great Ashish Jhawar it worked for me.

Venkat
+1  A: 

I had this same issue and I resolved it easily in SharePoint Designer. You have to go to All Files listing, find the list, right click and Rename. This will change the URL. You won't have this option if you go to the List & Libraries option, you have to go to the All Files one.

You cannot do this in the Web UI.

Also, another tip. If you need you have a need to name a list with spaces, but don't want the ugly %20 escape characters in the URL. Say you need to name your list Info Center. First create the list with no space: InfoCenter. Then go back and rename the Title only to Info Center. Now you will have the a nice readable list name, as well as no %20's in your URL.

Shane