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?
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.
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
Sure it's possible.
What's the xslt you have now and what's the error you get?
PeterD
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
is working on a reply...