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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

How to Customize where used panel's

Matteo_1987
16-Pearl

How to Customize where used panel's

Hello everybody,
how can i add some attribute columns to the wtpart where used tab view?(see attachment)

Matteo.

ACCEPTED SOLUTION

Accepted Solutions

Hello @Matteo_1987 

 

You can add your own view by LoadFromFile

 

You just need to correct Admin user information in a attached xml file.

HelesicPetr_0-1648817835654.png

 

Define columns as needed. IBA values or system attributes.

Example how the column name should be defined in a xml load file you need to export some view from other tables where you can modify views. 

HelesicPetr_1-1648817857105.png

 

IBA definition is easier then system atribs you just use internal names.


Last thing is to load the xml file to Windchill by the windchill shell and the loadfromfile utility

 

windchill wt.load.LoadFromFile -u user-p pass -d TAG-TableViewDescriptor-0.xml

 

Hope this can help

 

Be sure to test it on a test server and also backup a system before any load .:D.

 

Best Regards

 

PetrH

 

HelesicPetr_2-1648818503519.png

 

 

View solution in original post

13 REPLIES 13

You need to overwrite the OOTB table view.

com.ptc.windchill.enterprise.object.WhereUsedTableView

but it's not supported...

 

See also the archived idea

https://community.ptc.com/t5/Windchill-Ideas/Adding-extra-features-to-Where-Used-Tab/idi-p/460854

unfortunately not enough user voted for this idea

We added the State column in 11.2.1.  The Where Used table is not a straightforward table as others, as it has two distinct modes - the Latest and All Revisions.   Latest is most like a normal table view, however in All Revisions all matching Revisions (latest on that revision) are show per row.  The challenge with the All Revisions view is finding an elegant way to show related attributes when multiple versions are seen in a readable and navigable format (eg still easily expand to parents / children without overwhelming the UI)

 

In the future we do plan to look at further attribute support for the Latest View.  For the All Versions we held some UX sessions with users and are still considering potential paths.  No current release timeline for this work at this time.

Hello @Matteo_1987 

 

You can add your own view by LoadFromFile

 

You just need to correct Admin user information in a attached xml file.

HelesicPetr_0-1648817835654.png

 

Define columns as needed. IBA values or system attributes.

Example how the column name should be defined in a xml load file you need to export some view from other tables where you can modify views. 

HelesicPetr_1-1648817857105.png

 

IBA definition is easier then system atribs you just use internal names.


Last thing is to load the xml file to Windchill by the windchill shell and the loadfromfile utility

 

windchill wt.load.LoadFromFile -u user-p pass -d TAG-TableViewDescriptor-0.xml

 

Hope this can help

 

Be sure to test it on a test server and also backup a system before any load .:D.

 

Best Regards

 

PetrH

 

HelesicPetr_2-1648818503519.png

 

 

Hi Petr,

I tried to insert the files after modifying it (see attachment) but an error regarding the Container Path appears in the method server.

What am I doing wrong?

 

1.GIF

PS: what is the way to export the Where Used view format from my Windchilll?

 

ty,

Matteo

Hello @Matteo_1987 

can you show full error please?

 

there is Assert Failed. In my opinion the user admin is not correctly defined in your XML. 

 

there should be LDAP address in ufid.

 

I would export any table view from custom View List.

For example go to a product folder table. 

Open Customization window for the table

chose Site view created by admin (ootb)

use export button.

Check the ZIP File and open xml file where the user is defined. 

 

Use this user ufid in your custom where used xml definition

 

PetrH

 

HelesicPetr_0-1649404083952.png

 

@Matteo_1987 

PS: Actually there is a trick how to get to a Customize View List: Where used. 

 

You have to create correct URL with your Windchill URL address. The URL has to contains correct TableId=whereUsed.view

http://YOURserverADDRESS/Windchill/servlet/WindchillAuthGW/wt.enterprise.URLProcessor/URLTemplateAction?TableId=whereUsed.view&Action=HtmlcompTableViewManager

 

Then you can get to the wizard where you can export the view with actual definition.

 

Attention: Never really never modify OOTB system views in this table !!!

 

Hope this can help 

 

PetrH

 

HelesicPetr_1-1649404775521.png

 

I followed the procedure and it works.
Thank you very much😊

PS: Actually there is a trick how to get to a Customize View List: Where used. 

 

You have to create correct URL with your Windchill URL address. The URL has to contains correct TableId=whereUsed.view

http://YOURserverADDRESS/Windchill/servlet/WindchillAuthGW/wt.enterprise.URLProcessor/URLTemplateAct...

 

Then you can get to the wizard where you can export the view with actual definition.

 

Attention: Never really never modify OOTB system views in this table !!!

 

Hope this can help 

 

PetrH

 

HelesicPetr_0-1653470323697.png

 

 

@JeffZemsky In your comments above, you said you added state column in where used view but we are on 12.1.2 and I do not see the state column, its an upgraded system from 11.1, can you shed some light?

Hi @abhishekarya 

Nothing changed In the where used tab for WTPart in Windchill 12.1.2.0

HelesicPetr_0-1690789127349.png

 

also Windchill 13.0.0.0  OOTB installation does not contain an additional state column in the Where used table for WTParts

 

HelesicPetr_1-1690791305095.png

PetrH

The State is displayed in the Version column - please see sample screenshot

 

2023-08-01_09-54-38.png

Hi @JeffZemsky 

 

This is very important information that the state column is not in the table. 

 

In your case the table contains Organization ID. Is it customized or is it part of another module then PDMLink/MPMLink?

 

I expected that the state column is in the table.

 

PetrH 

Organization ID can be turned on by Preference - for this case we can ignore that it is on.  Sorry for any confusion, this has no bearing on the State use case

 

Given how this table works - Latest and All Versions view the State column would add considerable confusion (we tested this in UX labs).  In the future we do have plans for a great update between the Views to enable more table configuration and flexibility.

Announcements

Top Tags