cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

How to add new column (Combo Box) in Change Task Resultant Objects table ?

ptc-5413127
1-Newbie

How to add new column (Combo Box) in Change Task Resultant Objects table ?

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.

1 REPLY 1

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.

Top Tags