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.
if (args.nodeRef == null || args.nodeRef.length == 0) { logger.log("Node ref arg not set"); status.code = 400; status.message = "Node ref has not been provided"; status.redirect = true; } else { logger.log("Getting node"); var curNode = search.findNode(args.nodeRef); if (curNode == null) { logger.log("Node not found"); status.code = 404; status.message = "No node found for node ref:" + args.nodeRef; status.redirect = true; } else { curNode.remove(); model.nodeRef = args.nodeRef; } }