Creating Wiki Pages through code or CAML

Posted by Joe Capka on Stack Overflow See other posts from Stack Overflow or by Joe Capka
Published on 2010-06-03T09:41:19Z Indexed on 2010/06/03 9:44 UTC
Read the original article Hit count: 153

Filed under:
|

We are trying to create a site definition that includes a wiki page.

Basically we are trying to figure out how to replicate the same process that happens when a user chooses to create a new page in a blank site, and the system says something along the lines of:

"In order to create wiki pages on this site, there must be a default wiki page library and site assets library. Would you like to create those document libraries now?"

When the user chooses yes, the system provisions those libraries as well as a few "howto" wiki pages.

If anyone knows how to trigger that roll-out though code or CAML, we would appreciate the help.

© Stack Overflow or respective owner

Related posts about sharepoint

Related posts about sharepoint2010