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

cancel
Showing results for 
Search instead for 
Did you mean: 
yosk
Active Member

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

Jump to solution

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 Solution

Accepted Solutions
krutik_jayswal
Senior Member II

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

Jump to solution

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 solution in original post

5 Replies
rashesh_ved
Active Member II

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

Jump to solution

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

krutik_jayswal
Senior Member II

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

Jump to solution

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>
yosk
Active Member

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

Jump to solution

It is the result that I wanted. Thank you.

yosk
Active Member

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

Jump to solution
It is very helpful. Thank you.
rashesh_ved
Active Member II

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

Jump to solution

My Pleasure.