사용자 정의 웹 템플릿에 캘린더 및 발표 목록을 추가하는 방법?
-
10-12-2019 - |
문제
SharePoint 2010 및 VS2010을 사용하고 있습니다.
사용자 정의 웹 템플릿을 만들기위한이 자습서를 구현했습니다.
이제 캘린더 및 공지 사항 목록을 홈 페이지에 추가하고 싶습니다.다음과 같은 웹 템플릿 파일 에서이 작업을 수행하는 방법은 다음과 같습니다.
- defaultdws.aspx
- default.aspx
- onet.xml
- 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.
제휴하지 않습니다 sharepoint.stackexchange