Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm getting ready to create a product for SharePoint, and I'd like it to be as easy as possible for people to deploy and use.

I was planning on using a Site Definition, since this seems like a great way to have an installable solution. Just create an installer that runs powershell or something nice!

However, I've been reading a lot about Web Templates lately, and the idea of having a Sandbox compatible solution seems like a good way to market to /sites/ users, who have no server side access.

The problem I'm working with, is that a Site Definition can be added easily by a SCA in the create subsite menu, whereas a Web Template seems to be deployable ONLY from Central Admin, which defeats the purpose a little bit. What am I missing in making this decision?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Have you had a chance to look over the following link?

http://blogs.msdn.com/b/vesku/archive/2010/10/14/sharepoint-2010-and-web-templates.aspx#sitetemplate

"One of the consideration with the site templates is also the fact that unless you import them to Visual Studio and modify its settings, they are only available on site collection level (site collection scoped feature), which means that to be able to have the template available from multiple locations, we’ll have to either deploy the site template as sandbox solution to multiple site collections or deploy it as full trust solution and then activate the particular feature in site collections to have the template available."

then

"When we have our web template created, we’ll associate the element file to feature, which will be responsible of deploying the web template. WebTemplate element is supported in two scopes, which are Farm and Site. This means that we can deploy the web templates to be available either throughout the farm or based on site collection scoped feature activation. It’s important to notice that dispute the fact that we’d be using site collection scoped feature for deployment, we can still deploy the web template using farm scoped feature. This would for example give us possibility to filter the options available from the Create site functionality, based on feature activation status."

From what I have read, web templates are the way to go

share|improve this answer
    
But this would still mean that the sites HAVE to be created in Central Admin, yes? –  Wesley Jun 22 '12 at 19:44
    
"Once the feature has been activated on a site collection users within that site collection can create sites using the template." –  bitterac Jun 22 '12 at 20:39
    
Created a small example and WAS able to deploy it from the "Create" menu inside of viewlsts –  Wesley Jun 22 '12 at 21:01
    
I'm glad you asked about this, you really gain so much more by using web templates –  bitterac Jun 22 '12 at 21:02
    
Thanks. Are Web Templates LIMITED to Sandbox functionality? Am I limiting my features such as cross domain calls and webcontrols? –  Wesley Jun 22 '12 at 21:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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