AnsweredAssumed Answered

Hide actions in doc library

Question asked by galgalesh on Aug 2, 2012
Latest reply on Aug 2, 2012 by galgalesh
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>

Outcomes