07-08-2013 09:03 AM
File file = <file passed from UI>
Document document= <get Document object from Alresco through id>
ContentStream contentStream = new ContentStreamImpl(documentgetName(), BigInteger.valueOf(file.asBytes()), file.getContentType(), file.asStream());
Map<String, Object> properties = new HashMap<String, Object>();
properties.put("cm:description", "my personal description");
document.updateProperties(properties, false);
document.setContentStream(contentStream, true, false);
07-09-2013 05:20 AM
document.checkIn(false, properties, contentStream, "");
07-10-2013 11:49 AM
Object is not a PWC!
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.