A Table Field describes a single column of a table record (see Table Record for details).
Table ID | Fields are tied to a table. This is implicit in the UI. |
---|---|
Unique Name | A unique name for a column that cannot change after creation. This is not visible in the UI, but is relevant when accessing the Tulip API. |
Label | The display name of the field. This is shown in the UI. This property can be changed after a field is created. |
Description | A short description of the field which can be added by the user. |
Order | The order fields are displayed. This is implicit in the UI. |
Field type | Entries in this field must be of this data type. See Field Types below for a full list. Cannot be changed after the field is created. |
Hidden | When archiving fields from a table, they are hidden in the UI. Archived fields can be viewed or restored, along with the corresponding data. |
Unique | Only true for the ID field. Displays an error to the user if they ever tries to create a record with a duplicate value in this field. |
Table Link (Linked Record field type only) | The table that the Linked Record field is linked to |
All tables have a unique ID field which is added automatically and cannot be edited. The unique ID for a give Table Record is provide by the user and:
All tables also have two metadata fields “Date Created” and “Date Updated”. These are datetime fields that cannot be directly edited by the user, only viewed. They track when the record was created and last updated respectively. By default, these fields are not visible. To see them, a user needs to toggle “View Metadata Fields”.
Users can specify up to 197 custom fields. Each field will have a user specified data type, described below. A record may or may not have an entry for any given field.
Type | Description | |
---|---|---|
Text | Sometimes known as a string, this corresponds to the “text” type in postgres and can include any series of characters. The only restriction is that it must be less than 1 Gb as enforced by Postgres. | |
Number | Otherwise known as a float, corresponds to a Postgres “double precision”. It can represent any real number with 15 decimal digits of precision. | |
Boolean | A true of false value. Commonly displayed as a localized “Yes” or “No” in the UI. | |
Integer | A number without a decimal point. Uses the Postgres “bigint” type. It can represent an integer between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807 | |
Interval | An interval of time. Internally, we represent this as a decimal number of seconds, though we often display with an hour:minutes:seconds.milliseconds format. | |
Image | A URL of an image. Users can manually enter a URL or upload the image to be stored in Tulip. | |
User | A string corresponding to the ID of a user within this Tulip instance | |
Datetime | A Postgres “timestamp with time zone”, this is a specific time on a specific day. By convention, a day with time midnight is often used to refer to whole days. | |
Color | An RGB color corresponding to the standard CSS representation for that color. How To Specify Color Value | |
Linked Record | A link to the ID field of another table with one of four types of mappings: One to One, One to Many, Many to One, Many to Many | |
Video | A URL of a video. Users can manually enter a URL or upload the video to be stored in Tulip. | |
Machine | A link to a single Machine within Tulip. | |
File | A URL of a file. Users can manually enter a URL or upload the file to be stored in Tulip. | |
Station | A single Station within Tulip |
Linked Record fields provide additional options within Triggers. The following options are available from the 'Table Linked Record Field' menu option within the 'If, If/Else' clause of a Trigger:
Name | Description |
---|---|
Is Linked To | Returns true if a placeholder field is linked to another placeholder |
Is Not Linked To | Returns true if there are no links between two placeholders |
Has Links | Returns true if a placeholder field has any links |
Has no Links | Returns true if a placeholder field does not have any links |
ID | Name |
---|---|
QA-T84 | Table Management : 05 - Add columns to a table |
QA-T85 | Table Management : 06 - Edit a table column |
QA-T86 | Table Management : 07 - Edit a table column description |
QA-T87 | Table Management : 08 - Delete a table column |
QA-T88 | Table Management : 09 - Restore a deleted table column |
QA-T89 | Table Management : 10 - Reorder table columns |
QA-T93 | Table Management : 13 - Sort table records by column in table view |
QA-T242 | Embedded Tables : 02 - Sort an embedded table |
QA-T245 | Embedded Tables : 05 - Handle deleted fields in embedded tables |
QA-T464 | Tables CSV Import : 01 - Import to table |
QA-T467 | Tables CSV Import : 03 - Import from export |
QA-T596 | Widgets - Record History Widget |
QA-T702 | Table Management : 05 / Table Columns must be named |
QA-T705 | Table Management : 06 / Table Columns labels cannot be blank and ID column type cannot be modified |
ID | Requirement |
---|---|
PLAT-8872 (830) | All data changes must be captured in audit trail. Audit trail can be turned off or on for GxP needs. This may only be performed by an administrator; it cannot be performed by a user executing an APP. |