06-10-2009 05:23 AM
06-13-2009 09:58 AM
String contentString = ContentUtils.putContent(new File(rutaFichero));
NamedValue[] contentProps = new NamedValue[2];
contentProps[0] = Utils.createNamedValue(Constants.PROP_NAME, nombreFichero);
contentProps[1] = Utils.createNamedValue(Constants.PROP_CONTENT, contentString);
CMLCreate create = new CMLCreate(String.valueOf("file name"), rutaDestino,
null, null, null, Constants.TYPE_CONTENT, contentProps);
CML cml = new CML();
cml.setCreate(new CMLCreate[] { create });
UpdateResult[] result;
Reference content = null;
result = WebServiceFactory.getRepositoryService().update(cml);
06-19-2009 04:11 AM
06-22-2009 01:41 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.