I’m new to CA service desk, how to do sorting in soap api? for example, in soap web service example code doquery_list.java. How to get list object values with sort order by different attributes or order by name as descending order?
Linxin, doQuery() and doSelect() will return the handle list
according to the schema definition of the objects you query
so you don't have much control on that unless you modify
the schema which could run into some conflict of other apps
(for example web interface). So the best bet I think is you
retrieve the list local to you script and then you sort them
using you local script. By the way, bop_sinfo command
will tell you what attribute the object is sorted on in schema.
Hope this helps. Thanks _Chi
Retrieving data ...