cancel
Showing results for 
Search instead for 
Did you mean: 

how can I hide the button "Import a File"

rbahassine_
Champ on-the-rise
Champ on-the-rise

Under my folders I have 2 buttons :

  • New
  • Import a File

I want to hide the 2nd. How can I do it?

Thank you.

alt text

2 REPLIES 2

vjoussot_
Star Contributor
Star Contributor

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>

rbahassine_
Champ on-the-rise
Champ on-the-rise

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.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.