Define attributes as follows:
add attribute NAME type | date | [ADD_ITEM {ADD_ITEM}];
| integer |
| string |
| real |
| boolean |
| binary |
| enum |
| shortbinary |
|
Specifying the attribute type is required, including one of the following values in
brackets:
type
{binary|date|enum|integer|string|shortbinary|real|boolean} |
ADD_ITEM provides additional information about the attribute you are
adding. The Add Attribute clauses are:
default VALUE | !hasdefault | nothasdefault |
description
VALUE |
icon
FILENAME |
rule NAME |
maxlength VALUE |
owner ADMIN |
range RANGE_ITEM {range RANGE_ITEM} |
TRIGGER PROG_NAME [input ARG_STRING] |
dimension DIMENSION_NAME |
format FORMAT |
keepformat |
[!|not]multivalue |
[![not]rangevalue |
[!|not]multiline |
[!|not]resetonclone |
[!|not]resetonrevision |
[!|not]resetonclonewhenoutofrange |
[!|not]resetonrevisionwhenoutofrange |
property NAME [value STRING]
|
property NAME to ADMIN [value
STRING] |
Note:
Dimensions are not supported with attributes that have range values.