Skip to main content
This feature requires a license for Development Tools or the CRM Suite Core plan.
After you create an extra table, add the fields users fill in when they add custom data. You can also add extra fields to standard Service tables.

Naming conventions

Choose database field names carefully. You cannot change them later.
Use logical names, so it is easy to see what the database contains. The x_ prefix prevents conflicts with future SuperOffice field names. It does not prevent conflicts between extra fields from different third parties.
  • Must start with x_
  • Must be unique within the table
  • Must be a single word
  • May contain only underscores, the letters a to z, and numbers

Steps

  1. Go to Settings and maintenance > System design. Then select the Tables tab.
  2. Browse to your desired table, point at the table name, and click New field. Tables screen with New field next to a table -screenshot
  3. Select a type for the new field and click OK.
  4. In the Field properties screen, enter data about the new field.
    • Enter a name to be used as the label.
    • Enter a database field beginning with x_ to identify the field in the schema.
    • To make the field mandatory, select Cannot be empty.
    • Optionally set other properties. The field type you selected in the previous step determines what is available. See field properties.
    Field properties for a Text (short) field -screenshot
  5. Click OK to save the new field (runs alter table y_mynewtable add column x_mynewfield ...).
  6. Continue adding more fields.
  7. Click Restart NetServer when you are done. If Travel is activated, you will also see a message that a new Travel database must be generated.

Field properties

The URL property in this table belongs to the Dynamic link field type. To show URLs stored in Short text and Long text fields as clickable links, see URLs in text fields.

Add relation (foreign key, FK)

A relation field links an entry in this table to a record in another table. With CRM Suite Growth or higher, the related record can also show a section tab that lists the linked entries.
  1. Point at the table that should hold the relation, and click New field.
  2. Select the relation type for the table you want to link to and click OK.
  3. Set field properties as described above. To show a section tab on the related record, select Show one-to-many relations, and enter the tab label in Header for list. Field properties for an extra table relation, with Header for list and Target table filled in -screenshot
  4. Click OK to save the relation.
  5. For an Extra table relation, open the properties of the target table and set Display field to a field users recognize, such as the name. See table properties.
  6. Click Restart NetServer to apply the changes.
For example, a Lease table has a Laptop field (extra table relation to the Laptop table) and a Sale field (sale relation). Both have Show one-to-many relations selected and Leases as Header for list. Each laptop and each sale then shows a Leases tab with the linked leases. Sale with a Leases section tab -screenshot With a user-plan based license, build a web panel to list the related custom data instead.

Show an extra field on the Details tab

Scenario: you have added an extra field to company (contact table) that shows whether a company has a support contract. You want to display this information when viewing a request.
  1. Go to Settings and maintenance > Screen designer and select the Requests tab.
  2. Click at the bottom.
  3. Locate the Fields setting.
  4. Select your field.
  5. Optionally, select the appropriate styling options.
  6. Click Save to save the settings.
You can also group fields, add headers for groups, and change the sizes of columns. Learn more about the Screen Designer.
In classic Service, you use a common element profile instead. The steps are in the version 11 help.