**Matrix Version:**5.3.1.1
Hi all
Probably an easy one but not sure how I’ve done this in the past.
Say I have a variable in javascript and I want to use that in a keyword modifier…how do I get it to ‘parse’?
e.g. I’m pulling in a number string from a URL query and I want to use that as an asset id in a modifier
I would try:
var theVar = “12345”;
var theAssetName = “%globals_asset_assetid:” + theVar + “^as_asset:asset_name%”
But this just comes back as %globals_asset_assetid:12345^as_asset:asset_name% and not the asset name.
What’s the best way to do this?
Thanks