Programatically creating site using custom template

Posted by dexter on Stack Overflow See other posts from Stack Overflow or by dexter
Published on 2010-02-08T16:47:05Z Indexed on 2010/03/12 6:07 UTC
Read the original article Hit count: 182

Filed under:
|

hi,

Help plz! How can I make a webpart that has a button called "Create Site" and it programatically create a site (using my own custom template e.g. Mytemplate.STP) ?

The reason is of such task is, I dont want user to go into "Sites Action" -> create Site -> and then fill the whole form.

I want to give a user an easy interface with only title field, the rest i want to be done programatically.

Any other suggestions or work arounds are also appreciated.

Thank you

© Stack Overflow or respective owner

Related posts about sharepoint2007

Related posts about sharepoint