Restricting the data returned from the database

You restrict data by adding the allowqualifiedrestriction property. For example, you can restrict the classifications available to users who are classifying a service request.

About this task

You do not apply the restriction to child objects. You manually add the allowqualifiedrestriction property to the XML controls that create a data source. The controls that create a data source have an object, a relationship, or a bean class. The following controls are supported:
  • datasrc
  • section
  • simpleheadertable
  • tab
  • table
  • tree
Some controls inherit data sources from higher-level controls. When you add the property to the XML, you also make the data read-only. Editing a restricted data set can have unexpected results.

Procedure

  1. Open the application XML and search for the control where the data source is needed.
  2. Add allowqualifiedrestriction= true to the XML.
  3. Import the modified XML.