Copied to clipboard

Flag this post as spam?

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


  • Kal 13 posts 71 karma points
    Jan 27, 2014 @ 11:59
    Kal
    0

    Access Page Level Fields Within Loop

    Hi,

    I have an EmbeddedContent item on my page with mutliple start/end dates. I can loop through these dates and list them all.

    What I can't seem to access are the other fields in the Umbraco Document Type, for example how do I get the nodeID to build a url or another field called Description (which is not part of the EmbeddedContent) from within the for-each loop?

    An example:

     

    <xsl:for-each select="./eventDates/data/item">

    <xsl:value-of select=".dateRangeStart" />

     

     

     

     

     

    <a href="{umbraco.library:NiceUrl(current()/@id)}">Link</a>

    <xsl:value-of select="[I want to access the Description field value]" />

    </xsl:for-each>

    Thanks in advance.

Please Sign in or register to post replies

Write your reply to:

Draft