06-12-2014 11:54 AM
Folder rootFolder = getSession().getRootFolder();
Map<String, Object> lFolderProps = new HashMap<String, Object>();
lFolderProps.put(PropertyIds.NAME, "folder test");
lFolderProps.put(PropertyIds.OBJECT_TYPE_ID, "F:test:folder");
rootFolder.createFolder(lFolderProps);
<type name="test:folder">
<title>Test type folder</title>
<parent>cm:folder</parent>
</type>
SELECT * FROM cmis:document D WHERE CONTAINS(D,'PATH:"/app:company_home/test:folder_x0020_test//*"')
06-12-2014 12:54 PM
06-12-2014 01:03 PM
06-12-2014 09:39 PM
SELECT * FROM cmis:document D WHERE CONTAINS(D,'PATH:"/app:company_home/cm:folder_x0020_test//*"')
test:folder_x0020_test
is the qualified name of the child association,it is made up using your PropertyIds.NAME("folder test") as local name and cm: as prefix.
06-13-2014 07:30 AM
06-13-2014 07:46 AM
06-13-2014 12:02 PM
06-14-2014 02:27 AM
06-14-2014 07:20 AM
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.