11-17-2015 11:20 AM
String cmisQuery = "SELECT * FROM " + WvnEdmsModel.QNAME_TYPE_DOSSIER.toPrefixString() + " WHERE " + WvnEdmsModel.QNAME_PROP_E_SPACE_ID.toPrefixString() + " = '" + eSpaceId + "'";
SearchParameters searchParam = new SearchParameters();
searchParam.setLanguage(SearchService.LANGUAGE_CMIS_ALFRESCO);
searchParam.addStore(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE);
searchParam.setQuery(cmisQuery);
searchParam.setQueryConsistency(QueryConsistency.TRANSACTIONAL);
searchParam.addSort("@wvnEdms:currentStatus", true);
09-21-2016 05:18 PM
If you go look at the type definition in something like CMIS Workbench, does that property show as being orderable? It might not be. For example, if you defined it in your content model as being tokenized (the default) it won't be orderable.
Tags
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.