Use this procedure and the code sample to create pages via the native Sitefinity CMS API.
When creating a page, you must perform the following:
You use SiteInitializer to get the IDs of the root nodes.
EXAMPLE: In the following code example, the CreatePageNativeAPI method create a new standard, empty, frontend page:
NOTE: In the code example above the ID argument is assigned to the master version of the page.
Back To Top