Select Lists

Prev Next

Select lists help users fill in index fields. When a user fills in a field, the select list offers predefined entries, for example cost centers. Picking an entry saves time and avoids typing errors. Because everyone picks the same spelling, documents are stored consistently and are easier to find.

Select lists are used in store dialogs, result lists and forms, and when setting up workflow criteria. You assign a select list to a dialog field in the file cabinet configuration, and to a form field in the Forms designer.

In DocuWare Configurations > Select Lists, you see all the select lists of your organization. There you also set up select lists based on data sources outside DocuWare. This works even before a file cabinet has been created in DocuWare.

Permissions for select lists

To see Select Lists in DocuWare Configurations, users need the functional right Configure select lists. With this right, they can create, change and delete select lists. You assign functional rights in DocuWare Configurations > User Management.

With the functional right Edit Fixed Select Lists, users see a link in the store dialog that opens a fixed select list in DocuWare Configurations. There they can edit the list directly. With this right, they cannot create or delete select lists.

Types of select lists

Internal, fixed and external select lists

Select lists differ in where their data comes from:

  • Internal select lists come from DocuWare itself. Every index field has its own default select list, which DocuWare builds automatically from the values that users entered in that field before. Other internal select lists use data that DocuWare already holds, such as users, roles, groups or substitution rules.

  • Fixed select lists come from a source outside DocuWare, such as a database or a simple text file. DocuWare imports them once and stores them, so they open quickly.

  • External select lists also come from a source outside DocuWare. DocuWare reads them from the source each time a user opens the field, so they always match the current state of the source.

Single-column and multi-column select lists

Think of a select list as a table with one column or with several columns. The number of columns decides whether the select list can be filtered, that is, whether it shows only the entries that match the entries in other fields of the dialog.

  • Single-column select lists cannot be filtered. The default select list is the exception. DocuWare builds it automatically from earlier entries, and it can be filtered by the values that were stored together with the entries in other fields.

  • Multi-column select lists can be filtered. They bring data from outside DocuWare into the dialog, for example customer or supplier master data. More about importing and filtering a multi-column select list.

Note: Assign the select list to a dialog field

A select list is available to users only after it is assigned to a dialog field.

Creating a new select list

You create a select list from a data source outside DocuWare in two steps.

Step 1: Choosing the mode

Fixed and external select lists both use a data source outside DocuWare.

  • Fixed: DocuWare imports the list once and provides it without accessing the data source again. Users therefore get the list very quickly in the DocuWare client. You can also enter a fixed select list directly in this dialog: select the plus icon below the list.

  • External: DocuWare reads the entries from the data source each time the list is opened. The list always matches the current state of the data source.

Fixed and external select lists can be filtered if they have several columns. More about importing and filtering a multi-column select list.

Step 2: Choosing a data source

The Source list shows the file connections of your organization and, for on-premises systems, its database connections. You can also upload a file from your computer.

Importing a local file

You can import a fixed select list as a file from your computer. For a single-column select list, use a TXT file. For a multi-column select list, use a CSV file in UTF-8 encoding with a semicolon as the separator.

Important: Set the list separator to a semicolon before you save the file in Excel

Excel uses the list separator set in Windows, and that separator depends on the language. English Windows uses a comma, while German or French Windows, for example, use a semicolon. If you save the CSV file with Excel on an English Windows, change the list separator to a semicolon in the Windows region settings first. Otherwise, a list with more than one column cannot be imported.

Using a file connection

A file connection defines, among other things, a file and its storage location. If the select list uses a file connection, DocuWare accesses the storage location and loads the file.

Using a database connection

With a database connection, DocuWare accesses a database directly, for example the database of a CRM system. DocuWare supports MSSQL, MySQL and ODBC as database types. From DocuWare 7.14, you create a database connection in DocuWare Server Manager. In earlier versions, you create it in DocuWare Administration under System > Database Connections.

When DocuWare Cloud customers connect external sources through a database connection, the data can be filtered before it is transferred to DocuWare. Select at least one database field and enter a value to filter by, for example Delivered for the status. Apart from the system variables, no predefined index entries are available yet, so enter the filter criteria manually. Select Update to preview the filtered records.

Note: Use a file connection in DocuWare Cloud

For security reasons, database connections cannot be accessed in DocuWare Cloud. In DocuWare Cloud, connect external select lists through a file connection.

