cancel
Showing results for 
Search instead for 
Did you mean: 

Hide actions in doc library

galgalesh
Champ in-the-making
Champ in-the-making
Hi

I'm trying to hide some actions in the doc library. I have tried the following code but it doesn't work and I'm not sure why. Any suggestions on what I'm doing wrong?


      <config evaluator="string-compare" condition="DocumentLibrary" replace="true" >
       <actionGroup id="document-browse">
          <action index="110" id="document-view-content">
                <evaluator>evaluator.doclib.action.disableAction</evaluator>
            </action>
          <action index="130" id="document-edit-properties">
                <evaluator>evaluator.doclib.action.disableAction</evaluator>
            </action>
            <action index="280" id="document-assign-workflow">
                <evaluator>evaluator.doclib.action.disableAction</evaluator>
            </action>
         <action index="300" id="document-publish">
                <evaluator>evaluator.doclib.action.disableAction</evaluator>
            </action>
            <action index="320" id="document-view-in-source-repository">
                <evaluator>evaluator.doclib.action.disableAction</evaluator>
            </action>
       </actionGroup>
   </config>
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
Which link you are referring for this?
I think this is related to Alfresco WebClient and you are expecting to work this in Alfresco share is that the case?

galgalesh
Champ in-the-making
Champ in-the-making
Which link you are referring for this?
I think this is related to Alfresco WebClient and you are expecting to work this in Alfresco share is that the case?

I want to hide the "view in browser", "publish" and some other buttons in alfresco share.