IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
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
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important