01-06-2015 09:10 AM
 Map<String, Object> propertiesDocument = new HashMap<String, Object>();
 propertiesDocument.put(PropertyIds.NAME, "test_Aspect.pdf");
 propertiesDocument.put(PropertyIds.OBJECT_TYPE_ID, "cmis:document");
 FileInputStream oInputStream = new FileInputStream("/abc.txt");
 ContentStream contentStream = new ContentStreamImpl("abc.txt", null, "application/octet-stream", oInputStream);
 Document document = folder.createDocument(propertiesDocument, contentStream, VersioningState.MAJOR);
 01-06-2015 09:21 AM
01-07-2015 04:52 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.