12-13-2013 10:09 AM
12-17-2014 07:00 PM
12-18-2014 02:46 AM
12-18-2014 09:22 PM
Session cmisSession = getCmisSession();
Folder folder = (Folder) cmisSession.getObjectByPath("/test");
HashMap<String, Object> props = new HashMap<String,Object>();
props.put("cmis:name", "testjtp.txt");
Document document = createDocument(folder, getLocalFile(), getLocalFileType());
List<Object> aspects = document.getPropertyValue("cmis:secondaryObjectTypeIds");
aspects.add("P:sc:productRelated");
props = new HashMap<String, Object>();
props.put("cmis:secondaryObjectTypeIds", aspects);
document.updateProperties(props, true);
aspects = document.getPropertyValue("cmis:secondaryObjectTypeIds");
12-19-2014 03:45 AM
05-04-2015 05:50 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.