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

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

OOTB Rest call of Document Domain "GetDocStructure" is not giving us the result in same order of doc

SKFPLMSupport
11-Garnet

OOTB Rest call of Document Domain "GetDocStructure" is not giving us the result in same order of doc

I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.0.2

Please include khushbu.vijayvargiya@hcltech.com , satishkumar.krish@hcltech.com , gokul.duraisamy@hcltech.com in the mail communication.

We are using OOTB Rest call of Documenet Domain "GetDocStructure" and we are using expand query "Structure($expand=Document($select=ID,Name,Number,Version,Description,State,TypeIcon,FolderLocation);$levels=2),Document($select=ID,Name,Number,Version,Description,State,TypeIcon,FolderLocation)" to fetch the require details.

but we are getting issue in this service as it is not giving us the result in same order of document what we see in windchill. In every hit it change the order of child document hence it is causing the issue for user to view as same in windchill.
1 REPLY 1

Hi @SKFPLMSupport 

It is common, that the order is different, and also it could be cased with database update time.

I recommend to sort the results before you display it to a user that the order is in expected view

PetrH

Announcements

Top Tags