05-30-2006 08:59 AM
ERROR [repo.action.ActionServiceImpl] An error was encountered whilst executing the action 'composite-action'.
org.alfresco.service.cmr.repository.ScriptException: Failed to execute script 'workspace://SpacesStore/7b4086cf-efbb-11da-a650-b99
5eb94ad41': missing name after . operator (AlfrescoScript#14)
at org.alfresco.repo.jscript.RhinoScriptService.executeScript(RhinoScriptService.java:145)
// DELETE DOES NOT WORK FOR THE CURRENT NODE
// document.delete();
// remove all previous document
var childList = space.children;
for (var i=0; i<childList.length; i++)
{
var child = childList[i];
if (child.name.indexOf(".ToBeRemoved") > 0)
{
child.delete();
}
}
document.name = document.name + ".ToBeRemoved";
document.save();
02-28-2012 03:38 PM
02-29-2012 03:57 AM
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.