cancel
Showing results for 
Search instead for 
Did you mean: 

DocumentLibrary-workflow

damumaddy
Champ in-the-making
Champ in-the-making
Hi all,

In DocumentLibrary ,there is a toolbar with selected items dropdownlist with menu copy,move,assign workflow,permission etc .When i select  a  document and click the assign workflow menu a pop is shown to select the assign and due date etc .I just want to know where the mapping is made in toolbar.get.html.ftl      .The workflow.js is called when the "assign workflow …" is called .where is the workflow.js and menu dropdown assign workflow is mapped .Below is the code for the assign workflow drop down menu item                


<li><a type="document" rel="" href="#"><span class="onActionAssignWorkflow">${msg("menu.selected-items.assign-workflow")}</span></a></li>

Thanks,
Maddy
1 REPLY 1

mikeh
Star Contributor
Star Contributor
The mapping is done via the className of the action in the Dom, which is implemented as a function in toolbar.js. The action implementation loads the workflow module "Alfresco.module.DoclibWorkflow" (workflow.js), which registered itself upon first load.

Thanks,
Mike
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.