Documentation Center

Property Sheet Default Values

You can specify a default value for a Property Sheet field if you want Contenta to automatically populate the field when the Object is created.

For example, the CompoundAscii object’s Mime Type field contains the default: text/xml. Whenever a CompoundAscii object is created, the Mime Type field is automatically populated with the default data. Whether or not the user can change the default in Contenta Explorer is specified in the Modify field of the Property (see Is Field Modifiable? ).

  • If the Property field type is Integer and you do not specify a default value, a default entry of 0 (zero) appears in the property sheet for the field.
  • If the Property field is a compound field such as Property List, Property Sheet, or Select List, the default value is blank.
  • For all other Property field types, if you do not specify a default value, no default entry appears for the field in the Property Sheet.

Changing the default value does not change the data in the property sheets of existing Objects; it only affects Objects created after you modify the Property Sheet definition.