Scripting (for FIXEdge C++)
- 1 Scripts
- 1.1 Overview
- 1.2 Script table view
- 1.2.1 Overview
- 1.2.2 Filtering pane
- 1.2.3 Action pane
- 1.2.4 List of scripts
- 1.3 Script details view
- 1.4 Creating a script
- 1.5 Uploading a script
- 1.6 Removing a script
- 1.7 Enabling/disabling a script
- 1.8 Editing a script
- 1.8.1 Opening the script editor
- 1.8.2 Script editor
- 1.8.2.1 Script attributes
- 1.8.2.2 Uploading a file
- 1.8.2.3 Saving a script
- 1.9 Using inline scripts
Scripts
Overview
FIXICC H2 allows managing and editing server scripts via UI. After editing, the changes will be applied to the business layer configuration in run time.
To view server scripts:
Click Configurations > Servers > Show all servers (left menu bar)
Select a server in the Servers table view
Click Configurations > View Scripts in the Object view
Script table view is opened in a new tab
Figure. View server scripts
Script table view
Overview
The script table view contains:
A filtering pane
An action pane
A list of scripts in the table
Figure. Script table view
Filtering pane
The filtering pane allows filtering the list of scripts by:
Name
Description
Category (General, Routing, Transformation, Enrichment, Storage, Multi-purpose, Util)
Language (JavaScript, XSLT)
Status (Enabled, Disabled)
Action pane
Create - Allows creating a new script or loading an existing script from a file
Clone - Opens a copy of the selected script for editing in a new tab
Edit - Opens the selected script for editing in a new tab
Remove - Removes the selected script
List of scripts
The list of scripts contains a filtered list of scripts in the table.
You can customize the table or sort it by any attribute.
Figure. Table sorting and customization
Script details view
The script details view contains the following script details:
Name
Language (JavaScript, XSLT)
Category (General, Routing, Transformation, Enrichment, Storage, Multi-purpose, Util)
Status (Enabled, Disabled)
Script body
Figure. Script details
The options in the script details view include:
View in tab - Opens the script details in a new tab
Edit - Opens the script for editing in a new tab
Disable/Enable - Disables/enables the script
Additional menu - Allows removing the script
Creating a script
To create a new script:
Click Create in the Script table view
Click Create new JavaScript or Create new XSLT
Figure. Create dropdown (Create script)
Uploading a script
To upload an existing script from a file:
Click Load in the Script table view
Click Load JavaScript file or Load JavaScript file
Figure. Create dropdown (Upload script)Drop the script file on the pop-up dialog or click Upload to browse files on your computer
Figure. Upload file
Removing a script
To remove a script:
Select a script in the Script table view
Click Remove in the Script table view or click Remove in the Script details view
Figure. Remove script
The script cannot be removed until it is used in the business layer configuration.