Data Dictionary in Documentum
Data Dictionary in Documentum
----------------------------------------------------------------------------------------------------------------------------------------------
Another interesting point about Data Dictionary is that it supports multiple locales, which means
you can have multiple locale configured for each object type. Each locale represents a
geographical region.
Imagine an Organization that has offices in Paris, Spain and US , The Data Dictionary allows you
to store each Attribute label information in all three languages and the Client application (e.g. :
WebTop , or a Custom UI) can fetch for the specific labels in the language of that region and
display it to the user.
UI Related
2) Value Assistance
Value assistance is used to provide user with a drop down list of possible values for that
attribute. This can be even conditional, means upon selected criteria the values in the value
assistance can be changed (Conditional Value Assistance)
Another important point about Value assistance is the values used for Value Assistance can be a
fixed list or based out of a DQL query that runs dynamically.
3) Value Mapping
Value mapping is another useful feature where a value can be mapped for another, this works as
a Key Value pair, for an example consider this list used for Value mapping New Jersey - NJ, New
York - NY, and New Hampshire - NH.
Page 1 of 3 © http://ajithprabhakar.wordpress.com
Data Dictionary in Documentum Study Notes of Ajith Prabhakar
----------------------------------------------------------------------------------------------------------------------------------------------
This option provides a possibility of user being displayed with the Complete State name in the UI
and Value stored will be just the state code.
2) Constrains
You can do validation of a property by adding constrains to it. The possible types of constrains
are the following. Important point to note here is Content server does not enforce these
constrains even though you define in Data Dictionary. Typically the Client application should read
these constrains and enforces it. You can also specify the localized error messages in for the
validation error in the Data Dictionary.
a) Primary key
Primary key should be added in combination with not- null constrain. Primary keys are inherited.
One or more attributes can make primary key but only single value properties can be a part of it.
One object type can have only one primary key definition, (But can have more if it inherit primary
key from its super type). Primary key constraints can be either the object type level or the
property level. If the key has more than one participating properties it should be defined at type
level. If the key is a single property then it’s a good idea to define it at property level.
b) Unique Key
Unique key constraint is used to enforce a property or combination of properties for which all the
object of that type should have unique value. The key can be a combination of one or more
single-valued properties or one or more repeating properties which is defined in that object type
itself (Not Inherited).Another important point is the key for Unique constraint cannot be a
combination of single-valued and repeating properties. These are inherited too.
c) Foreign key
Foreign key constraint identifies relationship between one or more properties for one object type
and one or more properties in another. The number and data types of the properties in each set
of properties must match. Foreign key constraints can be at object type level or at the property
level. It should be defined at type level If the key has two or more participating properties. Also
both object types must be set in the same repository, and corresponding parent and child
Properties should be of same data type.
Page 2 of 3 © http://ajithprabhakar.wordpress.com
Data Dictionary in Documentum Study Notes of Ajith Prabhakar
----------------------------------------------------------------------------------------------------------------------------------------------
d) Not Null
A NOT NULL constraint sets on a property that will not allow having a null value. It can be
defined only at the property level and only for single properties
e) Check
Check constraints are used for validating data. An expression or script can be provided in the
constraint’s definition that the client application can run to validate a given property’s value. This
can be on Object level or Attribute level
dmi_dd_common_info
This object type contains information about an object type or an attribute that are common. All
the objects of this type will have r_object_id starting with 68.
dmi_dd_type_info
This is a sub type of dmi_dd_common_info. This object type contains information about an
object type. (which has already been published to the data dictionary) All the objects of this type
will have r_object_id starting with 69.
dmi_dd_attr_info
This is a sub type of dmi_dd_common_info. This object type has information about a
property (which is already published to the data dictionary) All the objects of this type will have
r_object_id starting with 6a.
You would have noticed that all these object type starts with keyword dmi this means we cannot
create or modify this object type, Only Data Dictionary publishing job can modify or create this
type.
Page 3 of 3 © http://ajithprabhakar.wordpress.com