I would like to try to add to a WF that will be run within Share JS code that pops open the MoveTo dialog that is available to a document in the Share documentlibrary.
I tried doing something like this in one of the workflow tasks:
var moveTo = new Alfresco.module.DoclibMoveTo(this.id + "-moveTo");
But 'Alfresco' is not defined from the WF API. Is it possible to invoke this JS code from a task?
I thought it could pop up when the user interacts with his Taskbox on the Share Dashboard.
If it can be called, what html element should be used as the argument to DoclibMoveTo() ?