Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lee 1123 posts 3059 karma points
    Jan 13, 2010 @ 13:39
    Lee
    0

    Get Nodes With A Certain Criteria Using nodeFactory?

    Oh yes, me yet again :)

    Is it possible to select nodes with a criteria?  For example get all Nodes where a certain property has a value?  Or Get nodes where the Node.name contains a certain string (Basically a mini search/filter)?

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Jan 13, 2010 @ 13:41
    Thomas Höhler
    1

    Try the my Simple Search for Umbraco uses the NodeFactory. So you can take a look into the code or use it: You can get a List<SearchItem> or a XpathNodeIterator back from the searcher.

    hth, Thomas

  • Lee 1123 posts 3059 karma points
    Jan 13, 2010 @ 13:59
    Lee
    0

    Thanks again :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies