To find a specific template by its title, first, you use the GetTemplate method. Then you filter based on the Title property:
To get all back-end page templates, first, you use the GetTemplates method. Then, you filter based on the IsBackend property:
To get pages by a specified template you must first get an instance of the PageManager. Then, you must get an instance of the specified template. To get the pages using this template, call the Pages extension method of the PageTemplate instance. This extension method is located in the Telerik.Sitefinity.Modules.Pages namespace. Here is a code example:
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