cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide the workflow function on the document-detail.

yosk
Champ on-the-rise
Champ on-the-rise

I use Alfresco Share.

Because we do not use workflow function, I want to hide the workflow function from the menu on the detail screen of the document.

 

Please how should I solve this problem?

Thanks in advanced.

 (About environment)
 ・CentOS ver.7
 ・Alfresco Community Edition 201704 GA
1 ACCEPTED ANSWER

krutik_jayswal
Elite Collaborator
Elite Collaborator

You can disable start workflow action by adding below code in share-config-custom.xml.

<config evaluator="string-compare" condition="DocLibActions">   <actions>      <action id="document-assign-workflow">                   <evaluator>evaluator.doclib.action.disableAction</evaluator>      </action>   </actions></config>

View answer in original post

5 REPLIES 5

rashesh_ved
Confirmed Champ
Confirmed Champ

You can refer following url regarding customization's for actions:
Adding new actions to the Document Library | Alfresco Documentation 

yosk
Champ on-the-rise
Champ on-the-rise
It is very helpful. Thank you.

My Pleasure.

krutik_jayswal
Elite Collaborator
Elite Collaborator

You can disable start workflow action by adding below code in share-config-custom.xml.

<config evaluator="string-compare" condition="DocLibActions">   <actions>      <action id="document-assign-workflow">                   <evaluator>evaluator.doclib.action.disableAction</evaluator>      </action>   </actions></config>

It is the result that I wanted. Thank you.