02-11-2015 01:54 PM
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.
03-28-2015 03:21 AM
I don't believe Nuxeo 7.2 currently populates the cmis:allowedChildObjectTypeIds property for folders. You might want to submit this as an enhancement request/bug report to Nuxeo.
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.