Person or group
The Person or group attribute allows the user to search for and select people, domain groups, or WEBCON groups. The field can operate in one of two modes – a popup search window or an autocomplete text field – which directly affects the configuration options described below.
For more information on the Person or group attribute, read the Choice field types article available on the WEBCON Community website.
Properties

1. Choice field type
Two buttons let you select the operating mode of the field:
- Popup search window – displays a pop-up window that allows searching for and selecting values,
- Autocomplete – a text field which dynamically suggests answers depending on the entered characters.
Selecting Autocomplete unlocks one additional option group – it is described in the following section of this page.
2. Data sources
- Data source – lets you specify the source of the values used by the attribute. The default data source is the system Users and groups source; it can be switched to any custom Users and groups data source.
- Predefined filters – a nested group that lets you narrow the range of selectable values:
- People selection – allows selecting people in the field,
- Domain groups selection – allows selecting domain groups in the field,
- WEBCON groups selection – allows selecting WEBCON groups in the field,
- Limit selection to WEBCON group – a switch that restricts the selection of people to users belonging to the selected WEBCON group (chosen in the adjacent field, default All users); users from the group are visible in the field regardless of that group's own security.
- Use additional filters – a switch that reveals a field where you can define a rule that further narrows the values returned by the data source. Press Ctrl+Space for suggestions, or type @ to search for objects.
- Override data source sort – a switch that lets you replace the sorting configured in the data source. Add consecutive sort levels to the table with the Add button, specifying the Column name and Sort type (e.g. Ascending) for each; data are sorted by the columns in the order of the levels. Leaving the table empty removes the original sorting – the data are then not sorted. Depending on the data source type, sorting is done by the data source or by WEBCON. If a column used for sorting is removed from the data source, the Portal returns an error, and after the configuration is refreshed the column has an empty name – select another column or remove it from the sort configuration.
- Test – opens the Test window, where you can check the results returned by the data source with the current configuration; the item ID field lets you indicate the instance in whose context the test is run.
3. Appearance and behavior
- Columns – a list of columns used by the attribute. The table's first row corresponds to the column whose value is stored as the identifier of the selected value – the source column should contain unique values. The second row represents the column whose value will be displayed in the field after selecting a value (Display text). The following columns are loaded by default: Account Name (identifier), Display Name (display text), Title, Department, E-Mail, and Login. For each column you can specify whether it is used in searching (Searching) and shown in the search results (Show in search results), and select a Target field to which its value is copied. Further columns are added with the Add column button.
- Query data source if variables return empty values – lets you define whether the system allows the use of tags with empty values. Once checked, a query containing tags with empty values will not return any results.
- Validate the typed values in the data source – the attribute stores the value in the ID#Name format. Each time a user enters a value it is verified against the data source values – a value not found in the data source cannot be entered in the field. Disabling this option skips the additional compliance verification; due to the possibility of creating inconsistencies in the data stored in the database, disabling this verification is not recommended.
- Allow multiple values – allows selecting multiple values using an additional selection window.
4. Allow adding values not in data source
This option allows the user to select a value that is not present in the data source – a button is added on the form that lets the user enter their own value. Enabling this option reveals additional fields:
- Allow editing target fields when new value is added – enables editing of the fields set by the attribute, which are displayed in read-only mode. When switching back to selecting a value from the data source, these fields are switched back to read-only mode.
- Javascript executed on change of choose value mode – a script executed when the user uses the button for adding a value from outside the data source.
5. Allow adding values to the data source
- Link to a form for adding values to the data source – lets you insert a link to a form that allows manually adding extra entries to the data source, e.g. a dictionary process form. The link is then displayed in the field under the label Add new.

6. Search mode
Determines how the entered phrase is searched for. Three modes are available: Starts with (default), Contains, and Exact match.
Additional options for Autocomplete mode
Autocomplete mode exposes the same option groups as Popup search window mode described above, plus one additional group:
1. Autocomplete
- Number of characters to activate search – the number of characters that must be entered before suggestions start appearing (default 3).
- Number of results in first search – the number of results shown after the required number of characters has first been entered (default 5).
- Maximum number of results in search – the maximum number of results shown in the suggestion list (default 100).