カレンダーとアナウンスリストをカスタムWebテンプレートに追加する方法
-
10-12-2019 - |
質問
SharePoint 2010とVS2010を使用しています。
カスタムWebテンプレートを作成するためのこのチュートリアルを実装しました:
hthe http://usmanmughal.wordpress.com/2011/04/26/how-to-create-web-template-in-SharePoint-2010-using-feature/ "rel=" nofollow "> http://usmanmughal.wordpress.com/2011/04/26/how-to-create-web-template-in-SharePoint-2010-using-feature /
今すぐカレンダーリストをホームページに追加したいと思います。以下のような私のWebテンプレートファイルについて、そしてどうすればよいですか:
- defaultdws.aspx
- default.aspx
- onet.xml
- elements.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