10-29-2009 01:45 PM
var nombrepdf = document.name;
var nombretif = nombrepdf.replace("pdf","tif");
var borrado = space.childByNamePath(nombretif);
/*Finds the pdf in the space and deletes the tiff*/
if (borrado != null)
{
borrado.remove();
}
Now this gives us this error: org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/21b13f3c-6e64-4185-96e5-2acb8377e4c9
10-30-2009 05:08 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.