dms.SelectDistinctFieldValues
This job returns a list of all values of a given DMS field. Multiple parameter fields cannot be considered.
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
STRING |
No |
Name of the field |
|
STRING |
No |
When [FieldName] refers to a table, [ColumnName] must specify the column. Access rights are not checked, [Filter] is not possible. |
|
INT |
No |
Type of field name: 0 (Default) = DMS Name, 1 = internal name, 2 = database field name |
|
STRING |
No |
Restriction/Search criterion. For text fields, a * is automatically appended. For tables, [Filter] is not evaluated. |
|
STRING |
No |
Sort order. Allowed values: 'ASC' (default) or 'DESC' |
|
INT |
No |
Maximum number of values to return. Default=-1 (all) |
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
INT |
— |
Number of output field values (see input parameter Max Hits) |
|
BASE64 |
— |
Object list in UTF-8 encoded DMSFieldValueList XML format: |
3. Return Value
(INT): 0 = Job successful, otherwise error code
Complete list of error codes