Replace asset id with asset name


(Neetu Dave) #1

Matrix Version: 5.5.6.4

Hi,

In the following code, is it possible to replace the hardcoded asset id with a dynamic variable or asset name?
%globals_asset_contents:378^with_get:root={globals_get_site_id^as_asset:asset_metadata_siteServices}&class_menu=all-services__list–menu&current={globals_get_current}%

Thanks,
Neetu


(Harinder Singh) #2

Never seen like that keyword before. What are you trying to achieve?

You might be able get expected outcome with SSJS.