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

${esc.h}foreach(${esc.d}con in ${esc.d}dotcontent.pull("+structureName:Products",10,"modDate desc"))

${esc.h}foreach (${esc.d}map in ${esc.d}con.specs.map.entrySet())
${esc.d}map.key : ${esc.d}map.value
${esc.h}end
${esc.h}end