Asset Picker Custom Search Filters (Content Store only)

The asset picker dialogs displayed by CUE for selecting content items in various contexts (for example selecting an image, video or relation to include in a story) have a search filter button. Clicking this button displays a search filter form that lets the user narrow down the list of selectable content items in various ways.

CUE is delivered with a standard search filter that is used in all search panels, dashboards and asset pickers by default. It is, however, possible to modify this standard search filter and to define your own search filters. If CUE has a Content Store back end then you can replace asset picker search filters with these custom search filters. This feature is not, however, available with Escenic Content Engine back ends.

You can configure an asset picker to use a custom search filter in two different ways:

  • For a standard content item relation, you do it by inserting a ui:search-filter-name element as a child of the appropriate relation-type element in a content type definition (see Customizing Relation Asset Picker Filters).

  • For story elements that represent relations such as "image", "video", "gallery" and "relation" story elements, you do it by inserting a ui:search-filter-name element as a child of the link type field element in the relevant story-element-type definition (see Image Element Type Filters).

In both cases the ui:search-filter-name element must contain the name of the search filter that you want to use:

<ui:search-filter-name>my-custom-search-filter</ui:search-filter-name>