cancel
Showing results for 
Search instead for 
Did you mean: 

Document Library - Remove options from the 'Create' link

rodrigorapozo
Champ in-the-making
Champ in-the-making
Hello everyone in the 'create' dropdown on top of the Document Library screen, how I can remove or hide (the correct way) the following options:

Plain Text
HTML
XML

Best Regards.

1 REPLY 1

niketapatel
Star Contributor
Star Contributor
Hi To hide/remove this options add below snippet in your share-config-custom.xml

OOB, there are 4 options in configuration - Plain Text,HTML,XML and create new folder. So after adding below snippet now you will have only create folder and other options like google docs etc…

You can check this OOB configurastion in share-documentlibrary-config.xml located at tomcat\webapps\share\WEB-INF\classes\alfresco\
In this file search for
"<create-content>"



<config evaluator="string-compare" condition="DocumentLibrary" replace="true">

      <create-content>
         <content id="folder" label="create-content.folder" icon="folder" index="5" type="javascript">
           <param name="function">onNewFolder</param>
        </content>
      </create-content>
</config>