close

Filter

loading table of contents...

Studio Developer Manual / Version 2207

Table Of Contents

9.8.2 Using the Preview Metadata Service

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.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.