Administering : Managing business rules and expressions : Business rules definitions : LinkByText business rule
  
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
A configuration module. The elements in the configuration module must have these attributes:
a Text attribute to hold the regular expression (“Regular Expression attribute”)
a Link attribute to be copied when a match occurs (“Link attribute”). Make sure that the target type matches the links to set.
a business rule container attribute, which is a Text attribute.
Format
In the business rule container attribute, enter the business rule in this format:
=LinkByText('Source Attribute',
"Target Link Attribute ID","Configuration Module ID",
"Regular Expression Attribute ID","Link Attribute ID")
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.*.
Go up to
Business rules definitions