Skip to main content
6-Contributor
January 28, 2025
Question

How to fetch Rank/order for Document?

  • January 28, 2025
  • 3 replies
  • 465 views

We are using CLI commands for accessing Winchill's data for sync purpose. If we have documents with specific order:

1.0 first root item

   1.1 first subitem

    1.2 second subitem

2.0 second root item

How to get rank/order value for the issue type via CLI Command? In which field value I can read rank value ? Let's say document first sibitem rank is 1.1, I need to fetch this value, how to do that via CLI ? Any other way ?

3 replies

HelesicPetr
22-Sapphire II
22-Sapphire II
January 28, 2025

Hi @ptc-5278513 

I guess that this information is always calculated in the windchill table and there is no stored information for the structure level so I guess if my sentence is true, there is no way to get the information you want.

You have to solve it in your application.

PetrH

joe_morton
18-Opal
18-Opal
March 6, 2025

Are you referring to Structured Documents? https://support.ptc.com/help/windchill/r13.1.0.0/en/index.html#page/Windchill_Help_Center/docmgmt/DocMgmtDocStructureReorder.html#

 

I'm not sure how to get the info from CLI, but there is a "Structure Order" stored on the Document Usage link in the database. It looks like this in query builder:

joe_morton_0-1741296863077.png 

joe_morton_1-1741296884749.png

 

 

Fadel
23-Emerald I
March 7, 2025

This info order is not stored in DB in any place, this is specific to your business  . 

Buiꓘa