A select list can be filtered only if it is a multi-column table. More about importing and filtering a multi-column select list.

Using a file cabinet as the source

From DocuWare 7.12, you can select a file cabinet directly as the source of a select list. This works in DocuWare Cloud and in on-premises systems.

Example: Supplier master data is entered and maintained in a file cabinet. The company names are available in the supplier select list of the invoice file cabinet.

Importing and filtering a multi-column select list

A multi-column select list is a table. Each column holds the values for one dialog field, and each row holds values that belong together, for example a company and one of its contacts:

Company

Contact

Peters Engineering

Peggy Jenkins

Peters Engineering

Brian Ford

Peters Engineering

Peter Sales

Flying Tom

Thomas Rain

In the dialog, each field is assigned one column of the table. Because the values in a row belong together, the fields can filter each other. A filtered select list shows only the entries that match a value already selected in another field.

Example: A user enters Peters Engineering in the Company field and moves to the Contact field. The select list of the Contact field now shows only the contacts that belong to Peters Engineering: Peggy Jenkins, Brian Ford and Peter Sales.

This is where the name comes from: the select lists of several fields can filter each other only if they are columns of the same table.

A default select list is built automatically by DocuWare from earlier entries. A multi-column select list, by contrast, brings data from outside DocuWare into the dialog. Examples are customer or project data from a CSV file, a file connection or a database connection.

Dependent filtering works in forms and store dialogs. The following example shows how to import a multi-column select list and use it for filtering.

Step 1: Creating a table

For filtering, an external select list must be based on a table with several columns, saved as a CSV file in UTF-8 encoding with semicolons as separators. Alternatively, import the select list through a file or database connection.

The example uses a simple CSV file with five data records. Each record has the columns Company, Customer ID, Project ID and Contact. Later, you assign these columns to the fields of a web form (step 3) or a store dialog (step 4).

CSV file with the columns Company, Customer ID, Project ID and Contact

Step 2: Importing the table

Import the table as a fixed select list in DocuWare Configurations > Select Lists.

Importing the CSV file as a fixed select list

DocuWare stores both the columns (Company, Customer ID and so on) and the data records (for example Peters Engineering, 12345, 54321, Peggy Jenkins).

Step 3: Filtering in a web form

To set up dependent filtering in a web form, open DocuWare Configurations > Forms > Designer.

  1. Drag a dropdown field into the design area.

  2. In the field settings, select Select List as the source. Then select the multi-column select list and one of its columns. The values of this column become the options of the dropdown field, in this example Company.

  3. Assign the next dropdown field to the second column, Customer ID. Select the Company field as the filter. The field then shows only the customer IDs that are in the same rows as the selected company, for example Peters Engineering.

  4. Assign the other fields to the columns of the select list in the same way.

If you need to change the select list, open it directly from the designer with the pencil icon.

Dropdown field with a select list as its source in the Forms designer

With the option Autofill Single Value, if only one value is left in a column, it is filled into the linked field automatically. In this example, if a user enters Flying Tom as the company, the customer ID 34567, the project ID and the name Thomas Rain are filled in automatically.

Form with fields filled in from the select list

More about DocuWare Forms

Step 4: Linking a store dialog field

  1. In DocuWare Configurations > File cabinets, open the store dialog and then the dialog field that should get the select list. In this example, it is the default store dialog and the Contact field.

  2. In the field properties, enable the select list you imported, in this example Demo table.

  3. Select the column whose entries the field offers, in this example Contact.

Configuring the filter

Users should be able to select only the contacts that match the Company field and the Project field. This takes two conditions:

  1. Select Company as the data source column, and the Company field under Dialog field entries.

  2. Link the Project ID column with the Project field.

Filtering when storing

A user stores a document with the default store dialog, enters Peters Engineering in the Company field and moves to the Contact field. The select list now shows only the contacts whose data record has Peters Engineering as the company: Peggy Jenkins, Brian Ford and Peter Sales.

Contact select list filtered by the company Peters Engineering

If the user also enters the project ID 54321, the list shows only the contacts that match both conditions. Here, this is Peggy Jenkins.

Contact select list filtered by company and project ID

Supported versions: DocuWare Cloud + 7.15 + 7.14 + 7.13 + 7.12 + 7.11 + 7.10