On this page
App should present users with a form to create or edit records. Internally each app record is a page, therefore developers can include/exclude/replace Page properties and add new properties to fit their apps.
Here are the default properties that come with every record
Here are the built-in properties and settings that app may include or exclude for its record
If a built-in property is not formatted as desired, just exclude it and create a new input field for that property in desired format.
App developers may add new input fields to capture more data for the records. There are many pre-defined fields such as:
To create a custom field, just choose a field type, name (id), label (display name) and description (optional) for it. You can also set field visibility, a default value, whether the field is required or optional or accepting multiple values (select and lookup field only), and specify options if the field supports them. The default value can be set to From::configs to retrieve the configured value for the same field name in the App configuration (set by Site Manager). When listing app records, by default, only the ID and Name/Label of the record are returned. If a field should be included in the return, it needs to be marked as a Listing Column.
When a field's visibility is set to Client Hidden, Hidden or ReadOnly, it is not visible (except ReadOnly) or savable by respective user groups but can be changed by Automated Actions. While Client/Staff ReadOnly prevents respective user groups from changing existing values, it does allow them to set a value at the time the record is created. On the client side, ReadOnly field is only displayed when it has a value or it is a required field.
Visibility | Client can Read | Client can Save | Visible to Client | Visible to Staff | Staff can Read | Staff can Save |
---|---|---|---|---|---|---|
Client Editable | ||||||
Client ReadOnly | when required or not empty | |||||
ReadOnly | when not empty | when not empty | ||||
Client Hidden | ||||||
Hidden | ||||||
Staff Editable | ||||||
Staff ReadOnly |
There are two ways to create a hidden property. One is to create a custom field with hidden visibility and a default value. The other way is to use Automated Action to change the property to a desired value when a record is created/updated or both (posted). App also has several hidden properties that are not saved but can be used to manipulate other properties, such as:
Action Button can be used to set a value for a field/property and save the current record immediately with just a single click, for example you can set different statuses for a record using different buttons. The button's value will override or set the corresponding property's value if the property is editable or missing, it will be ignored in case the property is hidden or readonly (will not work with automation). Action Buttons can be used with the Automated Action to trigger other actions (update other apps, send notification or webhook etc).