New Attribute creation under resulting objects of change task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
New Attribute creation under resulting objects of change task
Version: Windchill 12.1
Use Case: We are trying to create a new attribute "Models Affected" which is a Text box under resulting objects of change task. This should appear as a column under Resulting Objects. Users in this box can give the models affected after this change.
Description:
I am unable to follow the article - Create a Data Utility
Could you please help me in creating a new attribute which can store the text by sharing any procedures or tips & tricks?
- Labels:
-
General Customization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @HelesicPetr ,
I am able to follow 1 and 2 steps where as the 3rd step is bit ambiguous to follow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @NY_10657410
What steps do you talk about ?
Custom Table Views, Create MVC Builder Table
or
Extend the class and Override the method?
Here is very useful resource for DataUtility
CS360977 - [Knowledge Hub] Windchill PLM - Data Utility
PetrH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @HelesicPetr ,
Thanks for sharing the article. I am able to follow all the steps but the new attribute is not found under Resulting Objects - "Distribution List". Can you suggest any quick fixes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @NY_10657410
There is no quick fix.
What do you men not found ? they are not in the view table definition?
You have to know how the Edit Change Wizard work and how the tables are called.
There are some methods that defines what is shown in the Change Wizard.
I guess that you have to find the table where you need to show additional attributes and add them to the table definition.
In Windchill 13
com.ptc.windchill.enterprise.change2.mvc.builders.tables.AbstractAffectedAndResultingItemsTableBuilder
com.ptc.windchill.enterprise.change2.mvc.builders.tables.ResultingItemsTableBuilder
there is method buildComponentConfig where you have to add your attribute definition
aslo there is a view with method buildConfigurableTable
ChangeTaskResultingItemsTableViews where the IBA atributes should aslo be defined.
PetrH
