A standard Sitefinity CMS page consists of PageNode and PageData. PageNode defines where the page is located in the navigation (the sitemap). The PageData is the content of the page. You can have a PageNode without PageData. For example, a group page or a redirecting page. You cannot create PageData without a PageNode. PageData is subject to content lifecycle and workflow.
PageNode
PageData
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:
PageManager
CreatePage
NodeType
Standard
Group
External
InnerRedirect
OuterRedirect
Rewriting
When you create a page, you can put the code in any .cs file.
.cs
EXAMPLE: Open your project in Visual Studio and in the context menu of SitefinityWebApp, click Add » New Item..., you can use the code in one of the following:
.aspx
.aspx.cs
.aspx.designer.cs
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important