進階自訂 > Business Logic Customization > Windchill ProjectLink Customization > Customizing Action Item Attributes
  
Customizing Action Item Attributes
Some customizable attributes are exposed in the user interface by default. These attributes are all modeled attributes to ensure the best performance and scalability. For more information, see the following topics:
Attribute Customization
Attribute Panels
For a list of which action items are exposed and hidden by default, see the “Default Visibility of Action Item Attributes” section below.
* 
When performing an advanced search on action items, all attributes are available, including those not currently exposed in the user interface.
You can customize action item attributes by modifying attributeConfig.xml in the code base:
Expose or hide attributes
Reorder attributes
Designate which attributes should be required
* 
You can also create or modify the attribute display names through the associated resource bundle. For information on modifying display names, see Changing Displayed Text Found in RBINFO Files.
1. Navigate to the following file:
<Windchill>/codebase/wt/meeting/actionitem/attributeConfig.xml
Where <Windchill> is the Windchill installation directory.
2. Locate the <attribute> element you want to customize and modify the following values:
enabled—Expose or hide an attribute.
Set this value to true to expose the attribute; set it to false to hide it.
order—The order in which the attribute appears.
Assign a value for each element in the numeric order in which you want the attribute to display.
required—Determines whether the attribute is required.
Set this value to true to make the attribute required; set it to false to make it optional.
For example, in the following customization the Comments field is visible, is the twelfth attribute to appear, and is not required.
<attribute resourceKey="comments"
enabled="true"
order="12"
required="false"
resourceBundle="wt.meeting.actionitem.actionitemModelRB"
displayType="textBox"
internalName="Comments"
type="java.lang.String"
/>
Default Visibility of Action Item Attributes
* 
When performing an advanced search on action items, all attributes are available, including those not currently exposed in the user interface.
For more information on customizing action item attributes, see Customizing Action Item Attributes.
The following table describes the customizable action item attributes that are displayed by default:
Table 2. Exposed by Default
Display Name
Description
Comments
String up to 4000 characters
Cost Impact
Monetary real number
Estimated Effort
Integer number of hours
Impact
String up to 4000 characters
Probability
String up to 200 characters
Resources
String up to 4000 characters
Risk
Enumerated value (same as for activities):
Unavailable
Very High
High
Medium
Low
Very Low
Risk Description
String up to 4000 characters
Risk Type
String up to 200 characters
The following table describes the customizable action item attributes that are hidden by default:
Table 3. Hidden by Default
Display Name
Description
Action Plan
String up to 4000 characters
Rank
Integer
Actual Effort
Integer number of hours
Contacts
String up to 4000 characters
Contingency
String up to 4000 characters
Cost
Monetary real number
Customers
String up to 4000 characters
Date
Date
Design Cost
Monetary real number
Location
String up to 4000 characters
Percent
%
Phase
String – 200 characters
Prevention
String up to 4000 characters
Production Cost
Monetary real number
Quantity
Integer
Schedule Impact
+ or – days
Size
Real number
Suppliers
String up to 4000 characters
Supporting Information
String up to 4000 characters
Time
hh:mm
Tooling Cost
Monetary real number