Using Smart URLs
(From version 7.8)
Commonly used URLs, for example, URLs belonging to the Salesforce domain, are recognized by the connector, and a modified version is captured, excluding dynamic data such as sessions. Removing dynamic data improves URL screen element recognition.
This list of URLs is maintained in the repository_urls.json file, located at C:\Program Files (x86)\NICE Systems\Real-Time Client. You can add to this list as required.
The file is comprised of two sections:
-
url_records: A list of the URL conversions that are applied to the Url field.
-
title_records: A list of the title conversions that are applied to the Title field.
Use a tool such as https://coding.tools/regex-replace to test the Regex strings.
URL Records
The url_records section includes an array of patternRegex entries with the following elements:
-
converionAlgo: No need to modify this.
-
param1: The Regex string that will be replaced. For example: .com/sites/).*
-
replaceWith: The Regex replacement expression. For example: $1*
Title Records
The title_records section includes an array of patternRegex entries with the following elements:
-
converionAlgo: No need to modify this.
-
param1: The Regex string that will be replaced. For example: .(Outlook).*
-
replaceWith: The Regex replacement expression. For example: $1*