Use the instructions in this section to create new object types. To create a type, you must have superuser, system administrator, or Create Type user privileges. If you have superuser privileges, you can create a subtype with no supertype. Only a superuser or the owner of a type can update the type.
Properties are stored as columns in a table representing the type in the underlying RDBMS. However, not all RDBMSs allow you to drop columns from a table. Consequently, if you delete a property, the corresponding column in the table representing the type may not actually be removed. In such cases, if you later try to add a property to the type with the same name as the deleted property, you receive an error message.
Any changes made to a type apply to all objects of that type, to its subtypes, and to all objects of any of its subtypes.
To create or modify an object type:
Navigate to Administration > Types.
The Types page displays.
Do one of the following:
To create a type, select File > New > Type.
The New Type page displays with the Info tab selected.
To modify a type, select the type, then select View > Properties > Info.
The Type Properties page displays with the Info tab selected.
Enter or modify the type properties on the Info tab, as described in Table 10.1.
Click Next to access the Attribute tab.
A list of the properties inherited from the supertype is displayed.
On the Attribute page, you can
Click Add to add a property to the type.
Select a property and click Edit to modify the property.
Select a property and click Delete to delete the property. You cannot delete the inherited properties.
Click Finish or OK to save your changes.
Table 10.1. Type properties
Field label | Value |
---|---|
Info tab | |
Type Name | The name of the object type. This field is read-only in modify mode. |
Model Type | This field is read-only in modify mode. Options are:
|
Super Type Name | The name of the supertype. The default supertype is dm_document. This field is:
Unless you have superuser privileges, you must identify the type’s supertype. If you do have superuser privileges and want to create the type without a Supertype, select NULL as the supertype. |
Default Storage | A default file store for the object type. |
Default Group | A default group for the type. Click Select Default Group to access to add or change the default group. |
Default Permission Set | A default permission set for the type. Click Select Default Permission Set to add or change the default permission set. |
Default Assignment Policy | The system displays the default assignment policy for the type, if there is one. This field appears only when modifying a type and if Content Storage Services is enabled for the repository. Click the link to access the assignment policy. Use the information in Assignment policies to modify the assignment policy or to remove the type from the assignment policy. Use the instructions in the Assignment Policy section to associate a different policy with a particular type. |
Enable Indexing | The system displays the Enable Indexing checkbox if:
The system does not display the Enable Indexing checkbox when you create a type. You must first create the type and save it. If you are registering a particular type for indexing, the system automatically selects all of its subtypes for indexing. When you are registering a type for indexing, the system checks for any of its subtypes that are registered. If a subtype is registered, the system unregisters it before registering the type. |
Partitioned | Displays whether a type that can be partitioned is or is not partitioned. This field:
|
Parent Type | This option is available only when creating a type and Model Type is Lightweight. This field is read-only in modify mode. This field appears only if the High-Volume Server license is enabled and the Content Server version is 6 or later. |
Materialize | This option is available only when creating a type and Model Type is Lightweight. This field is read-only in modify mode. Select one of the following options:
|
Full Text | This option is available only when creating a type and Model Type is Lightweight. This field is display-only in modify mode. Select one of the following options:
|
Attribute tab | |
Attribute Name | The name of the attribute. This field is display-only in modify mode. |
Type | The property type. |
Size | The size of the property, if the property is the String type. |
Inherited | Yes indicates that a property is inherited from a supertype. No indicates that the property is user-defined. You cannot remove a property inherited from the supertype. |
Repeating | If selected, the property is a repeating property. |