Skip to main content

Via JSON

Actito allows you to define the structure of your table yourself. The creation of your profle table is done through a definition file.

The definition file used to create a profile table is a JSON file (example.json), which is a text file containing a JSON.

Good to know

JSON is a data format which allows you to represent structured information (like XML). Any creation or modification of a profile table must necessarily be done in this format.

If you are not familiar with this format, it is possible to validate your code with the help of the following website: https://jsonlint.com/.

To create your own table, your JSON file can be created in advance or created/edited from the interface using the built-in JSON editor. You can also directly use the provided Customer template, or use its code as a model for your own structure.

Click on "Create Table", then choose the option "From JSON", available in every tab, next to the templates.

The tab from which you import the JSON does not matter: the type of table must be determined by the file structure.

alt text

The tab from which you import the JSON does not matter: the type of table must be determined by the file structure.

You must first specify the entity of the table.

alt text

caution

Choosing this entity is important because it cannot be changed later. In most cases, it is recommended to have all tables in the same data model linked to the same entity.

Click on "Upload from my computer" to open a modal window. You will be prompted to upload the definition file in JSON format that you prepared beforehand. You can also edit the inserted JSON directly from the interface or even create it from scratch using the JSON editor (or paste it there).

alt text

The editor will let you know if your JSON does not follow proper JSON formatting.

Click on "Create" to launch the creation of the table. Any errors encountered during table creation will be displayed, allowing you to fix the issues in the JSON.

alt text