Skip to main content
1-Visitor
July 16, 2014
Question

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

  • July 16, 2014
  • 1 reply
  • 1960 views

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-Visitor
August 25, 2016

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.