Creating Wiki Pages through code or CAML
- by Joe Capka
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.