Copied to clipboard

Flag this post as spam?

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


  • Pinal Bhatt 298 posts 390 karma points
    Dec 18, 2012 @ 19:53
    Pinal Bhatt
    0

    .Where with CurrentPage.Descendants

    Hi Community

    I am using U4.11.1 and i am facing following issue for where()  CurrentPage.Descendants.

    @CurrentPage.Descendants("eBook").Count()  // This works fine
    @CurrentPage.Descendants("eBook").Where("featureId > 0").Count() //This does not works

    "eBook" is my document type alias and "featureId" is my field alias for numeric field. 

    I don't know if i am doing something wrong or their is different way to do this. Basically i want all descendant nodes of type "eBook" for whom featureId > 0.

    Thanks & Regards

    Pinal Bhatt

  • Pinal Bhatt 298 posts 390 karma points
    Dec 20, 2012 @ 14:54
    Pinal Bhatt
    0

    Hi Community... any hlep, please.

  • Pinal Bhatt 298 posts 390 karma points
    Dec 30, 2012 @ 14:29
    Pinal Bhatt
    0

    Hi Community... any hlep, please.

  • 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