Content Services (ECM)
Process Services (BPM)
Application Development Framework
Digital Business Platform
Announcements & Opportunities
Alfresco Ambassador Program
Alfresco Content Services (ECM)
to create and rate content, and to follow, bookmark, and share content with other members. Not a member?
Workflow task, Have additional actions next to or instead of 'View more actions''
Question asked by
on Jun 23, 2016
on Jun 27, 2016 by steven.okennedy
Show 0 Likes
Is it possible to have additional actions like "Edit Properties" in a workflow task next to "View more actions". The point is to avoid the user to open the document when he want to use some actions.
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Jun 27, 2016 5:12 PM
You would have to create a custom form control to be used instead of the standard one that would provide the additional action you want to happen, and you may also have to deal with launching the resulting dialog/modal popup manually as well as you might be acting outside the standard "actions" framework here.
Basically, Alfresco uses its form service to render forms for the View/Edit Task screen, so the form you see depends on the specific workflow task you're looking at - each task in a workflow can have different forms if required. The form configuration for each task controls what fields to show for the current task instance and also decides what control to use to show them.
Out of the box, for the Items field (the list of documents associated with a workflow instance or task instance) is usually rendered using the \share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\form\controls\workflow\packageitems.ftl control.
You would have to either override this with a custom one, or configure the forms you want to use a different, custom control when rendering this field.
This particular control uses one of the more complex client side components, the Alfresco.ObjectFinder so there could be some not insignificant effort involved in getting your head around where to make changes here.
Show 0 Likes
Retrieving data ...
Deploying and Running Alfresco Content Services 6.0
Determine which sandbox is previewed
Creating your first application with ADF
Deploying Alfresco Content Services Community Edition 201806 GA
Running and using the application