<?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 Create Content Menu in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/create-content-menu/m-p/287715#M240845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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…!?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's my question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the part of my share-custom-config.xml that contains the menu entries:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&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;lt;content id="myType1" mimetype="text/plain" icon="myType1" label="myType1.createcontent" itemid="cc:myType1"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;content id="myType2" mimetype="text/plain" icon="myType2" label="myType2.createcontent" itemid="cc:myType2"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;content id="myType3" mimetype="text/plain" icon="myType3" label="myType3.createcontent" itemid="cc:myType3"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/create-content&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm looking for something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;content id="mySubmenu" icon="mySubmenu" label="mySubmenu.createcontent" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;content id="myType1" mimetype="text/plain" icon="myType1" label="myType1.createcontent" itemid="cc:myType1"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;content id="myType2" mimetype="text/plain" icon="myType2" label="myType2.createcontent" itemid="cc:myType2"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;content id="myType3" mimetype="text/plain" icon="myType3" label="myType3.createcontent" itemid="cc:myType3"/&amp;gt;&lt;BR /&gt;&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;…&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In principle, the same structure as it is provided for the menu "By Templated Node…" (screenshot).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this feasable in one of the current Alfresco versions (4.1.5 Enterprise and up) by simple customizing (without writing additional source-code)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Sep 2013 09:50:43 GMT</pubDate>
    <dc:creator>itzamna</dc:creator>
    <dc:date>2013-09-13T09:50:43Z</dc:date>
    <item>
      <title>Create Content Menu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-content-menu/m-p/287715#M240845</link>
      <description>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</description>
      <pubDate>Fri, 13 Sep 2013 09:50:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-content-menu/m-p/287715#M240845</guid>
      <dc:creator>itzamna</dc:creator>
      <dc:date>2013-09-13T09:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create Content Menu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-content-menu/m-p/287716#M240846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It depends what you mean by simple customizing &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; I think you'll have to write quite a bit of source code. Unfortunately there is no easy configuration option. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Create Content menu is constructed in the Toolbar component of the Document Library, ie. Alfresco.DocListToolbar (webscript located at: config/alfresco/site-webscripts/org/alfresco/components/documentlibrary/toolbar.get.desc.xml). Most of the work is done in the client-side toolbar.js (/source/web/components/documentlibrary/toolbar.js).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could directly hack the code in toolbar.js. A quick look shows you'll have to at least adapt onReady() method and maybe onCreateContent().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Much better but much more involved would be to create your own share extension module and extend the webscript by creating your own extension of toolbar.js that overrides the appropriate methods. Then add that script in the webscript header (config/alfresco/site-webscripts/org/alfresco/components/documentlibrary/toolbar.get.head.ftl) or create your own toolbar webscript altogether and swap it with the default using the surf extension mechanism.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally you should also adjust the mechanism of passing the createContentActions, i.e. add some mechanism to determine the hierarchy of the menu, if you want to retain the easy configuration option in share-custom-config.xml.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 06:44:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-content-menu/m-p/287716#M240846</guid>
      <dc:creator>arnoldschrijve1</dc:creator>
      <dc:date>2013-10-03T06:44:32Z</dc:date>
    </item>
  </channel>
</rss>

