How to customize a workflow details page in Alfresco Share?
Question
I want to modify the Share workflow details page (/share/page/workflow-details?workflowId=activiti$XXXXX
). Specifically, I want to replace the column Type
in the history tables with another one that will show the task title (adding it as a new column is a good solution too). I'm working with Alfresco Community 4.0e.
I read this wiki article Custom Share Workflow UI (section "Workflow Details Form"), but that is not the part of the page I need to change.
Any ideas, please?
You can see the columns I want to modify in this picture (see red squares):
For example, where it shows these values (task type):
Review
Workflow Task
...I want to print this (task name/title):
Quality Documents Review
Quality Documents Edition
Solution
To add new column or modify shown data, you should modify
currentTasksColumnDefinitions
andhistoryColumnDefinitions
in workflow-form.js i.e,apache-tomcat\webapps\share\components\workflow\workflow-form.js
.To modify existing task title, you need to modify only in property file namely workflow-messages.properties in
apache-tomcat\webapps\alfresco\WEB-INF\classes\alfresco\workflow\workflow-messages.properties