View Properties and Rules
The Properties menu consists of the following tabs:
- Properties - Properties of the controls used on the View
- View Rules - Rules applied to the View
When using Fields, Methods or Controls on a View, the control linked to that component contains configurable properties that are specific to the control. See the Controls topic for more information on these properties.
Validation
Property Types (also known as data types) are automatically validated upon executing the CREATE or SAVE method on a SmartObject.
For example, if a user tries to CREATE a new record for a SmartObject property called Mobile with a data Type of type [Number], but with a value that is of type [Text], a server side message will be surfaced, stating that validation has failed.
When working with a View, property settings can be configured for the specific View.
Properties | ||
---|---|---|
Feature | Description | How to use it |
Name | The name of the View | Type a new name if required |
Spinners | Selected by default. Enables a spinner display on the View while the View is loading at runtime. | Deselect the option if a spinner should not be displayed. |
Delay | Represents the delay in milliseconds before the spinner is displayed at runtime. If Spinners = True and delay = 1000, then the spinner will appear after a second. This is useful for example when the View usually takes less than the delay specified to load, but you want to show that it’s busy if it takes longer than usual. | Type a number in milliseconds. |
- Advanced properties can not be set at runtime
- The Form Spinners settings will always override the View Spinners settings.
- The Spinners settings only applies to the Initialize method, and as such will only come into effect when the View loads for the first time. It will also only influence the “whole page” spinner.