Add a domain field to a table

  • Freigeben Version: Australia
  • Aktualisiert 12. März 2026
  • 1 Minute Lesedauer
  • As an administrator, domain-separate a custom table by adding a sys_domain field to it.

    Vorbereitungen

    Role required: admin

    Warum und wann dieser Vorgang ausgeführt wird

    Hinweis:

    Do not add domains to base system tables.

    Prozedur

    1. Navigate to the table's list view.
      For example, type <table name>.list in the navigation filter.
    2. Right-click the list header and select Configure > List Layout.
    3. In the Create new field section, enter sys_domain as the Name and Domain ID as the Type.
    4. Click Add.
    5. Click Save.
      Hinweis:

      Any other means of creating a field adds a u_ prefix to the column name. But with the domain field, the system automatically creates the field without the u_ prefix. You can use the following functionality as a shortcut: Whenever you create a sys_domain field, name it sys_domain and leave the field type as is. The system automatically sets the field type to Domain ID and the field label to Domain, saving you a few clicks.

      Adding domains to base system tables requires prohibitively thorough testing, updates and adding new logic. In addition in many cases, the source code is not accessible to the customer.