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

How to Customize Affected Objects View Table

Highlighted
Newbie

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

Re: How to Customize Affected Objects View Table

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

Re: How to Customize Affected Objects View Table

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

Re: How to Customize Affected Objects View Table

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

Re: How to Customize Affected Objects View Table

Re: How to Customize Affected Objects View Table

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

Re: How to Customize Affected Objects View Table

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.

Re: How to Customize Affected Objects View Table

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

Re: How to Customize Affected Objects View Table

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

Re: How to Customize Affected Objects View Table

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?

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________ Check out the Windchill Tips Board! We're talking about Whirlpool's use of digital twin, augmented reality, and data-driven design!

The NAVIGATE WORKING GROUP is here! Come innovate with PTC!

Sign up for a Working Group