How can I create a data type?

Data can take several forms: numbers, dates, boolean values, and others. With dexi.io, you can create custom data types for consistent data structures across all entries, whether it’s IO, datasets, or dictionaries.

To create a new user-defined data type:

- Navigate to the Projects page.

- Click the New Data Type button at the top of the page.

- Enter a name for the data type.

- Configure the following fields:

- Key?: A key is a unique ID used in dictionaries and data sets to identify “key” data, such as a database column appropriate for indexing. If no key is available, all fields will be treated as a key. Tick this checkbox if you want this data type to be treated as a key.

- ID: A user-defined name for the data type.

- Type: This determines how data is treated. The following Types are available:

- Text: Accepts plain-text data.

- Number: Accepts numerical data.

- Multiple choice: Accepts an enumerable or multiple choice value.

- Data set: Accepts a data set produced by another dexi.io solution, such as an extractor.

- True/False: Accepts a boolean value, either “true” or “false.”

- File: Accepts a binary file or blob object.

- Image: Accepts an image file.

- Conditional: Accepts an “if” result based on a user-defined field.

- Default value: This value is used if no other value is provided or produced.

- Click the Save button to save changes.

This data type will now appear on the Projects page and can be organized in folders just like an extractor or crawler. It can be used in inputs, outputs, data sets, and dictionaries.

Did this answer your question?