Previous Topic: Set Up a View

Next Topic: Improve the Performance of a View

Add a Prefix or Suffix to a Search Result

You can add a constant prefix or suffix to search results in a view.

For example, you could add a prefix to search results from a particular source, to help you distinguish these results from results from other sources.

You can add prefixes and suffixes to attributes with string syntaxes only (such as caseIgnore and caseExact).

To add a prefix or suffix to a value

  1. Create a set view command.
  2. In the eis section of one of the phases in the set view command, add a prefix or suffix as follows:
    eis = [prefix]attributeName[suffix]
    
  3. For example, you could use this eis to add the prefix SAP to all results from this phase:
    eis = "SAP[$2:userId]" as uid