Third-party tables

Add data to a new table

Using SearchEngine and addData(), you set up the row and then do an insert.

This example adds a row to the y_equipment table with values for the x_label and x_manufacturer fields.

SearchEngine se;
se.addData("y_equipment.x_label", "tablet");
se.addData("y_equipment.x_manufacturer", "HP");
se.insert();

Reference

Table properties

PropertyDescription
Folderto organize tables in a hierarchy, optional
Namelabel
Database tablefor the schema, can’t be changed after creation
Sort orderwhich column the table will be sorted on, and the direction
Display fieldfor relations
SuperOffice CRM accesscontrols access to the table from web panels
no access, read access, or full access

Complete list of properties

Field properties

PropertyDescription
Namelabel
Database fieldfor the schema, can’t be changed after creation
Cannot be emptymakes field mandatory
Create indexwhether to index the field
Show in tablewhether to as a column when listing entries
Default valueused if not set explicitly
Update null values nowwhether to replace all empty fields with the default value

In addition, each type has its own set of properties. For example, items for a list box and decimals in a number, or units for a time span.

Complete list of properties.