Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Translate the entire conversation x

How to fetch Rank/order for Document?

ptc-5278513
6-Contributor

How to fetch Rank/order for Document?

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 3
HelesicPetr
22-Sapphire II
(To:ptc-5278513)

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

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
22-Sapphire II
(To:ptc-5278513)

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

Fede
Announcements



Top Tags