DataTabs
DataTabs are the building blocks to store, read, write and share Data with.
You can think of them as a single field in a database.
Creating a DataTab
- To create a DataTab, first create a new document or go to an existing one.
- Go to layout edit mode by clicking on the layout edit button in the top right of your document.
- Click "Add DataTab" at the top of the editor to add an empty DataTab at the end of the document.
You can reorder, duplicate or delete a DataTab any time.
A DataTab used in an instanced layout preserves the same id in all documents created with this layout.
DataTab Settings
In layout edit mode click on a DataTab (a row in your document) to open the DataTab settings panel.
Settings
Label
The label (or title) of your DataTab.
Icon
The icon shown left from the label. Requires you to enable icons in the layout settings.
API Only
If enabled, the value can only be written by Api but is still visible via the UI.
Status
Text only Adds a status color indicator.
Multiline
Text only Display a text value of up to 3 lines below the label.
Options
Text only Defines a dropdown list of options to choose from, separated by a pipe ('|'). It's only enforced for user selected values not by Api.
Placeholder
Text only Placeholder for empty values.
Boolean Naming
Boolean only Display a text next to the Boolean switch, e.g. 'enabled' or 'on'.
Fixed Decimals
Number only Will show the number with a fixed number of decimals. The displayed value gets rounded if more decimals are available. The internal value is preserved.
Min
Number only The min allowed value.
Max
Number only The max allowed value.
Unit
Number only A unit text to show behind the number.
Update URL
The https url of the action to trigger on value change or button press. You can add a specific HTTP method in front (GET, POST, PATCH, PUT, DELETE). Defaults to POST. GET or DELETE will not submit a request body.
Data types
Text
Any UTF-8 Unicode string up to 2000 characters in length (byte length). Null allowed. Defaults to null. If a https url is defined the UI will show a button to open the link in a new tab.
Number
A signed integer or signed decimal with up to 6 decimals. An input with more decimals gets rounded to 6 decimals. Null allowed. Defaults to null.
Integers between -4611686018427387904 and 4611686018427387903
Decimals between -4611686018427.387904 and 4611686018427.387903
Boolean
A boolean: true or false. Null is not allowed. Defaults to false.
Reference
A reference to another document that can be opened in the UI. No value stored.
Button
A button to trigger an external action via the UI. No value stored.