a foundation for a new SharePoint site. The site definitions not only determine the appearance and behavior of the SharePoint site, but also its default content and functionality.

learn more… | top users | synonyms

2
votes
6answers
1k views

Feature stapling vs Site Definitions

I curious of what you’re experiences are one the user of site definition compared to feature stapling. In a video on Channel 9 Ted Patterson explains that feature stapling is the way to go. It would ...
1
vote
2answers
678 views

Add an XsltListViewWebPart to a site defintion homepage

What's the best method for adding an XsltListViewWebPart to a site definition's default.aspx? I've tried to add one to the definition's default.aspx declaratively by copying the XML from an existing ...
2
votes
4answers
2k views

How to change URL for SharePoint:SiteLogoImage

I have the job of migrating a sharepoint site from one server to another. Everything appears to have moved across correctly, but there is one image which has a url to the old site. I've tried ...
0
votes
1answer
264 views

How to make a simlpe minimal webtemplate vs sln

I would like to create a simple web template that is based on a blank site definition, with only the wiki home page feature enabled. I would like to do this by "save as template" in SD, and importing ...
3
votes
2answers
2k views

Limit templates available when creating sub site?

I have created a site definition but i need to limit what sub sites can be created by the user. How can I do this with SharePoint 2010? thanks
1
vote
1answer
678 views

How to use resource files in webtemp xml

Probably another easy question, but I've been working on it this morning and haven't been able to get it to work. I have a site definition that I am attempting to move the string literals to a ...
0
votes
1answer
165 views

Can WebProvisioningProvider assembly version be automated in webtemp xml file?

I have a basic site site definition I am attempting to provision with a custom SPWebProvisioningProvider. I have the following attributes set in the webtemp xml file ProvisionAssembly="{assembly ...
2
votes
3answers
1k views

Update Web Part in Custom Site Definition and created sites

I have a site definition with a custom web part, the projects (both the site definition and the web part) are part of a CI build which means the version numbers are incremented each build. The ...
2
votes
2answers
3k views

Custom web templates vs custom site definitions

I read the MSDN article "Deciding between custom web templates and custom site definitions". The article only scratches the surface, so I was wondering if anyone have had some hands on experience with ...
2
votes
2answers
2k views

Changing site/list definitions post-production

There have been several questions asked on this site regarding the best way to provision sites and lists (definition schemas vs. templates vs. the object model vs. the web interface vs. provisioning ...
1
vote
3answers
2k views

SharePoint 2010: How to control order in which web features are applied

We have a site defined in onet.xml. The site has 5 features: some standard, some custom. One of the standard ones is the team site. On activation of our feature we would link to copy files into the ...
3
votes
1answer
533 views

How to deploy a workflow as part of a site definition?

We have a customer that will be creating many sites based on a site definition. The sites include a list. We would like to connect a workflow to that list such that the workflow starts whenever a new ...
2
votes
1answer
1k views

<View> (ListViewWebPart) from within publishing page in feature

This is in the context of MOSS 2007. I have a custom site definition. Currently in ONET.xml we have the following Module: <View ...
2
votes
5answers
620 views

When is it right to customize a site definition?

In some scenarios there is a need for being in as much control of the site provisioning process as possible. In some senarios there is a good solution to customize site definition by customizing the ...
0
votes
4answers
777 views

Automatic (Task) List population on site provision

I'm needing a hand deciding an approach to this. Here is the business requirement. Create a Meeting Workspace which contains a Project Tasks List (OOTB) and fills it with "stub" tasks (such as "send ...
2
votes
1answer
398 views

Deploying webparts to default.aspx with a SiteDefinition feature dependency

I tried deploying a Site Definition with a custom default.aspx page. Within the <WebFeatures> node of the Site Definition's Onet.xml I tried to reference a Feature which would get a web part ...
4
votes
2answers
443 views

Search for specific Web Template in SharePoint Search

Is it possible to construct a SharePoint Search Query for a specific web type (site definition / web template id) in the same manner as for lists? I can easily search for my custom lists using ...