Content search

The Content Search freemarker model is an extension of the Content Viewer, with an extra object available inside the ViewerModel.

Global objects

These are the global (top level) objects available when using FreeMarker from a Search Viewer.

Object Description Type
viewer This object contains information about the viewer, its presentation style and its data. ViewerModel
context This object contains information about the execution context. ContextModel
component This object contains information about the executing component. ComponentModel

ViewerModel

This object contains information about the Search Viewer itself, its definition and data. With the exception of the “search” property, all the others are documented along with the Content Viewer models.

Property Description Type
data The data set of the content viewer. DataModel
style The presentation style of the content viewer. StyleModel
logic Logic information about the content viewer. Logic
navigation Navigational information about the content viewer. Navigation
param URL-parameters ParameterModel
strings Available strings for the viewer. This TextMapModel supports locations “style”, “viewer” and “domain”. TextMapModel
search Available search model information SearchModel
<default> When used directly, this object evaluates to the value of the “data” property.

SearchModel

This object contains information about the Search Viewer itself, its definition and data.

Property Description Type
form The search form, as HTML String
term The search term, as a string String