Content Template - Accessing Nested ID


(Bmasters) #1

Matrix Version: 5.5.0.2

I’m trying to access the Container ID from within my Content Template - but I’m not having any luck.

In this instance I’d like to be able to print ‘latest-news-div’ using something like %asset_assetid% or similar.

Does anyone know how I can do this?
Thanks


(John gill) #2

%asset_data_attributes^index:attributes^index:value^index:container_id%


(Bmasters) #3

Thanks John. Exactly what was needed.:+1: