cancel
Showing results for 
Search instead for 
Did you mean: 

Hide 'Start Workflow' action in Share (5.1)

805654685
Champ in-the-making
Champ in-the-making

Hide 'Start Workflow' action in Share (5.1)

5 REPLIES 5

krutik_jayswal
Elite Collaborator
Elite Collaborator

There are lot of places in share where start workflow action is there.

  1. My-Task Page : http://localhost:8081/share/page/my-tasks 
    • For hiding action from this page you need to customize file: share-war\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\workflow\task-list-toolbar.get.html.ftl
  2. My-Task Dashlet : customize tomcat\webapps\share-war\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\dashlets\my-tasks.get.html.ftl
  3. Custom action on share: you can disable it using evaluator. There is already evaluator for disabling an action.

thanks! I want to hide start workflow buttonI want to hide start workflow button

There is evaluator for disabling action in alfresco share.You can write it in share-config.custom.xml.Below link will help you understanding advance evaluators.

Evaluators | Alfresco Documentation 

    thank you very much! I have been hide download and copy-to button in share-config-custom.xml. but i do not know how to hide start workflow button.It seems that the answer can't be found from this https://docs.alfresco.com/5.1/concepts/dev-extensions-share-evaluators.html.

jayesh_prajapat
Star Contributor
Star Contributor

Hi kale zhang

Not sure why you started 2 threads for same thing. however, coping link of your other similar thread so there is no confusion for people looking for similar solution,
https://community.alfresco.com/message/832703-re-hide-start-workflow-action-in-share-51?commentID=83...