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.
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
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.