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.
3 REPLIES 3

lementree
Champ on-the-rise
Champ on-the-rise
Hi,

In share-custom-config.xml add below lines:

<!– Document Library config section –>
   <config evaluator="string-compare" condition="DocumentLibrary">
     <create-content>
        <content id="folder" label="create-content.folder" icon="folder" index="5" type="javascript">
           <param name="function">onNewFolder</param>
       </content>
      </create-content>
   </config>

or comment the lines in share-documentlibrary-config.xml

Thanks a lot lementree was directly.

Best Regards

Hi, I need help about create link. If you know please help me, 

I m using Alfresco Community 5.2. I want to create link a file(this file is in another site) to site by using REST API. But I can not find any document about this issue.

I m clicking "copy to" on myfiles folder or any site folder. And after that, it is appear a button called "create link". By clicking this button, I can create link for this document to any place. But now, I want to make this process (create link) with rest api.