Open the Architect application and go to the Attributes tab. 



To create an attribute, right-click in the pane and select Create



The Create Attribute Type dialog provides the following fields for defining the attribute: 



SID: The attribute's unique identifier. Can include letters, numbers and special characters (maximum length: 8 characters) although it is recommended that only letters (A-Z) and/or numbers (0-9) are used. (required)

Name: Name of the attribute as seen by the users. (required)

Data type: The number of occurrences allowed. The Data type is required and the options are: 


Single
The attribute can have one value.
Array
The attribute can have several values.
Set
The attribute can have several values from a validated list called a "Range".


Attribute type: The type of attribute. A drop-down list of available types is provided. A selection is required and the following types are available:


Attribute Type
Valid Data Types
Description
Boolean
Single
Supports the values "True" and "False".
Computed
Single
Supports any type that can be defined according to the Path expressions in SystemWeaver.
Custom
Single
Reserved for attribute types with custom support in the swExplorer client.
Date
Single
Supports date values, presented the format yyyy-mm-dd.
Enumeration
Single, set
Provides users with a validated list of values to select from.
External reference
Single, array
Supports named file and URL references.
Float
Single
Supports decimal values.
Identity
Single
Supports automatic generation of integer values according to a Sequence ID. Such values are unique within the specified Sequence ID. Also, once set, Identity attribute values cannot be changed.
Integer
Single
Supports natural values.
RVF (RichView Format text)
Single
Supports fully formatted text, including pictures. This is the format generally used in Descriptions in SystemWeaver. Whenever needed this format is automatically translated into the RTF format used in MS Office applications.
String
Single, array
Supports non-formatted strings, up to 100 characters long.
Text
Single
Supports non-formatted strings, including new lines.
User
Single, set
Supports the value domain of all users defined in the SystemWeaver server.
XML
Single
Supports XML formatted text.


The following standard options are optional:

Info: A text box used for administrative information, e.g., the purpose of the attribute, who created it and when. 

Default value: Set a default setting. 

Allow empty value: Indicates if empty attribute values should be acceptable or not. Check the box to allow an empty value. 

Editor width: Sets the default width for displaying the attribute values. 200 is a good starting point. 

Editor min height: Sets the min height for displaying the attribute values. Mostly applicable to Text type attributes where there may be multiple rows of text. 

Editor max height: Sets the max height for displaying the attribute values. Mostly applicable to Text type attributes where there may be multiple rows of text. 

Restricted: Check this box to hide the attribute from users in the standard views. Such information would typically be visible in some other form.

Fixed font: Used in special cases to indicate that a fixed size font like Arial should be used for presenting the value. An example can be attributes used for code snippets. 


There are additional settings available for specific attribute types. They are described in separate articles. 


Once you have defined your attribute, click OK to save. The new attribute will be included in the list of attributes in the Architect.