SHARE
TWEET

Hide Custom Action

a guest Jan 2nd, 2017 21 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Action bean-id from the addon that I want to hide - ev-ocr-english
  2.  
  3. Below is how I am trying to hide/disable it in share-config-custom.xml under <classpathRoot>/alfresco/web-extension
  4.  
  5. <alfresco-config>
  6.     <config evaluator="string-compare" condition="DocLibActions">
  7.         <actions>
  8.             <action id="ev-ocr-english">
  9.                 <evaluator>evaluator.doclib.action.disableAction</evaluator>
  10.             </action>
  11.         </actions>
  12.     </config>
  13. </alfresco-config>
RAW Paste Data
Top