About Advanced Customization of PRA Tables

Modules called by templates can offer specific functionality, which customizes the PRA tables when templates are applied.

See Also
Template Creation and Deployment

Attributes available to define templates contain entry points for a few kinds of algorithms, which customize PRA tables as follows:

Algorithm Purpose Description
Applying formulas

Depending on the definition of a refresh mode, the module enables the completion on demand or the automatic completion of cells by evaluating its code. The mode indicates if the computed attributes can persist.

If a formula is not found or cannot be evaluated, an error notification is raised and the details are logged in the console.

For more information, see the formula and formulaRefreshMode attributes in columns Attribute.

Initializing tables

The module enables the initialization of PRA tables by evaluating its code.

If a template is invalid, the initializer module is not found or invalid, an error notification is raised and the details are logged in the console.

For more information, see the initializer attribute in PRA Templates.

Suggesting values

The module enables the initialization of the possible values for each column defined in the template. These possible values are provided in a customer defined format.

These values can be suggested when completing a table.

For more information, see the proposedValuesManager attribute in PRA Templates.

Validating rules

The module enables the validation of rules by evaluating its code. It can return warnings and errors, which are described by the following information: error code, message, suggestion, and severity.

For example:

  • code: 'Q01'
  • message: 'Severity greater than 8'
  • suggestion: 'Raise severity'
  • severity: 'W'

If a validation rule is not found or cannot be evaluated, an error notification is raised and the details are logged in the console.

For more information, see the validationRules attribute in Template Attributes.

Customizing tile display

The module enables the customization of the display function of tiles.

For more information, see the tileViewModules attribute in columns Attribute.