2022.1

Table Of Contents
Which node or nodes fit best, depends on where the data come from.
The html content node accepts runtime parameters. These can be passed via the parameters
property of the msg object which is passed between nodes. For example, a runtime parameter
named brandId would be passed via msg.parameters.brandId.
Tip: Use a change node or function node to set a property. See also: "Node-RED: nodes and
common techniques" on page204.
Files used in an OL Connect web flow
Before creating the web flow in the editor of Node-RED you will need to create:
l A template with a Web context. (See "Creating a template" on page477.)
l If the HTML file should contain variable data, you may need to create a data mapping
configuration (see "Creating a new data mapping configuration" on page223). If the input
is going to be JSON data, you could add them to the design using a JSON file (see
"Adding JSON sample data" on page844).
Note that before templates and data mapping configurations can be used in a flow, they must
be sent to the OL Connect server separately. This can be done from the Designer (see
"Sending files to Connect Server or to another server" on page483) or in a startup flow (see
"OL Connect Startup flow" on page209).
Capture OnTheGo flows in Node-RED
Capture OnTheGo is an OL Connect solution that allows to create and send digital forms to the
COTG App(iOS, Android or Windows 10) and processes any data that is returned by the app
after a form has been filled out.
A Capture OnTheGo solution typically consists of three basic flows.
l The flow that makes a document available to COTG App users.
l The flow that replies to document requests from COTG App users.
l The flow that receives data from Capture OnTheGo App users.
Page 218