Using Teamsite 7.4
Am able to run a query like
http://server:8080/lscs/v1/document$*?q=TeamSite/Templating/DCR/Type:MyItem&project=myproject&start=0&max=100
in the browser and get results (also same query in debug panel works).
However if I try to construct and run the same query in a java external from a workflow the query returns 0 results.
Looking in the idol/logs/query.log I can see that the difference in the query is that there is a value in the working query set "securityInfo"
How can I find and set the corresponding value for the query in my java code? I have access to the workflow client & context object & the user is logged into teamsite when running the job so I would assume the info is available?
(Incidentally we had to make a similar change for using an lscs query in teamsite preview setting an IWAUTH value on the header.)