Data fields

Introduction to data fields in ConSol CM

Data fields are used to store the information needed for the business process in the objects. They are part of the data model for cases, contacts and resources. Every data field belongs to a field group, which is assigned to one or several data models. These are queues for cases, contact models for contacts and resource models for resources. Several data types are available for data fields, depending on their purpose and the expected data, see Types of data fields.

Concepts, terms and definitions

Concept

Other terms

Definition

case field

ticket field, custom field

Date field of a case

case field group

ticket field group, custom field group

Set of date fields for cases

queue

process

Instance of the business process; links the used workflow to the stakeholders

contact field

unit field

Date field of a person or company

contact field group

unit field group

Set of date fields for persons or companies

resource field

 

Date field of a resource

resource field group

 

Set of date fields for resource types

setting

annotation

Advanced settings for date fields or field groups

Purpose and usage

The field groups are listed in the main table. After selecting a field group, the details panel with four tabs is shown on the right:

After selecting a field from the field group, two tabs are shown on its right:

Data field groups can be hidden and shown during the process so that only fields which are relevant for the current process step are displayed in the Web Client. A common use case for this is hiding a case field group until it is filled out in an activity form, see Hiding fields until they are filled in a form.

The display of the data fields depends on the field type. In addition, a huge variety of customizations is possible. Defining the layout describes the steps which are required for most systems. See Defining advanced settings for further customizations.

Data fields are managed in the same way for cases, contacts and resources. The differences between the three object types are listed in the below sections.

Specifics for cases

Cases have some default fields which are always present:

The page where the data fields for cases are managed is called Case fields. It is located in the Cases menu. There is a filter by queue which shows the field groups assigned to a certain queue.

The order of display of case field groups in the cases depends on their order on the Case fields page.

Specifics for contacts

The page where the data fields for contacts are managed is called Contact fields. It is located in the Contacts menu. There is a filter by data model which shows the field groups used in a certain contact model.

The order of display of contact field groups depends on their order in the contact model.

Specifics for resources

The page where the data fields for resources are managed is called Resource fields. It is located in the Resources menu. There is a filter by resource type which shows the field groups used in a certain resource type.

The order of display of resource field groups depends on their order in the resource model.

Basic settings for data field groups

The following basic settings are available for data field groups:

Basic settings for data fields

The following basic settings are available for data fields:

Types of data fields

A data field always has a field type, which is determined when you create the field and cannot be changed afterwards. Some field types have additional settings.

The following field types exist:

Basic tasks

Locating a field

You can search for a field by entering its internal or localized name in a search field. If you use the search fields above the groups table, only the groups which contain a matching field are displayed in the table. If you already know which group a field belongs to, you can select the group and perform the search using the search field in the Fields tab.

Adding fields to the data model

Proceed as follows to add new fields to a data model:

  1. Define autocomplete scripts, if required for the fields.

  2. Add a new field group on the Case fields, Contact fields or Resource fields page by clicking the New field group button.

    • Enter the name and provide the basic settings in the Group data tab.

    • Optionally, you can already make advanced settings in the Settings tab.

    • Click the Create field group button to save the new group.

  3. Select the field group and create the desired fields.

    • Click the New field button.

    • Enter a name and description for the field and choose a field type in the Field data tab.

    • Optionally, you can already make advanced settings in the Settings tab.

    • Click the Create field button to save the new field.

  4. Define the layout of the field group in the Field positioning tab of the group, see Defining the layout.

  5. Assign the field group to the data model.

    • For cases: This can be done either in the Group data tab of the field group (select the desired queues under Assigned to queues) or on the Queues page.

    • For contacts: This can be done either in the Group data tab of the field group (select the desired contact objects under Assigned to contact objects) or on the Contact models page.

    • For resources: This can be done either in the Group data tab of the field group (select the desired resource type under Assigned to resource types) or on the Resource models page.

You can directly check the outcome after reloading the page in the Web Client.

Removing fields from the data model

Field groups which are in use, i.e. they are assigned to a data model and some of their fields are filled out in actual cases, contacts or resources, cannot be deleted. Nevertheless, you can hide a field group from the Web Client and CM/Track by clicking the Deactivate icon in the respective row. The same applies to single fields: they can only be deleted if they do not contain values in any object. Otherwise, you must deactivate them instead.

Alternatively, you can unassign the field group from the queue, contact object or resource type where it is used. This hides the field group from the Web Client and CM/Track.

On development systems (see cmas-core-shared, system.flavour), you can remove data fields and data field groups which are in use. Click Force remove all to delete a field or a field group from the system. Child fields and references in data models, forms, address autocomplete and runtime data are removed as well.

Defining the layout

Data field groups can be displayed either in the header of the object or in the Details section. By default, field groups are shown in the header section. This can be changed in the setting Display in details section. By default, each group shown in the Details section has its own tab. You can change to the pill mode, i.e. display the groups underneath each other, using the page customization attribute customFieldGroupsDisplayType in customFieldGroupsSection.

The order of the field groups is determined by their position in the table. You can sort the groups with drag-and-drop or by using the Move up and Move down icons.

The position of the data fields within the field group is configured in the Field positioning tab. The layout is based on a grid, where the number of columns is determined by the system property cmweb-server-adapter, defaultNumberOfCustomFieldsColumns. You can drag-and-drop fields to the desired position. If a position should remain empty, you need to click the Insert empty position button and drag the empty position to the desired place. You can increase the width or height of a field by clicking the arrow buttons on the right side of the field.

For tables, it is recommended to use the full width, i.e. make the table span all three columns.

You can only use the Field positioning tab for standard layouts, i.e. layouts where each position is assigned to one data field only and there are no empty rows. If your layout contains special cases, e.g. two fields with the same position, one shown in edit mode and one shown in view mode, you need to set the position in the Settings tab.

The layout can be further customized by using specific settings, e.g. to display labels, tooltips and watermarks for fields, see Defining advanced settings.

Advanced tasks

Defining advanced settings

The advanced settings are made in the Settings tabs. The available settings depend on the object and field type. If a setting can be made both for the field group and for single fields, the setting applied to a single field overrides the setting of the field group.

By default, the checkbox Display configured settings only is selected, so that only the settings which have been changed for the field group or field are shown. You can unselect the checkbox to display all settings, grouped by area of usage.

To locate a setting, you can enter its name or its technical name (previously called annotation) in the search field.

The settings are grouped by area of usage, e.g. layout, field display, case list, history, search, validation, features, CM/Track, CM/Phone and DWH.

You can find a list of all available settings here:

Only the settings which are relevant for the type of object and the selected field type are displayed. If a setting is only relevant if another setting is present, it is hidden until this setting is made.

Frequently used settings

The following settings are frequently used:

Using field visualizations

You can display any content in a data field by using field visualizations. Create a script of the type Field visualization and select it in the setting Field visualization script, see Scripts of the type Field visualization.

Defining the visibility of fields in CM/Track

Only relevant for case fields. The visibility of fields in CM/Track depends on the system property cmas-rest-api, security.fields.customer.exposure.check.enabled, the client configuration and the settings Availability via REST on group and field level. See Defining data availability.

Defining the credentials for CM/Track

Only relevant for contact fields. You can define the fields for the user name and password for contacts which should have access to CM/Track.

The required fields depend on the authentication method:

There can be only one field with the User name for CM/Track setting and one field with the Password for CM/Track setting in a contact model. If the setting is removed from an existing field, the corresponding values (user names or passwords) are deleted from the database. The user name must be unique.

See Supported characters for passwords in ConSol CM for details about the allowed characters for passwords.