문제

웹 인터페이스를 사용하여 SharePoint 2007에서 목록 이름을 바꿀 수 있습니까? 내비게이션 URL도 변경하고 싶습니다.

목록에서 설정 옵션을 사용하여 이름을 변경하려고 시도했습니다. 제목은 변경되지만 내비게이션 URL은 변경되지 않습니다.

도움이 되었습니까?

해결책

웹 UI를 통해 URL을 변경할 수 있는지 확실하지 않습니다.

그러나 목록을 템플릿으로 저장하고 해당 템플릿의 일부로 컨텐츠를 포함한 다음 목록을 삭제할 수 있습니다. 마지막으로 템플릿을 적용하여 새로 명명 된 (새 URL 포함) 목록을 가져옵니다.

다른 팁

나는이 같은 문제를 겪었고 SharePoint 디자이너에서 쉽게 해결했습니다. 모든 파일 목록으로 이동하여 목록을 찾아 마우스 오른쪽 버튼을 클릭하고 이름을 바꿔야합니다. URL이 변경됩니다. List & Libraries 옵션으로 이동하면 모든 파일로 이동해야합니다.

웹 UI에서는 이것을 할 수 없습니다.

또한 또 다른 팁. 필요한 경우 공백이있는 목록의 이름을 지정할 필요가 있지만 URL에서 Ugly %20 탈출 문자를 원하지 않습니다. 목록 정보 센터의 이름을 지정해야한다고 가정 해 봅시다. 먼저 공간이없는 목록을 만듭니다 : Infocenter. 그런 다음 돌아가서 제목의 이름을 Info Center로만 바꿉니다. 이제 URL에 20 대만 읽을 수있는 멋진 목록 이름을 가질 수 있습니다.

사용 사용 URL을 확실히 변경할 수 있습니다 SharePoint 디자이너. 나는 당신이 이것을 프로그래밍 방식으로 할 수 있다고 확신합니다.

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/

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

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 for changing the name:

  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"
  5. Edit the name and you are through.

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

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.

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.

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top