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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

What controls the order in which classification groups are shown in Details tab for Part information

MagnusOlofsson
4-Participant

What controls the order in which classification groups are shown in Details tab for Part information

Hello,

We are having Parts with multiple classifications. Windchill .
windchill pdmlink 12.0.2.7
windchill partslink 12.0.2.7

windchill 12.0.2.14 service pack

 

Does anyone know what controls the order in which the classification groups are displayed on the Details tab in product information?

It does not seem to be alphabetical (see attached screenshot). Neither the display value nor the internal name.
It also seems to be neither in the order of object ID value nor the order in which the classifications was added to the Part.
The Sort order property of the classification node also does not seem to influence this.

 

Hopefully someone knows a way to influence the order in which the classification groups are displayed.

 

Thanks in advance

Magnus

7 REPLIES 7

Hi @MagnusOlofsson 

based on article https://www.ptc.com/en/support/article/CS196837

I would say the order is based on time when the Node was added to the root classification.

I can be wrong but if you don't see any rule then it can be true

PetrH

Hi @HelesicPetr,

Thank you for your suggestion. It is possible that this is the reason.

What confused me though is that if I am not mistaken the number part of the object ID is normally increasing over time.

For some of the classification groups on a particular Part I notice that the object ODs of the corresponding classification nodes are these:

OR%3Acom.ptc.core.lwc.server.LWCStructEnumAttTemplate%3A7499824483
OR%3Acom.ptc.core.lwc.server.LWCStructEnumAttTemplate%3A7499824431
OR%3Acom.ptc.core.lwc.server.LWCStructEnumAttTemplate%3A7499825294

So not displayed sorted by increasing object ID at least. Perhaps there is some other internal ID that I can not see and/or the object ID is not uniformly increasing over time.

/Magnus

Could it be that the order in which the classification groups are displayed on the wtPart details page is actually undefined? Or controlled by some parameter which we can not control.

@MagnusOlofsson 

Good question. I would ask PTC, so open the case. 

PetrH

Opened Case #17127000.

I will update here with the outcome.

have you tried looking with jcaDebug=true and seeing if there is a DataUtility or other code controlling the sort?

Thanks @avillanueva, I will test this.

Announcements


Top Tags