As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
// extract parameter values var nodeRef = args["nodeRef"]; var node = search.findNode(nodeRef); // add aspect node.addAspect("kc:copyrightable"); // return to previous page // (See http://forums.alfresco.com/viewtopic.php?t=4654 and // http://wiki.alfresco.com/wiki/Externalised_Client_Actions.) var goBack = "<script>history.back();</script>"; goBack;
var loc="http://" + location.hostname + "/alfresco/navigate/browse/workspace/SpacesStore/" + node.id var goBack = "<script>location.href = '" + loc + "'script>"; goBack;
// … // return to previous page // (See http://forums.alfresco.com/viewtopic.php?t=4654 and // http://wiki.alfresco.com/wiki/Externalised_Client_Actions.) var goBack = "<script>location.href = 'http://' + location.hostname + ':8080/alfresco/navigate/showDocDetails/workspace/SpacesStore/" + node.id + "';</script>"; goBack;
You do the node.save action? Because else the properties modification aren't saved..