Skip to main content

Creating a New Extension Field

This section explains step by step how to add an extension field to a record type, which settings each field type offers and how validations work. The concept of extension fields is explained in Extension Fields Overview.


Steps to Add an Extension Field via the Application​

1. Accessing the Function Design Screen​

Click Function Designs under the Administration menu on the left.


2. Selecting the Function and Record Type​

  • You are directed to the Functions page.
  • Find the function you want to extend (for example Asset).
  • Open the row actions, point to Extension Fields and select the record type to extend from the sub-menu.
  • Alternatively, open the function and select its Extension Fields tab. When the function has more than one extendable record type, choose the record type in the picker next to the tabs.

3. Viewing Existing Extension Fields​

  • You are directed to the Extension Fields page of the record type.
  • The existing fields are listed with their Field Key, Group Name and Field Type.

4. Adding a New Extension Field​

  • Click the + New button at the top right to open the Create Extension Field page.

5. Filling In the Fields and Saving​

  • Optionally describe the field in the box at the top (for example "Supplier approval date, not required") and click Fill with AI: the AI fills in the field key, field type, title in English, Turkish and Azerbaijani, hint text, select options and the Required validation. The form shows "The AI filled in the form. Check it and save; nothing has been saved yet." If an existing field already holds the described information, the AI says which one instead ("This is already held by the field ...; no new field is needed."). The button requires the Design assistant permission and AI for the tenant.
  • Fill in or correct the general information on the left and, if needed, add validations on the right.
  • Click Save at the top right. The field is created and you return to the Extension Fields page.
  • Place the new field on the record's pages with Page Designs so that users can see it.

Key Fields in Extension Field Definition​

The General Information panel contains the following fields. Required fields are shown in bold.

Field NameDescription
Field KeyThe technical name of the field, used to store the value on the record. Required, at most 128 characters; only letters, digits and underscores, and it must not start with a digit. Must be unique within the record type. Cannot be changed after creation and is not shown on the update page.
TitleThe label of the field on pages and lists. Required; can be entered separately for each language.
PlaceholderThe text shown inside the empty input. Optional; can be entered for each language. Not offered for Yes/No and Table fields.
Hint TextHelp text shown with the field. Optional; can be entered for each language.
Field TypeThe type of the field (see Field Types). Required, default Text. Cannot be changed after creation. Changing the type while creating the field clears the default value and the validations entered so far.
Default ValueThe value given to the field when a record is saved with the field empty. Offered for Text, Number, Decimal, Yes/No, Date, Date & Time, Time, Rich Text, List, Single Select and Multi Select fields. At most 4000 characters.
Group NameGroups related extension fields on the pages. Optional, at most 128 characters.
ValidationsRules checked when a record is saved (see Validations).

Type-Specific Settings​

List​

  • List Item Definition: The type of the list items, Text or Number.
  • The default value is a list of values entered with Add.

Record Reference and Multiple Record Reference​

  • Referenced record type: Chosen from a list grouped by module. It is shown under the List Item Definition label on the page. It is set when the field is created and cannot be changed later.
  • Fields and Expression: After a record type is chosen, three tabs define how the referenced records are shown and searched. They are filled automatically from the record type's default display and can be adjusted:
    • Display Fields: The fields of the referenced record loaded for display. At least one is required and at most 5 are allowed. A field can go at most one level deep, for example site.name.
    • Search Field: The fields searched when the user types in the selection box. At least one is required.
    • Display Expression: Required. How a referenced record is shown, with field names in double braces, for example {{code}} - {{name}}.

Table​

  • Table Columns: At least one column is required. Add opens the Add Table Column window, where each column has its own Field Key, Title, Placeholder, Hint Text, Field Type, type settings and Validations. Every field type except Rich Text, List and Table can be used for a column.
  • The pencil button edits a column, the delete button removes it, and Delete All removes all columns.

Single Select and Multi Select​

  • Select Options: The options users can choose from. Each row has an Option Label (shown to the user) and an Option Value (stored on the record).
  • The settings button next to Add sets the type of the option values: String, Number or Boolean. Changing it resets the options.
  • Delete All removes all options.

Validations​

The Validations area on the right lists the rules of the field. Add adds a rule, the delete button removes it and Delete All removes all rules. Each rule has:

  • Validation Type: The kind of rule. Only the types that apply to the field type are offered.
  • Value: The limit or pattern of the rule, where the type needs one.
  • Error Message: Required. The message shown to users when the rule fails; can be entered for each language.
Validation TypeAvailable forValue
Required FieldText, Number, Decimal, Yes/No, Date, Date & Time, Time, Rich Text, Single SelectNone
Regex ValidationTextA regular expression the value must match
Minimum Length / Maximum LengthTextNumber of characters
Email ValidationTextNone; the value must be an e-mail address
URL ValidationTextNone; the value must be a URL
Minimum Value / Maximum ValueNumber, DecimalNumber
Minimum Item Count / Maximum Item CountList, Table, Multi SelectNumber of items

⚠️ Warning​

  • An extension field is optional unless it has a Required Field validation.
  • Validations are checked whenever a record of the type is saved, also for records created before the rule was added.
  • Field Key and Field Type cannot be changed later. Check them before saving.

Editing and Deleting an Extension Field​

  • Edit: Opens the Update Extension Field page. All settings except Field Key, Field Type and the referenced record type can be changed. Click Save to apply the changes.
  • Delete: Removes the field definition after confirmation. The field is no longer offered on pages, in lists or in report templates.

Extension Field Definition: Basic Entity Relationships​