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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

How to Customize Affected Objects View Table

chuck1989
1-Visitor

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.

11 REPLIES 11
akr
1-Visitor
1-Visitor
(To:chuck1989)

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

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
atodi
6-Contributor
(To:chuck1989)

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

atodi
6-Contributor
(To:JeffZemsky)

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

JeffZemsky
17-Peridot
(To:atodi)

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.

Archit Todi‌ - Did you file a call with TS?

atodi
6-Contributor
(To:JeffZemsky)

I did not file a call, I was able to achieve it with some work around.

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

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?

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

Announcements


Top Tags