Configure the SmartHub Integration

Before You Begin

To integrate Smart Previews with SmartHub you must configure the pages where you want Previews for documents to include the Smart Previews component and configure the Smart Previews component.

Add the Smart Previews Component to Your Search Center Page

Configure SmartHub to use the Smart Previews component using the instructions on How to add Smart Previews to Your Results Page

Property Mapping

Pay special attention to your property mappings.

The following properties are required for Previews to operate. Ensure they are included in your SmartHub property mappings:

  • Path:
    • Typically mapped to the items URL. This property must be searchable in the index.
  • escbasecrawlurl:
    • Must be mapped to the ConnectivityHub (or Connector Framework) property escbase_crawlurl
    • This property must be searchable in the index.
  • Size
    • Mapped to a field that indicates the document size (in bytes).
  • FileExtension:
    • Mapped to a field that indicates the document file extension.
  • LastModifiedTime:
    • Mapped to a field that indicates the last modified date of the document.

The values you provide for these properties vary according to your backend and configuration.

Sample Configuration

A typical configuration is shown below:

Copy
Path, escbase_url;
escbasecrawlurl, escbase_crawlurl;
Size, escbase_size;
FileExtension, escbase_fileextension;
LastModifiedTime, escbase_lastupdateutc;

Configure Trust Between Smart Hub and Smart Previews Web Resources

  1. Navigate to the SmartHub Administration panel, located at https://[SmartHubAddress]/_ADMIN and click Security Settings.


  2. Trusted App Redirect URLs:
    1. Add a new line and enter the Smart Previews Web Resources URL.
    2. For example, enter https://smartpreviewswebresourcesurl.com/


  3. Make sure that you enter both the SmartHub and Smart Previews Web Resource URLs.