When you configure how the Search component displays the output of a search, you need to define additional settings on the Output tab depending on the output display. These settings include:
For some display types, there are multiple templates available in the Template section.
- To define a specific display template, in the Template section, select the template you want to use.
To set an image on the search results:
On the Output tab, from the Image drop-down list, select one of the following options:
Thumbnail: displays the thumbnail (master image) of the entity if it is available.
Icon: displays icons instead of thumbnails, as configured in Icon and color.
Icon and color
To configure the style and color of an icon:
On the Output tab, in the Icon and color section, from the Icon and color drop-down list, select one of the following options:
- None: uses the default style color (default).
- From entity: uses the style and color defined for the entity.
- From taxonomy relation: uses the style and color defined for a specific taxonomy. Select the taxonomy relation from the Relation drop-down list.
You can further customize the display using the entity visualization options in Search components based on taxonomy definitions.
Main click area
You can add an entity operation in the main click area.
To add an operation:
- On the Output tab, in the Main click area section, click Add operation.
- Select the desired operation from the drop-down list.
- As required, define additional operation settings and click Save.
You can decide which fields to display on the search results. To define a field to display:
- On the Output tab, in the Fields section, click Add .
- Configure the following fields.
|Type||Radio buttons||Sets the field type.||Property/Relation||Mandatory|
|Field||Drop-down list||Selects the field to add.||List of available fields.||Mandatory|
|Style||Drop-down list||Selects the style to apply.||Regular, Bold, Light, Light small||Mandatory, only for Type Property.|
|Limit number of items||Toggle switch||Limits the number of items returned.||Enable/Disable||Optional, only for Type Relation.|
|Number of items to show||Numerical value||Sets the limit of items to return.||Numerical value||Optional, only for Type Relation.|
|Show help text||Drop-down list||Sets whether to show the help text and how.||Don't show / Inline / Tooltip||Mandatory|
For the list view, the Advanced option is only available if you select the Card template.
- Configure the additional settings required for the selected fields.
- Click Save.
You can configure which operations to make available on the search results. Operations are internal or external actions involving the entity in question.
To add an operation:
- On the Output tab, in the Operations section, click Add operation.
- Select the desired operation.
- Configure the display and operation settings.
- Click Save.
- To make the operation available in the More options menu instead of the Main menu, drag and drop the created operation from the MAIN OPERATIONS zone to the MORE OPTIONS MENU zone.
The following table lists the available entity operations of the Search component.
|Add to saved selection||Adds the entity to a saved selection.|
|Approve||Approves the entity in review.|
|Archive||Archives the entity.|
|Check in||Checks in the entity from external systems (such as Adobe Photoshop, InDesign, Illustrator, and so on). This operation persists the modifications applied to the entity in the external systems.|
|Check out||Checks out the entity to external systems (such as Adobe Photoshop, InDesign, Illustrator, and so on). This operation locks the entity.|
|Delete||Deletes the entity.|
|Direct-publish||Directly publishes the entity, making it available with the other approved entities while skipping the reviewing process.|
|Discard checkout||Discards the checkout of the entity and ignores any modifications applied to the entity in the external systems.|
|Download||Downloads the entity.|
|Generate PDF||Generates a PDF from the entity. This operation requires a preconfigured Print entity generation action.|
|Go to fixed path||Lets you enter a relative path to the details page as a text string. This improves performance when a user navigates from a search page to a details page. You must update this fixed path when you move a page.|
|Inline preview||Previews the entity using the inline preview display. This operation is only available for the Grid, Table, List, and Calendar output views. You need to enable the Inline preview output view for the operation to work correctly.|
|OneDrive checkout||Checks out the entity to a preconfigured OneDrive account. This operation adds the entity to the Checkouts page.|
|OneDrive download||Uploads a copy of the entity to a preconfigured OneDrive account. This operation uploads a copy of the entity, so the entity itself is not added to the Checkouts page.|
|Place||Places the image as a layer using Sitecore Connect for Creative Cloud (this operation is not meant to be used within Content Hub).|
|Preview||Opens a preview rendition of the asset.|
|Quick edit||Opens a window with a preconfigured entity details page to edit the entity.|
|Reject||Rejects the entity in review.|
|Remove from collection||Removes the entity from a collection it belongs to.|
|Remove from saved selection||Removes the entity from a saved selection it belongs to.|
|Restore||Restores the entity from the archive to its previous repository.|
|Select public link||Opens a window where you can create or select a public link to the entity.|
|Set as master||Sets the file as master file for an entity. For example, set as the master version of an asset.|
|Submit||Submits the entity for approval.|
|Toggle switch||Sets a Boolean property of the entity to true or false. You need to provide a Boolean field for this operation (for example, M.Script.Enabled).|
|Unlock||Unlocks the locked entity. Entities are locked when they are checked out to external systems.|
|Use direct link||Provides a direct link to the entity. This operation opens the provided link in a new window.|
|View ancestor details||Provides the ancestor details of the entity. You need to specify an ancestor relation and a redirection page.|
|View detail page||Redirects you to the detail page of the entity.|
|View details||Opens a configurable window showing the details of the entity. This operation provides various window types. The drawer type allows you to open multiple detail windows at once.|
|External action||Executes one or more preconfigured actions. This operation allows you to set visibility conditions and permissions.|
You can configure which indicators to display with the search results. Indicators are flag-like properties (icons or labels), providing additional information about the entity in question.
To add an indicator:
- On the Output tab, in the Indicators section, click Add indicator.
- Select an indicator under Indicators, or select Custom indicator under Custom.
- Configure the required settings.
- Click Save.
The following table lists all the available indicators in the Search component.
|Asset media type||Indicates the asset media type of the entity.|
|Created||Indicates if the entity is in Created status.|
|Draft||Indicates if the entity is a draft.|
|Duplicates exist||Indicates if the entity has duplicates.|
|Has public link||Indicates if the entity as a public link.|
|In review||Indicates if the entity is in In review status.|
|Lock||Indicates if the entity is locked.|
|Rejected||Indicates if the entity is in Rejected status.|
|SystemOwned||Indicates if the entity is system-owned.|
|Custom indicator||A custom indicator is displayed if preconfigured conditions are met.|
Can we improve this article ? Provide feedback