fixedFieldValues

Fixed field values for the search (can not be changed by the user).

Syntax: <fieldId>:<value>

  • You can specify either field IDs or XML names as <fieldId>.
  • Separate multiple items by semicolons.
  • If <value> is a string, it must be enclosed in double quotes. Do not use double quotes when specifying catalog codes.

    Example (for a FI search): Company:"my search string";Country:#2;Rep2ID:"$curRep"

  • The specified fields must be part of the respective Search control, otherwise they are ignored.
  • To enter the current rep: <fieldId>:"$curRep"
  • To enter the current rep's group: <fieldId>:"$curOrgGroup"
  • To enter the current date: <fieldId>:"$curDay"
  • To enter the number of the current user's login language: <fieldId>:LOGINLANGUAGE
  • To set a value for a catalog field: <fieldId>:#<catalogCode>

    For hierarchical catalogs you can enter <fieldId>:#<childCode>~#<parentCode>

    Example: For a Ticket (KM) Search action you can define

    Problem:#3~#1

    instead of

    ProblemGroup:#1;Problem:#3

  • To set a value for a variable catalog field using the external key: <fieldId>:EXT:<external key>

    Example: ProblemGroup:EXT:1_324_2

  • To set the value of a Boolean field enter true or false.
  • If you want to enter a value from a linked record into a field in the search mask, use the syntax <targetFieldId>:<infoAreaId>.<fieldId>

    Example: When searching for all mailings (BR) that were sent to a person (KP) and want to specify the mailing channel based on the person's preferred channel, enter Channel:KP.PreferredChannel in the Search action for mailings used in the person context menu.

  • If you have a field from a linked info area in your search mask, you can automatically enter a value using <infoAreaId>.<fieldId>:<value>

    Example: To search only for persons with specific interests, enter IT.InterestGrp:#2 in the person Search action.