Back

Displaying a Key/Value field's data

Description

This code shows how to display the data in a Key / Value field on a content type.

In this example the content type name is Products and the Key/Value field name is Specs.

Code

#foreach($con in $dotcontent.pull("+structureName:Products",10,"modDate desc"))

#foreach ($map in $con.specs.map.entrySet())
$map.key : $map.value
#end
#end