A standard Sitefinity CMS page consists of
PageNode defines where the page is located in the navigation (the sitemap). The
PageData is the content of the page. You can have a
PageData. For example, a group page or a redirecting page. You cannot create
PageData without a
PageData is subject to content lifecycle and workflow.
When you use the native API, you manage pages with the
PageManager. You define the type of the page you are creating in the
CreatePage method of the
PageManager class. Its
NodeType property is an enumeration that lists the types of pages nodes:
A normal page displaying content
A page without content. Redirects to the first child page or a child page with the same name
An external page from the file system
A redirect to a page inside Sitefinity
A redirect to a page from the web
A rewriting to a page inside Sitefinity
When you create a page, you can put the code in any
: Open your project in Visual Studio and in the context menu of SitefinityWebApp
, click Add
» New Item...
.cs file where you can put the code.