how can I hide the button "Import a File"
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2014 06:15 AM
Under my folders I have 2 buttons :
- New
- Import a File
I want to hide the 2nd. How can I do it?
Thank you.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2014 06:39 AM
Hello, with studio you can "surcharge" this xml extension
<action id="newFile"
link="javascript:Richfaces.showModalPanel('importFile');"
label="action.new.file" icon="/icons/action_add_file.gif">
<category>SUBVIEW_UPPER_LIST_HREF</category>
<filter-id>importFile</filter-id>
</action>
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2015 12:53 PM
Hello,
I tried to add this XML Extension but this has no effect. The Import a File button still appears...
I have one other XML Extension and this does not begin with <action>
tag but <extension>
:
<extension target="org.nuxeo.ecm.webapp.directory.DirectoryTreeService"
point="trees">
<directoryTree name="bySubjectsNavigation" enabled="false" />
<directoryTree name="byCoverageNavigation" enabled="false" />
</extension>
Your XML does not begin with <extension>
should I add it before your code?
Many Thanks.
