Copied to clipboard

Flag this post as spam?

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


  • Anamarija Horvat 25 posts 140 karma points
    Jul 14, 2017 @ 12:42
    Anamarija Horvat
    0

    Querying not working on version 7.6.3.

    Code below returns true instead of children on version 7.6.3. I need this type of querying because I need to get children of multiple types of document type. Same query works on older versions. CurrentPage.AncestorOrSelf(1).Children.Where("DocumentTypeAlias==\"contact\"")

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jul 14, 2017 @ 18:54
    Dennis Aaen
    0

    Hi Anamarija,

    What if you do something like this.

    @CurrentPage.AncestorOrSelf(1).Children("contact")
    

    Does this works for you? Then you should get children that are using the doctype "contact"

    Hope this helps,

    /Dennis

  • 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