カレンダーとアナウンスリストをカスタムWebテンプレートに追加する方法

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

  •  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テンプレートファイルについて、そしてどうすればよいですか:

  1. defaultdws.aspx
  2. default.aspx
  3. onet.xml
  4. 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.

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top