Sitefinity CMS allows you to modify the PageNode and the underlying PageData through the code.
When modifying a page, you must perform the following:
Get the page. When modifying the page, you must get the PageNode or thePageData. To modify the title, the HTML title, or the description of the page, you must get and modify the PageData object. To modify the URL of the page, you must get the PageNode object. For more information about finding a specific PageNode or PageData, see For developers: Query pages.
PageNode
PageData
Modify the properties. After you get the page object, you modify the properties.
Save the changes. Finally, you must save the changes.
To modify a page using the Native API, you must use the PageManager class. To modify the HtmlTitle and the Description of a page, perform the following:
PageManager
HtmlTitle
Description
Title
GetPageDataList
Use the following code sample:
To modify a page using the Fluent API, you must use the page facade. To modify the HtmlTitle and the Description of a page, perform the following:
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