Configuration of IWS additional data
Structure of IWS additional data is configurable to suit needs of certain handover process.
Configuration of data structure is done using XML files see chapter 6.2.
The default IWS additional data configuration is stored in etc/hos_tws_config.php file. It contains setting addata_conf, addata_editor.
The addata_conf setting is array list. The list can contain two keys.
Key adcom defines XML configuration file used for edit and display additional data connected to common segment (adcom).
Key adop defines XML configuration used for edit and display additional data connected to operation segment (adop).
The addata_editor setting is array list. This setting is applied only to JCL format and is configuring Codemirror editor, which is used for Additional data value editing. Array key is filter to additional data key. Array value is Codemirror editor keyword.
Example for editing with XML mode all additional data containing TWSRULEAPP
To customize the certain handover process default configuration can be overwritten by PHP process definition file.
The interfaces of modules that can display or edit additional data have configuration settings addata_conf, addata_format, addata_edit.
The addata_conf setting is array list. The list can contain two keys.
Key adcom defines XML configuration file used for edit and display additional data connected to common segment (adcom).
Key adop defines XML configuration used for edit and display additional data connected to operation segment (adop).
The addata_format setting is array list. The list can contain two keys.
Key adcom defines XML file format used for edit and display additional data connected to common segment (adcom). Possible values are wai or jcl.
Key adop defines XML file format used for edit and display additional data connected to operation segment (adop). Possible values are wai or jcl.
The interfaces of modules that can display or edit additional data have configuration option addata_edit. This setting will enable (addata_edit=true) or disable (addata_edit=false) editing of additional data. The default setting for addata_edit is false, so without setting addata_edit option additional data will be read only.
Example: This configuration list use XML file addata_example.xml to configure additional data in common segment, XML file twsmod_adop.xml to configure additional data in operations segment
Last updated