node.checkout();
node.setProperty(CONTENT_PROPERTY, newContent);
node.checkin();
var copia = doc.checkout();
copia.properties["cm:content"].write(otroDoc.properties["cm:content"]);
doc = copia.checkin();
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!
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);
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.