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?

  • 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.


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.


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy