Hide 'Start Workflow' action in Share (5.1)

cancel
Showing results for 
Search instead for 
Did you mean: 
805654685
Member II

Hide 'Start Workflow' action in Share (5.1)

Hide 'Start Workflow' action in Share (5.1)

5 Replies
krutik_jayswal
Senior Member II

Re: Hide 'Start Workflow' action in Share (5.1)

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.
805654685
Member II

Re: Hide 'Start Workflow' action in Share (5.1)

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

krutik_jayswal
Senior Member II

Re: Hide 'Start Workflow' action in Share (5.1)

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 

805654685
Member II

Re: Hide 'Start Workflow' action in Share (5.1)

    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
Established Member

Re: Hide 'Start Workflow' action in Share (5.1)

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...