SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I Have a requirement where when a list item is created , a new subsite sould get Created using custom site template.(MOSS 2007) User should be able to select the custom template(present in site gallery)from the dropdown field in the list. How do i do this?

share|improve this question
Try to be more specific - what's the main problem? Triggering an action when a new list item is created? Deploying new site programmatically? – Marek Grzenkowicz Sep 3 '10 at 12:50

Each time I have approached this I have created a simple, intuitive form, with the required fields along with a sub-site of templates that you want to expose to the users.

share|improve this answer

Ideally add a list event handler that will handle the item added event. When a new item is added, write the code required to create a new site based on the selected site template.

You will need to determine where the site should be created and the groups that should have access to the new site. Also, make sure you handle the possibility of a site already existing at the URL that you are using for the new site.

share|improve this answer

It can be done with a site template. Beware of glitches in any lookup lists.

share|improve this answer

Your Answer


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