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 193 posts 469 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

Please Sign in or register to post replies

Write your reply to:

Draft