AnsweredAssumed Answered

Create Content Menu

Question asked by itzamna on Sep 13, 2013
Latest reply on Oct 3, 2013 by arnoldschrijver
Hi all,

I'm not sure if this question was already answered, but I couldn't use the search of this forum as this results always in an error…!?

Here's my question:
Is there an opportunity to enhance the "Create Context" menu in Share with a submenu? I'm able to create additional entries in the menu. But as all of my entries are all related to our own content model, I'm looking for a way to collect (group) all of these entries in an own submenu.
 
This is the part of my share-custom-config.xml that contains the menu entries:

<config evaluator="string-compare" condition="DocumentLibrary">
   <create-content>
      <content id="myType1" mimetype="text/plain" icon="myType1" label="myType1.createcontent" itemid="cc:myType1"/>
      <content id="myType2" mimetype="text/plain" icon="myType2" label="myType2.createcontent" itemid="cc:myType2"/>
      <content id="myType3" mimetype="text/plain" icon="myType3" label="myType3.createcontent" itemid="cc:myType3"/>
   </create-content>



I'm looking for something like:

<config evaluator="string-compare" condition="DocumentLibrary">
   <create-content>
           <content id="mySubmenu" icon="mySubmenu" label="mySubmenu.createcontent" />
         <content id="myType1" mimetype="text/plain" icon="myType1" label="myType1.createcontent" itemid="cc:myType1"/>
         <content id="myType2" mimetype="text/plain" icon="myType2" label="myType2.createcontent" itemid="cc:myType2"/>
         <content id="myType3" mimetype="text/plain" icon="myType3" label="myType3.createcontent" itemid="cc:myType3"/>
      </content>
   </create-content>


In principle, the same structure as it is provided for the menu "By Templated Node…" (screenshot).

Is this feasable in one of the current Alfresco versions (4.1.5 Enterprise and up) by simple customizing (without writing additional source-code)?

Thanks!

Attachments

Outcomes