Quick View

CUE has a quick view feature that lets you quickly display a content item without having to actually open it in an editor. To display a quick view you select the content item you are interested in (for example, in a search results list) and press the space bar. This displays a pop-up window containing a simplified view of the content item. The quick view is superficially similar to a content editor but usually contains only a subset of the content item's fields, and it is not editable. You can navigate up and down in the content item list with the quick view open, and the contents of the view will change to show the currently selected item. To close the quick view, press the space bar a second time.

The quick view feature is available in:

  • Search results lists

  • Dashboard lists

  • The Recent list

  • The metadata panel Related and Usage sections

  • The section page editor

  • Inbox and list editors

In order to be useful, the quick view function must be configured by adding ui:preview elements to the fields in your content type and story element type definitions. Unless you do this, the main part of the quick view window will always be empty (although the metadata panel on the right of the window will contain some basic metadata).

To make a field show up in quick views, you need to add a ui:preview element as a child of it's field type definition. For a storyline-based content item, this will be a field element in a story element type definition (see Story Element Types). For a rich text-based content item, it will be a field element in a content type definition (see The content-type Resource).

The following example shows a field definition containing a ui:preview element:

<field name="caption" type="basic" mime-type="text/plain">
  <ui:label>Caption</ui:label>
  <ui:preview/>
</field>

The ui:preview element currently only works for plain text, rich text and image binary fields. If you add it to other kinds of fields, it will be ignored.