0

How could I create a template for a subsite? I have only got it to work to create a template for a site collection, using a site definition.

How should I do it when using a subsite ?

Here is a guide, http://community.office365.com/en-us/f/148/t/206829.aspx but I want to do like this but using Visual Studio?

0

Creating site definitions for site collections is the same as creating them for subsites, you will need to make sure that the features activated in your onet.xml for the subsite definition are scopred to web not site.

| improve this answer | |
  • How do u mean? An example? – Batistuta Mar 5 '15 at 11:02
  • i dont have a feature for my site definition? – Batistuta Mar 5 '15 at 11:07
  • i dont have entered anything in onet.xml? – Batistuta Mar 5 '15 at 11:30
  • i want to create a subsite on my publishing site and not only in root site ? – Batistuta Mar 5 '15 at 14:22
  • Yes, you need to create another configuration for your site, similar to the configuration you did for you root site definition, this way you will have another type of site you can use. Refer to these articles: rajbandi.net/… sharepoint-tutorial.net/post/2012/03/27/… – user19105 Mar 5 '15 at 15:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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