02-21-2011 11:37 AM
node.checkout();
node.setProperty(CONTENT_PROPERTY, newContent);
node.checkin();
02-22-2011 07:46 AM
var copia = doc.checkout();
copia.properties["cm:content"].write(otroDoc.properties["cm:content"]);
doc = copia.checkin();
02-22-2011 08:20 AM
Hola!!
lo del path… no sabria decirte…
respecto al checkin/checkout… esto lo estás haciendo en javascript, no?
yo lo tengo hecho asi y me funciona bien:
var copia = doc.checkout();
copia.properties["cm:content"].write(otroDoc.properties["cm:content"]);
doc = copia.checkin();
saludos!
02-22-2011 09:35 AM
NodeRef workingCopy = getCociService().checkout(doc.getNodeRef());
getNodeService().setProperty(workingCopy, ContentModel.PROP_CONTENT, getNodeService().getProperty(nodeRef, ContentModel.PROP_CONTENT));
Map<String,Serializable> versionProperties = obtenerPropiedadesDeVersionado();
NodeRef docModif = getCociService().checkin(workingCopy, versionProperties);
05-02-2011 01:05 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.