AnsweredAssumed Answered

'Details of' page not refreshed after action click

Question asked by hbf on Nov 7, 2007
Latest reply on Nov 7, 2007 by xerox
I have implemented a client action for the action group "doc_details_actions". The action (see JavaScript code below) adds an aspect to the current node. The problem is that afterwards

* the evaluator is not called again
* the property sheet is not rebuild

How can this be fixed?

(This seems to be related to the post Refresh page after actionlink click but I need a JavaScript solution, if possible…)

Many thanks,
Kaspar


// 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;

Outcomes