Hide 'Start Workflow' action in Share (5.1)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2018 02:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2018 03:08 PM
There are lot of places in share where start workflow action is there.
- 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
- My-Task Dashlet : customize tomcat\webapps\share-war\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\dashlets\my-tasks.get.html.ftl
- Custom action on share: you can disable it using evaluator. There is already evaluator for disabling an action.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2018 06:39 AM
thanks! I want to hide start workflow button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2018 06:45 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2018 07:01 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2018 03:24 AM
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...
