Basic parameters

On the Basic subtab of the Attributes tab (see figure Document types – attributes above) you can adjust the following parameters. Mandatory input fields on this web page are marked with an asterisk (*).

Parameter

Mandatory

Description

Identifier

Yes

This identifier can be changed since an ID is used to reference the field internally, but it must be unique within one document type.

Display name

Yes, for the default language

This name is displayed as an attribute name. You can specify multiple names for different languages by using the link Localize.

Description

Yes, for the default language

This description is displayed as a tooltip. You can specify multiple descriptions for different languages by using the link Localize.

Attribute Family

N/A

This field is used only for informational purposes and cannot be edited. The attribute family can be used to determine the visibility of an attribute. See section To configure the attribute visibility.

Attribute Type

Yes

 

This is a drop-down list that provides the user with the available attribute base types.

Attribute types may vary depending on the attached database system. The default is “string”.

The following types are common for most database systems: string, text, Boolean, float, dateTime, date, decimal and time. This parameter cannot be changed anymore after saving the document type once.

Named-based types with the prefix "named..." (e.g. "namedString") can appear as attribute types in the AdminClient just to be compatible with the Integration Service to support multivalue attributes. Such types are not foreseen to be manually set up in a standard scenario. (Such types are used, for example, to handle internal configurations or customer-specific scenarios.)

Also see section “String and text attributes” below this table.

Attribute type limitations for “Save as new” in the OfficeClient

Only basic metadata attribute types are supported as mandatory in an Office document type if you want to use the functionality “Save as new” directly from the OfficeClient. See Save as a new ImageMaster document in [SM OfficeClient].

Initial Length

Yes

Only applicable to type “String”

The string length cannot be decreased, once it has been saved for a document type. Only a belated increase is possible.

Key Attribute

N/A

Defines whether the attribute is a key attribute

By default this option is not active, i.e. an attribute is NOT a key attribute.

Also see section “Key attributes” below this table.

Document Designator

N/A

If selected, the attribute is used as (part of) a document identifier. This is essential e.g. for displaying an identifier in a document tab that may be significant in order to denominate the document. By default this option is not selected.

Is Part of Document Summary

N/A

If selected, the attribute is used as a part of the document summary. The document summary can be used in order to display a short note about a document e.g. when hovering the mouse over a bookmark link or in the table summary. By default this option is not selected.

Read Only

N/A

A user cannot change the value of a read-only attribute. This is usually used for attributes that are filled automatically and must not be changed manually. By default this option is not selected.

Autocompletion

N/A

Only applicable to type “String”

If this is selected, the system predicts the rest of a word that a user is typing in the input field. Constraints are not supported in this case and the belonging settings will be disabled (see chapter Constraints for details).

By default this option is not selected.

Minimum Characters

Yes

Enabled for string if Autocompletion is active (see above)

Autocompletion is triggered when the number of typed characters reaches this limit.

The default value is 3.

Mandatory

N/A

Defines if the attribute is obligatory

A mandatory attribute value must be filled to complete any document creation or update.

If you set the number of Minimum Occurrences to a value larger than 0 (see below), an attribute will also become mandatory.

Attribute type limitations for “Save as new” in the OfficeClient

Only basic metadata attribute types are supported as mandatory in an Office document type if you want to use the functionality “Save as new” directly from the OfficeClient. See Save as a new ImageMaster document in [SM OfficeClient].

Minimum / Maximum Occurrences

Yes

 

Number of supported or required values / multi-value attribute:

A value larger than 1 for Maximum Occurrences indicates that an attribute is a “multi-value attribute”. In an already existing document type it is not possible to change a single-value attribute to a multi-value attribute. If a multi-value attribute is desired, the number of maximum occurrences must be specified larger than 1 right from the beginnings, when the attribute is initially set up.

When initially adding an attribute, the Minimum Occurrences parameter is set to 0 and cannot be edited. Once the settings are saved, the field can become editable. If you then set a value larger than 0, the attribute will also be marked as mandatory.

When documents already exist, you should only decrease the minimum value or increase the maximum value because otherwise there can be conflicts with already existing items.

Trying to save an invalid setting will be rejected with an error message.

Required For Search

N/A

Defines whether the attribute may be empty when performing the search over the corresponding document type

Value True

No

Only applicable to type “Boolean”

Defines the value that is displayed for documents and in the search panel in case the Boolean value is true. You can optionally localize the value.

The default is “Yes”.

Value False

No

Only applicable to type “Boolean”

Defines the value that is displayed for documents and in the search panel in case the Boolean value is false. You can optionally localize the value.

The default is “No”.

Value Undefined

No

Only applicable to type “Boolean”

Defines the value that is displayed in the search panel in case no value is selected for the attribute. You can optionally localize the value.

The default is empty.

Initial Precision

Yes

Only applicable to type “Decimal”

Defines the total number of digits.

This value cannot be changed after initial creation.

The default value is “16”.

Initial Scale

Yes

Only applicable to type “Decimal”

Defines the number of digits to the right of the decimal or binary point.

This value cannot be changed after initial creation.

The default value is “0”.

Table 30: Document types – attributes: basic parameters

String and text attributes

The attribute type “string” is characterized by a maximum length that has to be specified. This type of string attribute is searchable. In contrast, the type “text” supports an arbitrary length that does not need to be specified in the attribute configuration. String attributes support length of 2000 characters.

The type “text” is suitable when the maximum length cannot be predicted and very large text values are expected. However, for this kind of text, there is no associated attribute search field in the WorkplaceClient. Only if a full-text search engine is installed, such text is searchable with the general full-text search field.

Key attributes

The key attributes of a document type provide a set of attributes that must be unique amongst the document type. Multiple values are not supported for a key attribute. Two documents never share the same value combination with regard to their key attributes, but also consider the following:

It is possible to define an attribute as a key attribute belatedly if documents of this document type already exist. In such a case, at the time when the new key attribute is activated, there is no error if already existing documents violate the unique key condition, but whenever such a document, which is in a violating state, is updated and there is still a unique key violation at the time of the update, there will be an error! This must then be resolved by changing the key attributes to make them unique again for the affected document revision.

Consequently, before introducing a key attribute belatedly, it is recommended checking in advance for any key violations and to resolve these in order to avoid any follow-up issues in upcoming update operations. In particular, you should consider that certain users or services may not be able to change the key attributes at the time of the update, e.g. due to missing permissions, or because it is not foreseen within an automated import process, or just because a user does not know which key attribute should be changed to resolve the conflict in the best way.

Attribute type limitations for “Save as new” in the OfficeClient

Only basic metadata attribute types are supported as mandatory in an Office document type if you want to use the functionality “Save as new” directly from the OfficeClient. See Save as a new ImageMaster document in [SM OfficeClient].