Difference between revisions of "Using a Databox - Write"

From Keyfax Wiki
Jump to: navigation, search
(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...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Home > Databoxes > Using a Databox - Write
+
With the item type selected as '''Databox - Write''' you can add a databox to the script by dragging it into the action column as shown below. This will cause the answer of the question to be written into the databox.
  
Using a Databox - Write
+
[[File:databoxwrite41.png]]
  
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.
+
In this example when the user selects '''pedestal''' in response to the question "What type of basin is it?", this response will be written into the Additional Information element of the Export XML file.
 
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.
+
[[File:36.png]]
  
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’.
+
[[File:37.png]]
 
 
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.
 

Latest revision as of 12:25, 21 February 2018

With the item type selected as Databox - Write you can add a databox to the script by dragging it into the action column as shown below. This will cause the answer of the question to be written into the databox.

Databoxwrite41.png

In this example when the user selects pedestal in response to the question "What type of basin is it?", this response will be written into the Additional Information element of the Export XML file.

36.png

37.png