Studio Developer Manual / Version 2204
Table Of Contents
As described in Section 4.3.5, “Adding Document Metadata” in Content Application Developer Manual,
it is possible to include arbitrary metadata in Web documents by means of
the FreeMarker macro <@preview.metadata>
or
the custom JSP tags <cm:metadata>, <cm:property>
and
<cm:object>
. In the rendered Web document, the different metadata chunks
are included as JSON-serialized values of the custom HTML attribute
data-cm-metadata
of different DOM nodes. While metadata can be added using
FreeMarker or JSP, this section uses the JSP tags in its examples.