Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Connectors can be created by using the REST connection. In the following, we will explain the process further. We will create a connector with the REST connection which contains a product list as an example.

Creating a new connector

In order to create a connector, please open the page Connector under the Design. Created connector than will be available to use in the Smartform.

...


You can easily test the REST connection via the section “Testing“, after saving the connector.

...

Using the connector in the smartform

Custom connectors can be used in the smartform. In order to show our example, the product list, in the “Select” element of the smartform, “Connections” section should be opened. The label and the value will be selected from the REST file, which contain information of the products.

...

Parameter

Description

Example

Connection 1

Custom connectors can be reached via this drop-down list.

Products

JSON Path: label

This area determines the parameter which should be shown in the smartform drop-down list.

$.products[*].name

JSON Path: value

This area determines the parameter which will be stored in the database.

$.products[*].name

Info

The names of the products will be shown in the dropdown list of the smartform and will be stored in the database when the user selects the product name.

$.products[*].name

Info

Syntax for JSON path starts with a $ sign. [*] means all rows should be included. The last part after . specifies the column name which the data will be derived.
Blank space should be avoided from the column names to reach the information via JSON.
Customer Code → Customer_Code

...