Dynamic Template - MOSS site creation.

  • 25 August 2008
  • 1 reply
  • 0 views

Badge +1

Hi,


I want to use the Sites and Workspaces(VS) event for MOSS to create sites based on a custom site template.


Here's the catch...I want to pass the name or value of the custom site template using a datafield instead of selecting an item from the wizard generated list.


A good example of how this could be very powerful...


 You have a list called "Meeting Requests" based on a custom content type of which one of the fields is called meeting type(lookup or choice)...for each of these meeting types you have a site template.


So you hook a K2 process onto the update or create event of your MOSS list and maybe check some approval values after which you create your site based on the template specified in the list item.


 Is this possible?


Thanks,


Ruan


1 reply

Badge +4

Sounds like a two step process of creating the hook for the create event and writing some K2 client code that initiates the process inside the hook...

Reply