Basic Customization > User Interface Customization > Presenting Information in the UI > Attribute Customization > Windchill Attribute Customization Overview > Customization of Common Windchill Business Attributes > Number
  
Number
Render Number as a link to the object’s information page
Use case: I want to render the Number attribute as a hyperlink to the object’s information page.
This behavior can be enabled/disabled by using the “Is Info Page Link“ property. See Configuration Points for more information.
Making the value of Number server-generated/ server pre-generated/ immutable
The out of the box behavior of Number can be customized using Object Initialization Rules.
The combinations of Object Initialization Rules required to achieve the different kinds of behavior for Number are listed below:
If you want to…..
You will need to configure your OIRs like this…
The UI the Create Wizard will look like this…
Always use the server generated value and, do not allow the user to enter a value.
<Value algorithm="com.ptc.core.rule.server.impl.GetImmutableConstraint"/><Value algorithm="com.ptc.core.rule.server.impl.GetServerAssignedConstraint"/>
 
Always use the pre- generated value configured in the Object Initialization Rules and, display this value in the UI and, do not allow the user to modify this value.
<Value algorithm="com.ptc.core.rule.server.impl.GetImmutableConstraint"/><Value algorithm="com.ptc.core.rule.server.impl.GetServerPreGeneratedValue"/>
Pre-generated value with no override
Use the pre- generated value defined in the Object Initialization Rules and, display this value in the UI and, want to allow the user to modify this value.
<Value algorithm="com.ptc.core.rule.server.impl.GetServerPreGeneratedValue"/>
Pre-generated value with override.
Always require the user to provide the value
If there are no other OIR constraints defined for Number, this needs an empty constraints list to work as expected.
<AttrConstraint id="number"
algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints"/>
Allow the user to enter a value and, if a value is not provided by the user, auto-generate a value on the server.
<Value algorithm="com.ptc.core.rule.server.impl.GetServerAssignedConstraint"/>
* 
If the above configurations do not yield the results listed above, check the following values of these other configurations which also affect the editability of Number in a Create or Edit UI:
The changeable Property Constraint for a Modeled attribute. See Modeling Business Objects for more information.
The Type and Attribute Management utility Visibility settings. See Visibility Tab for more information.
The Type and Attribute Management utility Visibility settings. See the “Visibility Tab” online help topic for more information.