Copied to clipboard

Flag this post as spam?

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

  • aaronb 97 posts 116 karma points
    Jun 30, 2011 @ 23:39

    MediaCurrent macro parameter on a folder new schema?

    I'm trying to do exactly this:

    but on the new schema. If I point my macro parameter to an image, I get output. if I point it to a folder, I get nothing.

    I think this is the root of my problems:

    <xsl:variable name="MediaNodeId" select="/macro/MediaNode/node/@id"/>

    I imagine I can't use /node/@id to get the id of the folder I'm selecting any more. 

    Thanks for any suggestions.



  • Tom Fulton 2030 posts 4997 karma points c-trib
    Jun 30, 2011 @ 23:44
    Tom Fulton


    Try replacing /node/ with /Folder/ or /*/ - in the new schema node is replaced with the alias of the media type



  • aaronb 97 posts 116 karma points
    Jun 30, 2011 @ 23:46

    Thanks Tom, that worked perfectly.

Please Sign in or register to post replies

Write your reply to: