<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Enable/Disable Share create content menu option in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/enable-disable-share-create-content-menu-option/m-p/23780#M10370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Re&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://connect.hyland.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;hare-custom-config.xml&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;This is a custom content type that has already been defined &amp;amp; is in use successfully so everything is already in place, all I need is some way to disable it if required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;config evaluator="string-compare" condition="DocumentLibrary"&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;create-content&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;content id="plain-text" mimetype="text/plain" label="some text" itemid="model:customtype" icon="icon"&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;evaluator&amp;gt;evaluator.never.gets.fired.it.seems&amp;lt;/evaluator&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/content&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/create-content&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;types&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;type name="cm:content"&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;subtype name="&lt;SPAN style="background-color: #f6f6f6;"&gt;model:customtype&lt;/SPAN&gt;" /&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;type name="cm:folder"&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/types&amp;gt;&lt;BR /&gt; &amp;lt;/config&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Any pointers would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2017 11:55:38 GMT</pubDate>
    <dc:creator>stephenl</dc:creator>
    <dc:date>2017-08-30T11:55:38Z</dc:date>
    <item>
      <title>Enable/Disable Share create content menu option</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/enable-disable-share-create-content-menu-option/m-p/23780#M10370</link>
      <description>Hi,Re&lt;IMG id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;hare-custom-config.xmlI'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</description>
      <pubDate>Wed, 30 Aug 2017 11:55:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/enable-disable-share-create-content-menu-option/m-p/23780#M10370</guid>
      <dc:creator>stephenl</dc:creator>
      <dc:date>2017-08-30T11:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Enable/Disable Share create content menu option</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/enable-disable-share-create-content-menu-option/m-p/23781#M10371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could simply override the create-content group as empty in the default share-config-custom.xml and then have a Surf Extension module add in the elements that you want. A Surf extension module can be configured with an evaluator based on group membership of the current user, and that way you can group all create-content items under one evaluator. I do not believe that the create-content elements themselves even support the evaluator element, since they are never dynamically processed like e.g. metadata templates and actions are.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 19:17:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/enable-disable-share-create-content-menu-option/m-p/23781#M10371</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-08-30T19:17:46Z</dc:date>
    </item>
  </channel>
</rss>

