Skip to main content
Skip table of contents

Changing the Result Selection Action

Discovery Search supports two actions when a user clicks on a search result:

  1. Copy link to clipboard

  2. Download the file


Copy Link to Clipboard

Upon clicking a result in Discovery Search, the UNC path to the result is copied to users' clipboards. To open the file, users can paste this URL into File Explorer or in Run (Windows Key + R) application.

This is the default action for Discovery Search.

  1. Open web.config for Discovery Search

  2. Find the key:
    <add key="OnClickLinkFunction" value="download" />

  3. Modify the value to "copy"

  4. Your key should now look like this:
    <add key="OnClickLinkFunction" value="copy" />

  5. Save the file

  6. Restart the site in IIS Manager

Download File

Upon clicking a result in Discovery Search, the file is downloaded to the web browser's download folder. The user can then open the downloaded file.

Enabling Download

  1. Open web.config for Discovery Search

  2. Find the key:
    <add key="OnClickLinkFunction" value="copy" />

  3. Modify the value to "download"

  4. Your key should now look like this:
    <add key="OnClickLinkFunction" value="download" />

  5. Save the file

  6. Restart the site in IIS Manager

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.