Pages API
You can use the Pages API to perform common tasks, related to managing pages. Such tasks include retrieving the page URL or locking and unlocking pages.
You can also perform more complex tasks. For example, you can extend built-in modules by adding various types of fields to the data stored in these modules by creating custom page attributes. You can, as well, use custom fields for pages to add additional information to a page using user-defined fields. You can use these fields for grouping pages by some classification, such as tag, so that a user can filter which pages are shown in the navigation.
This section contains
CRUD operations with pages
Learn the basics of Sitefinity CMS Pages API in Sitefinity CMS and check out some common tasks when working with pages programmatically.
Unlock pages
Perform an unlock action on a Sitefinity CMS page that another user is currently modifying.
Duplicate pages
Use this procedure to duplicate pages within Sitefinity CMS using the API
Revision history of pages
Manage and delete revision history of pages.
Retrieve page URL
Retrieve the URL of specific page by calling the GetUrl method of the page node or by its ID using the sitemap node.
Recalculate the metadata of control properties
Manually or automatically optimize and force recalculation of all metadata to avoid unnecessary database calls.
Filter pages using LINQ queries
This article demonstrated how to filter monolingual and multilingual pages using two different methods: pages.Where() and DataProviderBase.SetExpressions().
Pages events
The articles describes the events exposed by pages in Sitefinity CMS.
Generate a Sitefinity CMS sitemap using the API
Use this sample to generate Sitefinity MS sitemap using the API.
Use Join queries with dynamic content types
This article demonstrates how to use the LINQ Join operation with instances of dynamic content types.
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
Get started with Integration Hub | Sitefinity Cloud
This free lesson teaches administrators, marketers, and other business professionals how to use Sitefinity Integration Hub to create automated workflows between Sitefinity and other business systems.
Web Security for Sitefinity Administrators
This free lesson teaches administrators the basics about protecting your Sitefinity instance and your sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
Foundations of Sitefinity ASP.NET Core Development
The free on-demand video course teaches developers how to use Sitefinity ASP.NET Core and take advantage of its decoupled architecture and modern development model.