Article Details
Id:19324
Product:finPOWER Connect
Type:NEW
Version:4.00.00
Opened:06/07/2022
Closed:06/07/2022
Released:21/12/2022
Job: J029124

HTML Widgets; Parameter Host Control; Initialise Function now supports configuring all controls as read only

The Initialise Function can now initialise all controls in a Parameter Host control as read only. This is useful in scenarios where an entire form may be launched in read only mode and a Parameters Host control also exists and therefore must also be read only.

This can be used by specifying a read only Parameter in the Parameter Options Json object on the Initialise function of the Parameters Host.

The function: Initialise(parameters, parametersOptions)

Parameters Options now accepts two potential options:

  • alwaysCreateControls
    • This was an existing option
  • readOnly
    • This has been added

Setting readOnly to True will mean that all editable controls will be configured as read only.

The following HTML Widget has been updated:

  • HtmlWidget_SecurityStmtItem
    • Version: 1.13 (06/07/2022)