Guide

Data and design

Data tables

1 min readOpen in Neblex

Data tables hold your own business data in rows and columns: a price matrix by size and material, a list of motors with their ratings, which options are available in which country. Rules, functions and attribute options read them with queries, so the data can change without changing the model. Open them from Master Data › Data Tables.

Create a data table

  1. Name it. Click + Table and enter a Table Name of letters, numbers, underscores and hyphens, for example ProductDiscountMatrix. Queries use this name.
  2. Add the columns. + Column adds a column with a Name starting with c_, such as c_width, and a Type: string, number, boolean or date. Tick Is Unique when no two rows may share a value, and Indexed for columns you search by often.
  3. Create it. Click Create Table, then Edit Rows to fill it.
The data tables with their columns and rows.
The data tables with their columns and rows.
  1. Create a data table.

Rows

On the rows page, Add Row adds a row and each row can be edited or deleted; values are checked against the column types. Search the rows, and with many columns use Filter Fields to find a column by name. Export CSV and Import CSV move rows in and out in bulk.

Truncate deletes every row and keeps the table and its columns. It cannot be undone, is for superusers only, and asks you to type the table's name to confirm.

Change or delete a table

Columns used by a rule, function, attribute query or layout cannot be renamed or removed, and a table in use cannot be deleted: Neblex CPQ shows what uses it. The list shows every table with its number of Columns and Rows.