Example of Pregenerated Text
The following example shows the XML that you could nest in the AttributeValues tag for the wt.doc.WTDocument object type to display the pregenerated default document number and allow the user to edit the field:
<AttrConstraint id="number"
algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints">
<Value algorithm="com.ptc.core.rule.server.impl.GetServerPreGeneratedValue"/>
</AttrConstraint>