Skip to main content
11-Garnet
December 17, 2024
Question

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

  • December 17, 2024
  • 1 reply
  • 378 views
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

    HelesicPetr
    22-Sapphire II
    22-Sapphire II
    December 17, 2024

    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