As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
String cql = "select cs.cmis:objectId, cs.wm:Title from wm:reports cs join wm:common_metadata as cmd on cs.cmis:objectId = cmd.cmis:objectId where cmd.wm:Date='2006'" ItemIterable<QueryResult> results = session.query(cql, false).getPage(10000); for (QueryResult qResult : results) { String objId = qResult.getPropertyValueByQueryName("cs.cmis:objectId") String Title = qResult.getPropertyValueByQueryName("cs.wm:Title") log.info(objId+"——"+Title) }