Add/Edit Property dialog box
Use this dialog box to add or edit a document property
Option | Description | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Property name | Enter the name of the property or click the button to open the Select Field of Class dialog box that displays list of fields of the currently selected document class. When you specify a new property, its type and cardinality are automatically selected in the Property type and Cardinality lists correspondingly. | |||||||||||||||||||||||||||
Inline type information | This check box controls how the information about the property is stored in
the component's configuration. If this check box is not selected, then type,
cardinality, representation and value will be stored in separate entries. If
this check box is selected, then type, cardinality and representation will be
stored directly in the single VALUE entry. For the formal definition
of an inline representation, see Inline Representation. For example, for Integer type the default representation of value "111" is: VALUE = 111. Inline representation is: VALUE = Integer32:111. |
|||||||||||||||||||||||||||
Property type | Enter the type of the property. The following property types are supported:
A property type has two names: an internal name (non-localized human-readable name) and a display name (localizable human-readable name). This drop-down list shows the display names of the types. If you use RRT in this combo box, this RRT should be replaced with one of the internal names listed in this table:
The component stores Internal name in the configuration, since display name can be translated to another language in a localized version of the component. |
|||||||||||||||||||||||||||
Cardinality | Specify cardinality of the property type. You can select one of the
following values:
This drop-down list shows the display names of the cardinalities. If you use RRT in this combo box, this RRT should be replaced with one of the internal names listed in this table:
|
|||||||||||||||||||||||||||
Representation | Select a representation in which the property value will be saved in the configuration. Each type has its own specific set of representations. Select the type of representation which is appropriate for you. Only a limited set of types has specific representations. The following table describes the list of additional representations with the corresponding types:
Other types have no specific representations. Lists and Enumerations do not have them as well. The drop-down list shows the display names of the representations. If you use RRT in this combo box, this RRT should be replaced with one of the internal names. |
|||||||||||||||||||||||||||
Property value | This text box cannot be empty for any type except for the
String type. Enter the value of the property or click the
button to open a
dialog box which helps to enter the value for the field. Actual dialog box
depends on the field’s Cardinality, specified
Property type and
Representation. If the cardinality is
Single and the type is not specified (or contains an RRT)
then this button is disabled. If the cardinality is Single and
the type is specified, then one of the following dialogs are displayed:
The format of the value definition depends on the value of Representation and Inline type information options. When specifying a property value the following format should be used:
Inline representation requires inclusion of the value in quotation marks.
The above rules describe the format of the simple type in single cardinality. To store values of such fields the component creates VALUE entry which contains the above format.
Any type in enumeration and list cardinality in default representation (when inline is OFF) does not have VALUE entry. Instead it has set of subtopics each named ITEM. Each subtopic contains information about one item of the list (its representation and value). Therefore, it’s impossible to replace value of the enumeration or list using RRT in default representation. To do that use inline representation. Example: This example demonstrates representation of list of objects. The list contains one item. The item is object with two fields: "f1" and "f2". Other information is omitted for simplicity.
Inline representation of the same example is:
|
|||||||||||||||||||||||||||
Verification | Specify if the component should verify value of this property when
submitting the document into the FileNet P8 Content Engine object store. The
following settings are possible:
When parent value of a complex type (Object, List or Enumeration) is in-line, then all its children values (fields or items) will be verified or not verified accordingly to the parent’s settings. This is similar to the Default value of Verification. When the component verifies a field’s value and considers that it’s not valid it uses the default value for this field. If the field’s name is invalid the document class does not contain such field) then component will skip this field. |