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.
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important