09-24-2009 04:38 AM
09-28-2009 07:39 AM
NamedValue valueName = new NamedValue(Constants.PROP_NAME, false, folderName, null);
folderName = Constants.createQNameString(Constants.NAMESPACE_CONTENT_MODEL, folderName);
ParentReference parentRef = new ParentReference(parent.getStore(),
parent.getUuid(),
parent.getPath(),
Constants.ASSOC_CONTAINS,
folderName);
CMLCreate newFolder = new CMLCreate(null, parentRef, null, Constants.ASSOC_CONTAINS,
folderName, Constants.TYPE_FOLDER, new NamedValue[]{valueName});
CML cml = new CML();
cml.setCreate(new CMLCreate[]{newFolder});
UpdateResult[] result = repositoryService.update(cml);
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.