Using the class “DocumentAttribute”
The class dvelop_docs_dev.DocumentAttribute encapsulates all the metadata and information for a DMS document attribute or property.
Signature
global class DocumentAttribute
Contents
Constructors
You can create a DocumentAttribute instance with the following constructors:
DocumentAttribute()
This constructor creates a simple DocumentAttribute instance.
Signature
global DocumentAttribute()
DocumentAttribute(key, value)
This constructor creates a DocumentAttribute instance with a key and one or more attribute values.
Signature
global DocumentAttribute(String key, Object value)
Parameters
key: The key for the attribute or property.
Data type: String
value: The value of the attribute or property. You can transfer an individual text value or a list of text values.
Data type: Object
Properties
The class DocumentAttribute has the following properties:
key: The key for the attribute or property.
Data type: String
values: A list with the property values. If there are multiple values, the list contains more than one value.
Data type: List<String>
value: Reads out the first value from the values list. Defining this property automatically fills the values property with a list with the specified value.
Data type: String