1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / querying pages

querying pages

2 posts, 0 answered
  1. Nick
    Nick avatar
    91 posts
    Registered:
    04 Aug 2008
    23 Jan 2009
    Link to this post
    hi all!

    i am wondering if the following is possible: is it possible to query pages? i know that this is possible in the news and generic content modules by using the ContentManager or NewsManager, but it does not seem to be possible for pages. We have a been using pages as a novel solution to managing some content and would like to be able to query them without having to touch the database directly. basically we wish to find pages with certain phrases in the title and find out it's ancestory (who it's parents are, who it's parent's parent's are, and so forth to the root).

    is this functionality or something similar posssible using your API, or do we really have to start muddling around with the database? i am not comfortable having to rummage through the database!

    we are using the latest version of sitefinity 3.2 by the way (we're too worried about breaking things by upgrading at the moment :-))
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    26 Jan 2009
    Link to this post
    Hello Nick,

    This is possible. The manager is called CmsManager this time :)
    Please refer to the Developers Manual and the article Finding Pages.

    Let me know if you have any other questions regarding this.

    Greetings,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered