How to get through CMIS the available document types in my folder?
In the Nuxeo's interface I can see the restriction created in my folder (my folder –> Manage tab –> Local Configuration sub-tab –> Document types configuration) but I don't see its using CMIS
My code is:
public List
Folder someFolder = (Folder) session.getObjectByPath(folderPath);
List<ObjectType> listType = someFolder.getAllowedChildObjectTypes();
for (ObjectType objectType : listType) {
System.out.println(objectType.getDisplayName());
}
return listType;
}
My code returns an empty list but should return the list of the available document types.
Regards.
0 votes
1 answers
2235 views