I am using sharepoint 2010 and VS2010.

I have implemented this tutorial for creating a custom web template:


Now I would like to add the calendar and announcements list to the home page. Where and how do I do this on my web template files like below:

  1. defaultdws.aspx
  2. default.aspx
  3. ONET.xml
  4. elements.xml

What to do in which file?

1 Answer 1


You need to modify Onet.xml file,


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

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

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


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.