AnsweredAssumed Answered

Enable/Disable Share create content menu option

Question asked by stephenl on Aug 30, 2017
Latest reply on Aug 30, 2017 by afaust




I'm trying to find a way to dynamically enable/disable a "create content" menu option in the Share repository task bar. Hopefully I can create a user group that can allow use of this command, if the user isn't part of the group then the option is not displayed.

This is a custom content type that has already been defined & is in use successfully so everything is already in place, all I need is some way to disable it if required.


I assumed that using an evaluator in the same way as with actions would suffice but they don't seem to be triggered for the menu items.


<config evaluator="string-compare" condition="DocumentLibrary">
      <content id="plain-text" mimetype="text/plain" label="some text" itemid="model:customtype" icon="icon">
      <type name="cm:content">
         <subtype name="model:customtype" />
      <type name="cm:folder">

Any pointers would be appreciated.