Matrix Version:
5.4.3.1
Hello, I have problem with parsing dynamic keyword.
<script type="text/javascript" runat="server">
var assetId = 56234;
var data = "%globals_asset_children:" + assetId + "^index:0^as_asset:asset_metadata_json%";
print(JSON.parse(data));
</script>
Getting this error:
File: [SYSTEM_ROOT]/fudge/general/text.inc Line: 2199
Message: Error occured when processing server side JS: undefined:1: SyntaxError: Unexpected token % - ‘%globals_asset_children:56234^index:0^as_asset:asset_metadata_json%’ Line: 1