04-10-2015 01:03 PM
Hi, I'm using NXQL to read data from the default repository using a simple operation chain created on the fly:
CoreSession cs = CoreInstance.openCoreSession(null);
String lookbookQuery = "SELECT * from Document WHERE ecm:primaryType='Lookbook'";
OperationContext ctx = new OperationContext();
OperationChain chain = new OperationChain("fetch lookbook chain");
chain.add("Document.Query").set("language","NXQL").set("query",lookbookQuery);
AutomationService service = Framework.getService(AutomationService.class);
Object res = service.run(ctx, chain);
out.print("<pre>"+res+"</pre>");
how can I run this query across all repositories in a multiple repository environment?
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.