Skip to main content
1-Visitor
Oct 28, 2013 9:10 PM UTC
Question

How to Customize Affected Objects View Table

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.

12 replies

1-Visitor
Aug 18, 2014 8:11 AM UTC

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

Translate
17-Peridot
Aug 18, 2014 9:17 AM UTC

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
Translate
6-Contributor
Apr 6, 2017 11:53 AM UTC

Quang Lam‌ Ashwini Kr‌
Were you able to achieve this ?
If yes can you share the steps ?

Translate
17-Peridot
Apr 6, 2017 12:06 PM UTC
6-Contributor
Apr 10, 2017 1:04 PM UTC

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

Translate
17-Peridot
Apr 10, 2017 1:07 PM UTC

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.

Translate
17-Peridot
May 4, 2017 1:19 PM UTC

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

Translate
17-Peridot
May 5, 2017 7:25 AM UTC

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?

Translate
17-Peridot
May 5, 2017 12:16 PM UTC

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

Translate