Using a Databox - Write

From Keyfax Wiki
Revision as of 14:12, 31 January 2018 by Wikiadmin (talk | contribs) (Created page with "Home > Databoxes > Using a Databox - Write Using a Databox - Write To write data to a Databox, open the Script in Edit mode and select the Databox - Write option from the It...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Home > Databoxes > Using a Databox - Write

Using a Databox - Write

To write data to a Databox, open the Script in Edit mode and select the Databox - Write option from the Item Type drop down list in the Navigation Pane. The list of Databoxes that can be written to, is displayed. Select the required Databox and drag it onto the line that would return the data you wish capture.

Example: We will use a Databox to hold data that is to be written to the ‘Additional Information’ node of the Export XML file.

For this, we will use an Export XML Databox called ‘Additional_Info’. This will hold the response to whether a basin is on a ‘pedestal’ or on ‘brackets’ and put it into the ‘Additional Info’ node of the export XML.

In the Editing Pane of the Script, we already have a question within the Script that asks ‘What type of basin it is?’ with options of ‘pedestal’ or ‘brackets’.

In the Navigation Pane, select the Additional_Info Databox and drag it across to the action column next to the option ‘pedestal’.

The Databox will then be added to the action column against the option ‘pedestal’.

This will cause the selected option ‘pedestal’ to be written into the Additional_Info node of the Export XML. As the ‘Additional Information’ section of the Keyfax Results screen reads from this node, it will be visible in the Results screen.