Novulo Data Structure Functions Reference
A complete guide to all built-in, read-only functions for Novulo data structures. Click any item to jump directly to its definition.
Contents
- Field-related Functions
- Type-related Functions
- Enumeration-related Functions
Field-related Functions
DS_FieldIsFunction (field_is_function)
Return Type
boolean
Parameters
fieldName: string - include () if function.
Examples
boolean:field_is_function("contacts.contact_name()") β true
boolean:field_is_function("contacts.contact_name") β false
Description
Returns true when the field is a calculated function rather than a stored attribute.
DS_FieldHasParameters (field_has_parameters)
Return Type
boolean
Parameters
fieldName: string.
Example
boolean:field_has_parameters("contacts.id") β false
Description
Indicates whether a function-field requires parameters.
DS_FieldTitle (field_title)
Return Type
string
Parameters
fieldName: string.
Example
string:field_title("contacts.contact_name") β "contact_name"
Description
Human-readable label of the field, with translations applied.
DS_FieldRecordType (field_recordtype)
Return Type
string
Parameters
fieldName: string.
Example
string:field_recordtype("contacts.contact_name") β
"contacts~n_contact#a1f1fca8-cb11-4c1b-88c8-09d5e30e4940"
Description
Internal record-type identifier that owns the field.
DS_FieldFieldType (field_fieldtype)
Return Type
string
Parameters
fieldName: string.
Example
string:field_fieldtype("contacts.contact_name") β novulodatastructuretypes:load("string")
Description
Reference to the data-structure type of the field.
DS_FieldIdFunction (field_id)
Return Type
string
Parameters
fieldName: string.
Example
string:field_id("contacts.contact_name") β
"contacts~n_contact#a1f1fca8-cb11-4c1b-88c8-09d5e30e4940.contact_name"
Description
Internal UUID of the field in the repository.
DS_FieldNameFunction (field_fieldname)
Return Type
string
Parameters
fieldName: string.
Example
string:field_fieldname("contacts.contact_name") β "contact_name"
Description
Strips any record-type prefix, isolating the field name.
DS_FieldThisFunction (field_this)
Return Type
string
Parameters
fieldName: string.
Example
string:field_this("contacts.contact_name") β novulodatastructurefields:load("contacts.contact_name")
Description
Contextual self-reference to the field for record-scoped expressions.
DS_FieldDisplayValue (field_displayvalue)
Return Type
string
Parameters
fieldName: string.
Example
string:field_displayvalue("contacts.contact_name") β "contact_name (contact_name)"
Description
Combines field name and label for display or logging.
Type-related Functions
DS_TypeIsNovuloType (type_is_novulo_type)
Return Type
boolean
Parameters
typeName: string.
Example
boolean:type_is_novulo_type("contacts") β true
Description
True when the type is modelled inside your Novulo domain.
DS_TypeIsDb (type_is_db)
Return Type
boolean
Parameters
typeName: string.
Example
boolean:type_is_db("contacts") β true
Description
Indicates that instances are stored in the database.
DS_TypeTitle (type_title)
Return Type
string
Parameters
typeName: string.
Example
string:type_title("contacts") β "Contacts"
Description
Human-readable title of the type.
DS_TypeIsPrimitive (type_is_primitive)
Return Type
boolean
Parameters
typeName: string.
Example
boolean:type_is_primitive("string") β true
Description
True for scalar types such as string, integer, boolean, etc.
DS_TypeIsFile (type_is_file)
Return Type
boolean
Parameters
dataType: DataStructureType.
Examples
boolean:type_is_file(novulodatastructuretypes:load("file")) β true
boolean:type_is_file(novulodatastructuretypes:load(string:type_id("file"))) β true
Description
True when the typeβs IsFile flag is set.
DS_TypeIsIdDescription (type_is_id_description)
Return Type
boolean
Parameters
dataType: DataStructureType.
Example
boolean:type_is_id_description(novulodatastructuretypes:load("yesno")) β true
Description
True when the typeβs IsIdDescription flag is set.
DS_TypeIsRecord (type_is_record)
Return Type
boolean
Parameters
typeName: string.
Example
boolean:type_is_record("contacts") β true
Description
True when the type is a structured record rather than a primitive.
DS_TypeThis (type_this)
Return Type
DataStructureType
Parameters
typeName: string.
Example
string:type_this("contacts") β novulodatastructuretypes:load("contacts")
Description
Converts its argument to a DataStructureType object.
DS_TypeId (type_id)
Return Type
string
Parameters
typeName: string.
Example
string:type_id("contacts") β "contacts~n_contact#a1f1fca8-cb11-4c1b-88c8-09d5e30e4940"
Description
Internal UUID of the type.
DS_TypeModelName (type_modelname)
Return Type
string
Parameters
typeName: string.
Example
string:type_modelname("contacts") β "contacts"
Description
Logical module name in which the type is defined.
DS_TypeFields (type_fields)
Return Type
List<string>
Parameters
typeId: string (use type_id() or novulodatastructuretypes:load()).
Example
string:type_fields(string:type_id("contacts")) β ["contact_name","phone","email",β¦]
Description
Returns every field code belonging to that record type.
DS_TypeDisplayValue (type_displayvalue)
Return Type
string
Parameters
typeName: string.
Example
string:type_displayvalue("contacts") β "Contacts (contacts)"
Description
Formatted display value combining the type title and context.
Enumeration-related Functions
DS_EnumTargetValue (enum_targetvalue)
Return Type
string
Parameters
enumKey: string β e.g. "yesno:1".
Example
string:enum_targetvalue("yesno:1") β "yes"
Description
Resolves the display value (yes/no, active/inactive) for an enumeration key.
Usage Notes:
- Always prefix calls with the expected return type (e.g.
boolean:,string:). - Parameters are string literalsβkeep the quotes.
- All functions are read-only; they never alter the model, making them safe for UI conditions, validations, and health checks.