Copied to clipboard

Flag this post as spam?

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


  • Thomas Beckert 176 posts 441 karma points
    Sep 28, 2015 @ 15:42
    Thomas Beckert
    0

    xPath and filter by current Date in Prevalue source

    Hi,

    I'm using the prevalue source to select child-nodes, that represents appointments of the parent-node.

    I choosed the Type "Umbraco Docs from xpath" and selected the children as follow:

    $currentPage/child::Termin
    

    Works great. But now, I only want to select the children, where the property "datum" is greater than or equal to the current date. But this code does not work:

    $currentPage/child::Termin [umbraco.library:DateGreaterThanOrEqual(umbraco.library:CurrentDate(),@datum)]
    

    Any hint to fix this qould be great. I'm far away from a xPath guru.

    Best regards -

    Tom

  • 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