LinkByText business rule

The LinkByText business rule sets a Link attribute in an element after a matching attribute is found in another module. This module is called configuration module.

When you use the LinkByText business rule, you do not have to set the link attribute to derive that information from another text attribute. Regular expressions are used to match the attributes.

Prerequisites

Format

In the business rule container attribute, enter the business rule in the following format:
 =LinkByText('Source Attribute',"Target Link Attribute ID","Configuration Module ID","Regular Expression Attribute ID","Link Attribute ID")

Parameters

Table 1. LinkByText business rules parameters
Parameter Description
'Source Attribute' The Text attribute that contains the text to match
"Target Link Attribute ID" The ID of the Link attribute that is set if a match is found
"Configuration Module ID" The ID of the configuration module
"Regular Expression Attribute ID" The ID of the Text attribute in the configuration module that holds the regular expression that is used for matching
"Link Attribute ID" The ID of the Link attribute in the configuration module that is copied to the Target Link attribute if a match is found
Notes:
  • If you configured a Link, Incoming Link, or Link List attribute to display links for a view, the LinkByText business rule does not detect that configuration.
  • Use a single row and no formatting for the text attribute that contains the regular expression.
  • LinkByText is case sensitive. For example, to have *focal.* match focal and Focal, use *[Ff]ocal.*
.

Feedback