Versions Compared

Key

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

...

In order to create a connector, please open the page Connector under the Design. The connector will be available to use in the Smartform form after necessary configuration.

...

You can easily upload a JSON file after filling the name of the connector and choosing the JSON file type:

...

Using the connector in the

...

form

Custom connectors can be used in the smartformform. In our example, we have created a connector for supplier information. In order to show the supplier list in the “Select” element of the smartformform, “Connections” section should be opened on the left-hand side. The label and the value will be selected from the headers of the CSV file, which contain different information of suppliers.

Info

Column names of the Supplier document that we use in this example as follows:
Customer_Code, Name, Symbol, Industry, Last update, Location, State, Revenue, ISIN

...

Parameter

Description

Example

Connection 1

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

Suppliers

Supplier

JSON Path: label

This area determines the parameter which should be shown in the

smartform

form drop-down list.

$[*].Name

JSON Path: value

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

$[*].Customer_Code

Info

The names of the suppliers will be shown in the dropdown list of the

smartform

form, but the code of the supplier will be stored in the database when the user selects the supplier 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