How to fetch Rank/order for Document?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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 ?
- Labels:
-
Troubleshooting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This info order is not stored in DB in any place, this is specific to your business .
