Rulebase

Rulebase can be enabled for the UI page by clicking on the root panel in the tree outline viewer.

From the Property Section, select Rulebase tab and select True radio option. By enabling the rulebase, the UI invokes the rulebase services to ascertain the constraints on the repository fields.

If the rulebase is enabled, the deployed UI page identifies (by calling web service) which UI controls need to be shown differently based on the constraints on attributes. For example, if a particular attribute has valid value list then the associated UI widget with the attribute is replaced by a drop-down widget at runtime. However, this change will not be visible while designing the page.

The following rulebase constraints are supported in this release:

  • Assign constraint - If the attribute has a constraint which has pre-assigned value to it then while adding a new record the attribute will get the value.
  • Valid values (uses drop-down UI control) - If the attribute has drop-down (select action) in rulebase then on the deployed page the textbox is displayed as a drop-down with valid values list.
  • Hide constraint - Attribute will be hidden. If the attribute group is hidden then associated attribute group tab or accordion pane will be hidden.
  • Read only constraint - Attributes cannot be edited in the control.