Keyword for Metadata by section?


(Nathan Irwin) #1

Is it possible to access metadata by the Metadata Section using a keyword?

%asset_metadata_Section1.Title%
%asset_metadata_Section1.Description%

%asset_metadata_Section2.Title%
%asset_metadata_Section2.Description%

At the moment every metadata field needs to be unique…

%asset_metadata_Title1%
%asset_metadata_Description1%

%asset_metadata_Title2%
%asset_metadata_Description2%


(John gill) #2

No.

Interestingly, having two fields with the same name in different sections works through the backend for editing and saving, but there is no way to access both values in the front end. Even if you try to use the (>5.4.2.0) %asset_data_metadata% keyword to get all the values to use with SSJS you will find that there is only one value per field name.


(Nathan Irwin) #3

Thats the result I got on the front end - looks like the value of last field with the same name