cancel
Showing results for 
Search instead for 
Did you mean: 

Two different create folder options in create menu.

deeps
Champ in-the-making
Champ in-the-making
Hi,

I want to create Two different create folder options in create menu with my custom types.

can anyone help me, how can i achieve this.

Thanks in advance.
1 REPLY 1

art99trash
Star Contributor
Star Contributor
You can add entries to the Create menu by adding  a <create-content> section to your share-config-custom.xml


   <!– Document Library config section –>
   <config evaluator="string-compare" condition="DocumentLibrary">
      <create-content>
         <content id="plain-text" mimetype="text/plain" label="Folder Type 1"
            itemid="ax:folder1" icon="folder1" />
         <content id="plain-text" mimetype="text/plain" label="Folder Type 2"
            itemid="ax:folder2" icon="folder2" />
      </create-content>


For more information on creating custom types and actions, Jeff Potts created a good tutorial:
http://ecmarchitect.com/alfresco-developer-series