Specialized Administration > Tailoring Business Objects > Object Initialization Rules Administration > Understanding Object Initialization Rules > Defining the Content of XML Documents used for Object Initialization Rules > Object Types and Attributes Used with AttrValue and AttrConstraint
  
Object Types and Attributes Used with AttrValue and AttrConstraint
The Object Initialization Rules Administration utility lists the object types and attributes that can be used with AttrValue tags out of the box. It also lists the constraints that can be used with AttrConstraint tags out of the box. Open the utility from a Site or Organization context. For more information, see Accessing the Object Initialization Rules Administration Utility. Additionally, some out-of-the-box context templates set object initialization rules. After creating a context, the out-of-the-box object initialization rules that are set are listed in the Object Initialization Rules table that is accessible from the context.
The default values and constraints specified in the out-of-the-box object initialization rules can be used without any customization of the user interface. Any additional default values and constraints that you want to add can require customization. For example, calculated attributes are not supported in object initialization rules out of the box. You would need to create a customized algorithm to use a calculated attribute in a rule that could be used for auto-naming or auto-numbering objects. For more information, see Configuring Object Initialization Rules.
The object initialization rules that are set for default values only apply when the Windchill solution that is used to create an object does not set a corresponding value. The default values set in the rules can also be displayed in the user interface if the rule includes the use of a constraint that gets the default value before the user interface displays. For example, the user interface that is used to create a document displays the default value for the folder.id attribute in the Location field.
For folder.id examples, see Constraint Algorithm Usage for Folder Location Fields.
For more information on the specific syntax to use in the AttrValue and AttrConstraint tags, see Specifying Rules.