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:
Back To Top
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.