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.
I am currently using Nuxeo DM 5.7.2.
I would really like to use cmislib to access Nuxeo document metadata instead of the underlying database, but calls to getDescendants() do not retrieve the entire list of documents under a path. Is there a way to troubleshoot this?
I have looked into using the REST API as a substitute. It seems like sometimes the "totalSize" entry in the response is returning "-2" which makes no sense. This is consistent with the incomplete listings through cmislib, so I wonder if the two are related.
Please provide more information...
I believe it's just retrieving one page of results for certain subdirectories. Manually recursing via getChildren() does return a different set of files.
One more data point
Note that getDescendents() for Nuxeo CMIS has a default depth of 2.
Thanks for pointing that out, but everything I am trying to retrieve is in either the child or the grandchild of the path I'm passing in.