Skip to main content
1-Visitor
October 28, 2013
Question

How to Customize Affected Objects View Table

  • October 28, 2013
  • 5 replies
  • 6058 views

i need to add an editable Additional Comments column to Affected Objects table to be used in Problem Report and Change Request.

How do i do that?

1. created new attribute called ADDITIONAL_COMMENTS

2. added to Affected Activity Data type, wt.change2.AffectedActivityData.

3. i updated the com.ptc.windchill.enterprise.change2.change2clientResource.java with the following:

@RBEntry("Additional Comments")

@RBComment("Label to be used in the Table Views")

public static final String CHANGE_LINK_DESCRIPTION2 = "CHANGE_LINK_DESCRIPTION2";

4. updated the wncWeb.jar file

- what else do I need to do??

- I want to make this attribute editable while adding parts to Affected Objects. Right now, it does not allow to do so.

The only OOTB attribute it Comments is editable.

5 replies

1-Visitor
August 18, 2014

I have exactly the same requirement. Can you please share if you have achieved this.

17-Peridot
August 18, 2014

This is unfortunately not that easy.It's described in the customization guide in the chapter

"Editing Attributes on the Links of Change Relationship Tables"

You need to create following:

  1. Table view class
  2. MVC Table Builder
  3. custom Data Utility
  4. (opt) Provide a Javascript for multi object edit
  5. custom form delegate
  6. custom actions.xml
6-Contributor
April 6, 2017

Quang LamAshwini Kr
Were you able to achieve this ?
If yes can you share the steps ?

17-Peridot
April 6, 2017
6-Contributor
April 10, 2017

The Solution in the link doesn't seem to be correct, couple of classes and methods mentioned in it does not exist.
If you have a sample implementation kindly let me know.

Thanks & Regards,

Archit

17-Peridot
April 10, 2017

Archit Todi‌ please open a call with TS and let me know the number. If Help is out of date we need to update it it.

17-Peridot
May 4, 2017

For Change Tasks this is available in the Wizard -for Workflow activities it is still a roadmap item

17-Peridot
May 5, 2017

Jeffrey Zemsky‌ what do you mean with "it's available in the Change Task wizard?" Does it work to add an attribute to the ChangeRecord2 Link and we can add it to the view without all the customization?

17-Peridot
May 5, 2017

Bjorn Ruegg‌ - Ugh - I was responding to the wrong thread - sorry for any confusion.