Personnalisation avancée > Business Logic Customization > Customizing Change Management > Addition of Attributes on Links in Change Relationship Table > Configuring Attributes on Change Management Links
  
Configuring Attributes on Change Management Links
This topic explains how to configure attributes on the change management links:
Define attributes constraints
Edit attributes on the links of change relationship tables
Adding Attributes
To add an attribute to a complex schema, use the following procedure:
1. From the Manage Complex Schema page, click Add Attribute.
The Manage Attribute page opens.
2. Specify attribute information using the fields and actions on the Manage Attribute page. The following table describes the fields and actions available:
Field
Description
Attribute Name
Enter the name of the attribute
Type
Select the attribute type.
Possible types include: boolean, double, long, float, int, short, byte, string, date.
Minimum Occurrences
Enter the minimum number of occurrences for this attribute.
The default value is 0, which means this attribute is not required. Specifying 1 means the attribute is required.
Maximum Occurrences
Enter the maximum number of occurrences for this attribute. The default is 1.
Unbounded
Select this checkbox if there is no upper limit to the number of times that the attribute can be specified.
Editable
Select this checkbox if the attribute is editable.
For example, if the attribute is editable, it may be displayed in the user interface as a text box rather than a text label.
Label
Enter the label of the attribute.
If a resource bundle has been defined for the schema, (Key) appears next to the Label field. This means that the string entered in this field specifies the key in the resource bundle from which the label is retrieved.
If no resource bundle is defined for the schema, (Text) appears next to the Label field. This means that the string entered in this field specifies the actual text displayed.
Maximum String Length
Enter the maximum string length that can be specified for this attribute.
Default Value
Enter the default value for the attribute.
Enumeration Task
Specify an enumeration task for the attribute. Enumeration tasks are Info*Engine tasks that populate enumerated values at runtime.
* 
If an enumeration task is specified, any enumerated values specified are automatically deleted.
Add Range
Click to specify a value range for the attribute. Only numeric types can have specified ranges.
For additional information on ranges, including procedures for adding and deleting ranges, see Managing Ranges.
Add Enumerated Value
Click to specify an enumerated value for the attribute.
For additional information on enumerated values, including procedures for adding and deleting enumerated values, see Managing Enumerated Values.
* 
If an enumeration task is specified, any enumerated values specified are automatically deleted.
3. Click Save Attribute to save the attribute as specified.
The attribute is displayed in the Attributes table on the Manage Complex Schema page.
Adding Attributes to the Change Management Links
The following table explains the change relationship for the change management links:
Link Class
Link Type
Role A Type
Role B Type
Notes
wt.change2.AffectedActivityData
Version-to-Object
ChangeActivity2
Changeable2
Change task affected object
wt.change2.ChangeRecord2
Version-to-Object
ChangeActivity2
Changeable2
Change task resulting object
wt.change2.RelevantRequestData2
Version-to-Object
ChangeRequest2
Changeable2
Change Request affected object
wt.change2.ReportedAgainst
Version-to-Object
ChangeIssue
Changeable2
Problem Report affected object
* 
To add an attribute to the change management links, do one of the following:
You can add a soft attribute on the OOTB parent or base type.
You can create a soft type and add an attribute on this soft type.
You can have a custom models subtype and add a soft attribute or model attribute.