Copied to clipboard

Flag this post as spam?

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


  • shufflemoomin 37 posts 36 karma points
    Apr 28, 2009 @ 15:11
    shufflemoomin
    0

    getMedia stored as variable

    Hey everyone,

    Simple question: I want to use a getMedia call to return the full URL of a media a file and store this string in a variable. I'm having trouble getting XSLT that does this without errors. Can I store the return from getMedia in a variable or am I missing something?

    thanks for any help offered
    Shufflemoomin

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Apr 28, 2009 @ 15:19
    Peter Dijksterhuis
    0

    Sure it's possible.

    What's the xslt you have now and what's the error you get?

    PeterD

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Apr 28, 2009 @ 16:02
    Ismail Mayat
    0

    Is it the getmedia call that is erroring? When macro is not in the context of a page then getmedia errors you have to wrap it with if statement to stop the error or in the xslt editor disable error check.

    Regards

    Ismail

Please Sign in or register to post replies

Write your reply to:

Draft