Copied to clipboard

Flag this post as spam?

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


  • Lee 1130 posts 3088 karma points
    Dec 01, 2010 @ 15:51
    Lee
    0

    Can't Access Member Properties (Using 4.5.2)

    Having a weird problem getting some member properties, example of code below

    <xsl:variable name="member" select="umbraco.library:GetMember(1265)" />
    <xls:value-of select="$member/mypropertyname" />

    Even though I can see 'mypropertyname' in the XML has a value when doing copy-of its not putting it out?  What is weird is this IS outputting the email of the member so I definitely have access to the XML?

    <xls:value-of select="$member/@email" />

    Anyone know if there is a bug with member properties and 4.5.2? :(

     

  • Harm-Jan Abbing 62 posts 102 karma points
    Dec 03, 2010 @ 16:37
    Harm-Jan Abbing
    0

    Try this:


    <xsl:variable name="member" select="umbraco.library:GetMember(1265)/node" />

    <xsl:value-of select="$member/@email" />
Please Sign in or register to post replies

Write your reply to:

Draft