Skip to main content
Working with Data Connectors: JSON Local
Updated over 10 months ago

The Data Connector JSON Local enables adding a fixed JSON with direct input. If you add the JSON directly to the Graphics Editor, the schema is auto-generated.

Requirements

If you do not have access to a JSON resource yet, but you have an example JSON from the API documentation, you can use it to start creating your Graphics.


Adding the Data Connector to the Graphics Editor

First, you need to add an External Connector to your tree (1) and then click on Connect (2).

From the External Source panel choose JSON Local (if it's not listed contact your designated Customer Success Manager).

Setting up the JSON Local

When choosing to use a Local JSON, the Graphics Editor will ask for the JSON Input.

After adding the JSON structure, a Schema will be auto-generated. This schema is editable, allowing you to do extra tweaks to it. For example, you could change the 'temp' label to 'cityTemperature' to have a more descriptive field title when binding.

Once you hit create, the data is stored in the Connector settings, allowing you to edit it later from the inspector. After making changes, the system will synchronize automatically.


JSON Local example graphics

You can start creating your tree with our building blocks, binding content, and formatting the Graphics:

When the variables available to bind are too many, the system will display a more complex binding modal:

You can use the search input to look for a specific variable and the Index menu to navigate quickly to variables from certain providers.

Did this answer your question?