10-16-2014 12:11 PM
10-17-2014 06:20 AM
10-20-2014 06:12 AM
public void exportFile(String path, ScriptNode scriptNode) {
NodeRef nodeRef = scriptNode.getNodeRef();
String name = (String) nodeService.getProperty(nodeRef, ContentModel.PROP_NAME);
ContentReader reader = contentService.getReader(nodeRef, ContentModel.PROP_CONTENT);
File file = new File(path+"/"+name);
reader.getContent(file);
}
customUtils.exportFile("/path/assoluto/file/system",node);
10-30-2014 01:46 PM
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.