사용자 정의 웹 템플릿에 캘린더 및 발표 목록을 추가하는 방법?

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/63178

  •  10-12-2019
  •  | 
  •  

문제

SharePoint 2010 및 VS2010을 사용하고 있습니다.

사용자 정의 웹 템플릿을 만들기위한이 자습서를 구현했습니다.

http://usmanmughal.wordpress.com/2011/04/26/how-to-create-web-template-in-sharepoint-2010-using-feature/

이제 캘린더 및 공지 사항 목록을 홈 페이지에 추가하고 싶습니다.다음과 같은 웹 템플릿 파일 에서이 작업을 수행하는 방법은 다음과 같습니다.

  1. defaultdws.aspx
  2. default.aspx
  3. onet.xml
  4. element.xml

    어떤 파일에서 수행 할 작업

도움이 되었습니까?

해결책

You need to modify Onet.xml file,

http://msdn.microsoft.com/en-us/library/ms474369(v=office.12).aspx

If you go through article link I given above you will figure out that in Onet.xml file you need to add

<ListTemplates>
  <ListTemplate .. tag for calendar list and then />
  <ListTemplate .. tag for calendar list and then />
</ListTemplates>

You will need to change list template type for calendar and annoucement in list template, I will let you do it yourself.

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