More in this section

Forums / Developing with Sitefinity / How to get List of created pages

How to get List of created pages

2 posts, 0 answered
  1. Pravat
    Pravat avatar
    59 posts
    22 Jun 2010
    23 Aug 2011
    Link to this post
    Hi team,
        Please guide me how to get list of created pages in sitefinity 4.1? In 3.7 i was using cmsmanager.GetPages() to get pagelist.

    Please help...

    Thanks & Regards,
    Pravat Sharma.
  2. Boyko Karadzhov
    Boyko Karadzhov avatar
    56 posts
    05 Dec 2016
    23 Aug 2011
    Link to this post
    Hi Pravat,

     All the pages of your site are accessible through App.WorkWith().Pages() . Note that this object is a facade.

    In Sitefinity 4 we have a wrapper of all manager classes that a developer would usually use in order to create content, pages, classification units or users - Fluent API. You might want to take a look at this .

    Boyko Karadzhov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

2 posts, 0 answered