Node Type options define how content is structured and how a tag is presented in an output document. By default, nodes are not assigned a Type or Property when they are created.
Please refer to the files in the following table's Example column. We suggest that you run each file in Debug mode and observe the response. The files are saved in the Project environment under Project Tree > Web Services > Resources.
Node Type |
Description |
Examples |
Field | Basic node type. Defines the node as a tag in XML / JSON format. | grField |
Function | Runs the code to determine the value of the node. Note that the code must be written in JavaScript. | grFunction |
SQL | Defines how an SQL statement retrieves information from Fabric or other database interfaces.
Enter the SQL statement manually or hover over and then click the SQL field. Note that it is recommended to set the SQL statement type to SQL to use a prepared statement and prepared binding. To build an SQL statement for each call, set the query Type to Non-prepared SQL. For example, to build dynamic SQL, select X,Y from $table name. |
grSQL |
String | Concatenates two or more values. | grString |
Condition | Builds IF-ELSE statements which should include a condition. The nested nodes are / not executed according to the result of the condition. | grCondition |
Group | Groups several elements. Mainly used with Condition nodes. | grGroup |
Collect | Iterates multiple data sets into one unified array. | grCollect |
Raw | Presents data as output without manipulation. For example, a header for XML format. | grRaw |
Node Type options define how content is structured and how a tag is presented in an output document. By default, nodes are not assigned a Type or Property when they are created.
Please refer to the files in the following table's Example column. We suggest that you run each file in Debug mode and observe the response. The files are saved in the Project environment under Project Tree > Web Services > Resources.
Node Type |
Description |
Examples |
Field | Basic node type. Defines the node as a tag in XML / JSON format. | grField |
Function | Runs the code to determine the value of the node. Note that the code must be written in JavaScript. | grFunction |
SQL | Defines how an SQL statement retrieves information from Fabric or other database interfaces.
Enter the SQL statement manually or hover over and then click the SQL field. Note that it is recommended to set the SQL statement type to SQL to use a prepared statement and prepared binding. To build an SQL statement for each call, set the query Type to Non-prepared SQL. For example, to build dynamic SQL, select X,Y from $table name. |
grSQL |
String | Concatenates two or more values. | grString |
Condition | Builds IF-ELSE statements which should include a condition. The nested nodes are / not executed according to the result of the condition. | grCondition |
Group | Groups several elements. Mainly used with Condition nodes. | grGroup |
Collect | Iterates multiple data sets into one unified array. | grCollect |
Raw | Presents data as output without manipulation. For example, a header for XML format. | grRaw |