Develop > Tailoring > Display functions > Display application > Define display conditions

Define display conditions

Applies to User Roles:

System Administrator

Access to an option is controlled by the Condition field in a displayoption record. This field may evaluate to true or contain an expression defining a condition for display.

In the following example, you restrict access to the Close button in the toolbar of Incident Management incident records to only users with SecClose capabilities.

To define display conditions:

  1. Select Tailoring > Tailoring Tools > Display Options.
  2. Enter the screen ID of the update form, apm.edit.problem, and press Enter.
  3. Locate the Close option from the record list. The User Condition field is empty by default. The User Condition is processed after the Conditions field and operates at the user-specific level.
  4. Add the following condition statement to the User Condition field:

    index("SecClose", $lo.ucapex)>0

    Where SecClose is the name of the capability word you created.
  5. Click Save to record the modification to the record.
  6. Click OK to back out and return to the home menu.
  7. Test the new display option, as follows:
    1. Open the Incident Management Queue and view an incident record. The Close button should appear.
    2. Open a new client as an operator who does not have the capability word defined in his or her operator record.
    3. Go to the Incident Management Queue and view the same record as you did above. The Close button should not appear for the operator whose record did not contain the capability word.

Related concepts

Display application
Displayoptions
Selecting display options

Related tasks

Access display records
Access menu records
Define display conditions
Create a displayscreen record
Create a displayoption record
Add or change the image icon for options menu and toolbar items
Define display conditions
Add a capability word

Related references

Displayevent database dictionary keys
Displayoption database dictionary keys
Common option icon names