Oracle Fusion Middleware Administration Guide for Oracle Directory Server Enterprise Edition

Storing a Default Value to an Attribute

The default value is stored only if the value for an attribute is not specified during the creation of an entry. Use the following transformation rule if you want to store an attribute with the default value. For example, when the following transformation is applied, a default telephone number with each entry you create is added. This transformation is applied only at the time of adding an entry.

$ dpconf add-virtual-transformation dataview1 write 11111 \
telephoneNumber telephone-number

The following diagram indicates the transformation that occurs on an add request.

Adding a Default Value to an Attribute