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?

1 Answer 1

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.

9
  • How do u mean? An example? Commented Mar 5, 2015 at 11:02
  • i dont have a feature for my site definition? Commented Mar 5, 2015 at 11:07
  • i dont have entered anything in onet.xml? Commented Mar 5, 2015 at 11:30
  • i want to create a subsite on my publishing site and not only in root site ? Commented Mar 5, 2015 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/… Commented Mar 5, 2015 at 15:51

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.