08-23-2013 10:42 AM
09-22-2013 06:51 PM
Map<String, Object> properties = new HashMap<String, Object>();
properties.put(PropertyIds.OBJECT_TYPE_ID, "D:my:customDataListItem");
properties.put(PropertyIds.NAME, "my custom item name");
ObjectId newItemId = session.createItem(properties, dataListContainer);
09-22-2013 11:15 PM
AlfrescoFolder dataLists = (AlfrescoFolder) session.getObjectByPath("/sites/{site short name}/dataLists");
java.util.Iterator<CmisObject> it = dataLists.getChildren().iterator();
AlfrescoFolder dataList = null;
while (it.hasNext()) {
CmisObject obj = it.next();
if(***){
dataList = (AlfrescoFolder)obj;
}
System.out.println(obj.getName());
}
Map<String, Object> properties = new HashMap<String, Object>();
properties.put(PropertyIds.OBJECT_TYPE_ID, "D:item type");
properties.put(PropertyIds.NAME, item name");
ObjectId newItemId = session.createItem(properties, dataList);
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.