Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
I got a requirement to add a combo box on Chnage task Resultant objects table .
I have tried the following but no possible results.
1.I have extended "ResultingItemsTableBuilder" commented some attributes .My class is getting called but
(Ex:
//jcacolumnconfig = (JcaColumnConfig)componentconfigfactory.newColumnConfig("crDescription", true);
// jcacolumnconfig.setComponentMode(ComponentMode.valueOf(changewizardbean.getChangeMode()));
// jcatableconfig.addComponent(jcacolumnconfig);
)
Still I can see the attribute on Screen . I have even commented from "ChangeTaskResultingItemsTableViews" by extened replacing my custom ChangeTaskResultingItemsTableViews" class in service.properties. (Still crDescription is getting populated. )
2.I tried a add new column
jcacolumnconfig = (JcaColumnConfig)componentconfigfactory.newColumnConfig("arDescription", true);
jcacolumnconfig.setComponentMode(ComponentMode.valueOf(changewizardbean.getChangeMode()));
jcacolumnconfig.setDataUtilityId("arDescription");
jcatableconfig.addComponent(jcacolumnconfig);
By Providing setDataUtilityId .But Still I can't see the new column on UI. {for this new attribute also I have added entry in ChangeTaskResultingItemsTableViews}.
Some one help me on this Please.
You need to delete the view entries from the DB.
delete from TableViewDescriptor where tableid='your table ID>';
delete from ActiveViewLink where tableid=''<your table ID>';'
After deleting the entries will solve your problem.