I would like to deploy a web template which has absolutely no dependency with the created site so that I could retract the web template solution from the farm, and the sites created with it would continue working.

How can I ensure that there is no dependencies between the web template solution package and the created site collections?

I am trying to only provision content: Add a new Default.aspx (I'm creating the web template from STS#0), add a master page, add list instances and web parts.

  • 2
    This seems like a strange requirement. Why exactly do you need to do this? Is it to mitigate migration risks? Jan 6, 2014 at 17:47
  • Yes and possible O365 migration later on. Also, I only want to use web templates for provisioning content, so being always in the future dependent on the solutions seems a big price to pay. The cost of versioning the templates is also likely to increase pretty much I think.
    – thomius
    Jan 7, 2014 at 7:04
  • Also, I'm kind of looking things from the perspective of remote provisioning; Microsoft seems to be pushing its customers there and it also would be my primary choice.
    – thomius
    Jan 7, 2014 at 7:14

1 Answer 1


When you create a site using a Web Template there is no dependency from that site to the Web Template that created it, that's one of the major differences between Site Templates and Web Templates.

BUT the Web Template may use custom features which then create a dependency between the Site and the solution(s) containing these features. These dependencies may come from the fact that the features contains <Module> elements which provisions files and the site then becomes dependent on these files existing in the file system as long as the files are uncustomized or they may contain List definitions.

If you want a custom page and master page, but with no dependency to the feature, then you have to create the page and master page using code.

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.