cancel
Showing results for 
Search instead for 
Did you mean: 

Call MoveTo Dialog from Share WF Task

ghernando
Champ in-the-making
Champ in-the-making
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() ?
1 REPLY 1

mikeh
Star Contributor
Star Contributor
This isn't possible. The workflow JavaScript runs within the Repository, not on the web browser.

Thanks,
Mike