Page History
Panel | |||
---|---|---|---|
| |||
IS AUse this function to check Checks the entity type of an instance. The function returns TRUE if the selected instance is of the specified entity. Syntax
Inputs
Return type
Examples Suppose a domain model in which there is a singleton entity If you want to determine the number of bedrooms is the residence:
If you want to determine the number of bathrooms is the residence:
| |||
Panel | |||
| |||
TYPE OFUse this function to determine the type of an instance. The function returns the name of the entity. Syntax
Input
Return type
Examples Suppose a domain model in which there is a singleton entity
|
...
bgColor | white |
---|
ISACTIVE
Use this function to determine if an instance of a specific type is currently active.
Code Block |
---|
ISACTIVE instances [WHERE condition] |
Inputs
- instances - instances to search
- condition - optional condition to limit the collection of instances to check
Return type
Boolean - TRUE if one of the instances is active, FALSE otherwise
UI Text Box | ||
---|---|---|
| ||
Singletons are always active, so |
Examples
Suppose the following data model.
...
Back to top |
---|
...
bgColor | white |
---|
GUID
This function is able to generate a globally unique identifier which can later be used to uniquely mark and recognize a desired element. The GUIDs are represented as 32 hexadecimal digits, displayed in five groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters.
Syntax
Code Block |
---|
GUID() |
Return type
String - the generated GUID
Examples
...
|