Hide item in the ECB menu (Edit Control Block)

First, I would like to hide the "Download a copy" item in the ECB which is found in the document library.
Then I would like to add it in the callout menu.
Can anyone help me with these two steps?
Thank you

Try if this works 
1.    Make a copy of the LAYOUTS folder from “…\15\TEMPLATE\” .
2.    From IIS, make your site collection point to your custom LAYOUTS folder.
3.    Now you can look for CORE.JS into your custom LAYOUTS folder .
CORE.JS
4.    For “Edit in Microsoft Office InfoPath” link, search for “L_EditIn_Text” and comment out the code for “strDisplayText”
5.    For “Download a copy” link, search for “L_DownloadACopy_Text” and comment out the code for “menuOption”
Note: Please remember to keep a track of all changes you do in your custom LAYOUTS folder because for any future releases/ SPs/ Patches, you may need to apply those changes in your custom layouts folder as well. Modifications of out of the box files are
not supported.
Or
You can try :
http://weblogs.asp.net/jan/customizing-the-sharepoint-ecb-with-javascript-part-1
Or
If it is not a matter of security you could do it with css:
#ID_DownloadACopy{display:none;}
Or Jquery (haven't tested):
$('#ID_DownloadACopy').remove();
If this helped you resolve your issue, please mark it Answered

Similar Messages

  • How to change the selection background color of the selected item in the popup menu of the choice box ?

    How to change the selection background color of the selected item in the popup menu of the choice box ?
    By defaut, the selection background color likes "blue", but if I want it to be "yellow" for example, how should I do ?
    Thanks

    The id is applied by (I think) the skin class of the ChoiceBox. You don't need to define it.
    You have to apply the css in an external style sheet. You can apply the external style sheet to any parent of your choice box, or to the scene (the most usual way to do it).
    Example:
    import java.util.ArrayList;
    import java.util.List;
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    public class ChoiceBoxTest extends Application {
      @Override
      public void start(Stage primaryStage) throws Exception {
        primaryStage.setTitle("Example 2");
        final ChoiceBox<String> choiceBox = new ChoiceBox<>();
        List<String> tempResult = new ArrayList<String>();
        for (int i = 0; i < 10; i++) {
          tempResult.add("Item " + i);
        choiceBox.getItems().setAll(tempResult);
        VBox root = new VBox();
        root.getChildren().add(choiceBox);
        final Scene scene = new Scene(root, 300, 250);
        scene.getStylesheets().add("choiceBox.css");
        primaryStage.setScene(scene);
        primaryStage.show();   
      public static void main(String[] args) {
        launch(args);
    choiceBox.css:
    @CHARSET "UTF-8";
    #choice-box-menu-item:focused  {
    -fx-background-color: yellow ;
    #choice-box-menu-item .label {
    -fx-text-fill: black ;
    Message was edited by: James_D

  • Can I remove items from the Services menu?

    I think the subject line says it all: can I remove items from the Services menu? I have a number of items in the Services menu that I never use and I would like to make the menu shorter to make it easier to access the items that I do use.

    There are a couple of things you could try. There's an application called Service Scrubber that is supposed to do this. But the web page says it's for 10.4, though it says it might work on 10.3
    Alternatively, you can edit the Info.plist or Info-macos.plist file in each application bundle to remove its service from the Services menu. This post at Mac OS X Hints has a pretty detailed description of how to do it. I tried this on my iMac running 10.3.9 and it worked just fine.
    Don't know about the Service Scrubber app, but if you edit the plist files, you'll need to log out and log back in before the changes take effect.
    Also, if you decide to edit the files by hand, I'd suggest just renaming NSServices by adding an "x" to the front or something, rather than deleting the item completely. That makes the changes easier to reverse.
    charlie

  • Removing items from the Apple Menu

    Using Leopard in a School the pupils are always messing up the dock. I have locked system preferences but they are still able to mess with dock settings by going to dock off of the apple menu. Is it possible to remove this item from the Apple menu or to make it inactive
    Thanks

    I don't think so. Have you tried checking in 'Parental Controls' section? If there's nothing there you might need a third party software solution. You could always try to contact the Mac Genius bar too, they might know of a 'trick' to remove it.

  • Add an item to the Apple menu

    I would like to know how to add an item to the Apple menu using OSX Lion, any help would be more than appreciated.
    Thanks in advance
    Ron

    1. You don't need to use Apple Menu Options for this; to add the item, double-click your hard disk's icon in the Finder and then open the System Folder. You can change the contents of the Apple Menu Items folder as if it was any other folder.
    2. Open the Preferences folder in the System Folder and drag the item named Apple Menu Options Prefs inside to the desktop. Try opening the control panel again.
    (17477)

  • Just bought a new mac mini, wireless keyboard, and track pad. My track pad will not synch. All advise I have been given is to change items in the setting menu, but I cant because I still have to get through the setup!!

    Just bought a new mac mini, wireless keyboard, and track pad. My track pad will not synch. All advise I have been given is to change items in the setting menu, but I cant because I still have to get through the setup!!

    The power button for the Trackpad is on the right hand end of the battery case. Press that button to initiate the pairing process. On the top of the Trackpad just above the power button is a tiny green light (you probably cannot see it unless it is lighted). That light will indicate ehther or not the Trackpad is discoverable. If the Trackpad has discoverable the green light will blink on and off. If it does not pair within 3 minutes you will have to press the power button again to re-initiate the pairing process. Once your Trackpad has paired, you can just leave it on and it will pair automatically when you reboot your Mac.
    If you are having problems pairing, try turning off any other Bluetooth devices within 30 or so feet of your Mac mini. That includes other Computers, iPhones, iPads, etc. that may be in the area. Once your Trackpad has pairedwith your mini, you don't have to be concerned about other Bluetooth devices.
    One other hint, I find that although the Wireless Trackpad does not eat batteries as fast as the Magic Mouse it still uses more than the Wireless Keyboard. It is a good idea to keep a supply of AA batteries around. I have used Apple's Rechargable batteries, but found they did not last that long before needing to be recharged. I have had the best battery life from Duracell Quantum batteries.

  • Remove items from the Tools menu in the Service Manager console

    Hi. 
    I know I have see a post regarding this before, but just wanted to put it out these once again.  I'd like to remove items from the Tools menu in the Service Manager console - specifically My Notifications and Create Change Request.  This is because
    the former allows a user to create notification subscriptions in incorrect Management Packs, and the latter because we are not using Change Management yet.  Does anyone have any information on how to achieve this?
    Cheers
    Shaun

    how to customize tools tht are displayed in tool menu
    http://technet.microsoft.com/en-us/library/jj134147.aspx#BKMK_tools

  • Why is hide items in the cloud grayed out?

    hi. can anybody answer this question? Why is hide items in the cloud grayed out?

    Press the escape (esc) key to exit full-screen mode.

  • HT201335 I can't find the AirPlay menu through control centre on iPad mini.  I don't have Apple TV. Means I can't stream some content (Netflix is useless now)

    I can't find the AirPlay menu through control centre on iPad mini.  I don't have Apple TV. Means I can't stream some content (Netflix is uselessnow)Everything worked Ok but today an error message said I couln't stream video to TV. Fix suggested is turn off mirroring in AirPlay when there is NO MENU for Airplay in iPad mini or iPhone. All support advice keeps on about Apple Tv. I'm NOT USING Apple TV

    http://support.apple.com/kb/ht5209
    http://support.apple.com/kb/ht4437
    http://support.apple.com/kb/TS4215
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-Airplay-Icon-Missing. htm
     Cheers, Tom

  • How can I restore the icon items in the main menu bar (clock,time,battery)?

    A few weeks ago I noticed that the items in the main menu bar are not updated, do not work, and cannot be selected. When I move the cursor over this area, the rainbow cursor appears and nothing can be selected. As a result, the time, date, battery status, finder, and sound icons in the upper right hand corner no longer function. I have shut down and restarted the computer, but the problem still persists. Any available help on this issue would be greatly appreciated. Thanks!
    Powerbook G4   Mac OS X (10.4.4)  

    Niel, I followed your suggestion, but nothing seemed to change. I couldn't find the exact file, but found one that was very similar....com.apple.systemuiserver.plist...... I dragged the icon to the desktop and then attempted to move it to the upper right corner, but the rainbow cursor was displayed and nothing happened. Do you have any other ideas? Thanks for your assistance.

  • Show or hide item of the menu Generic Object Services (BC-SRV-GBT)

    Hello experts,
    How can I hide some items in the menu GOS for some object. I know it is possible, but I can't remember how I did it. Thanks for any help.
    Best regards,
    Aleksandr.

    Check this link
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVOBS/BCSRVOBS.pdf
    You can take care of this Link very useful
    http://help.sap.com/saphelp_nw04/helpdata/en/be/3fe63659241157e10000009b38f889/frameset.htm
    I made use of the table entries SGOSATTR after coding with the class.
    I hope this documentation should be kept by Wflow experts in their kitty:))).
    Thanks
    Arghadip

  • Removing items from the user menu

    When users log in, they get a menu in the upper right corner of the ribbon that has their user name on it; the welcome menu. This menu has some items on it that I would like to remove because we have disabled "My sites" and because they allow unwanted
    actions..
    The buttons are:
    My Site
    My Profile
    Personalize this Page
    I managed to find the template welcome.ascx for the welcome menu in \14\TEMPLATE\CONTROLTEMPLATES\ and was able to hide the "Personalize this Page" item by adding visible="false" to the menu item template. What I can't find is the menu
    item template for the My Site items. I'm not sure if those items are controlled by the menu template. I think they are controlled by turning off my sites in central admin. I say this because when I click on both menu items, I get a page not found error. I
    think the files for those pages were removed rather than disabling my sites.  Can someone confirm?

    I would not recommend modifying the pages on the server directly. Any future CU or ServicePack could overwrite those changes. If you have backup of those please, you may refer it back.
    And to hide those button, goto User Profile Service Application in Central Admin. You will find Manage User Permissions. There you can uncheck the following to disable the respective buttons
    Uncheck Use Personal Features to hide My Profile
    Uncheck Create Personal Site to hide My Site 
    Uncheck Use Social Features to disable Tagging, Note Board

  • Centering items in the Navigation Menu

    I have a multi page web site that was created in iWeb08.
    On some of the pages all the items are properly centered... on others they are right justified and in some browsers they wrap to a third line.
    How can I edit or format them so they are all the same and centered .
    If anyone is curious at looking at the site it is at:
    http://web.mac.com/duncf/BUUF/Welcome.html
    In addition to my mavigation menu issue, I am open to suggestions.
    Thanks

    Select "Show Layout" from the "View" menu and drag the "handles of the navigation box to the page edges.
    You are not showing all the pages in the navigation on every page and this cause an inconsistency.
    Once your site grows to more than a few pages, you really have to divide it into main sections which are included in the main navigation and then each sub section has its own.
    Here's an example of a site done like this where the iWeb navigation has been dispensed with and both the main and sub navigations are built in a text box.....
    http://roddymckay.com/PlanetRoddy.html

  • [SOLVED] How to Add Items in the Awesome Menu?

    I hate to ask, but I've gotta say I've read the manuals extensively, and can't figure out certain things in awesome... I want to purchase a lua programming manual to have around, but in the meantime... I'm hoping one of you guys can throw me a bone here and help me figure out this one thing...
    I've added firefox to my awesome menu so now it's like awesome > open terminal > firefox. However, nothing happens when I select firefox, and here's my code:
    -- {{{ Menu
    -- Create a launcher widget and a main menu
    myawesomemenu = {
       { "manual", terminal .. " -e man awesome" },
       { "edit config", editor_cmd .. " " .. awesome.conffile },
       { "restart", awesome.restart },
       { "quit", awesome.quit }
    mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
                                    { "open terminal", terminal },
                    { "firefox", awful.util.getdir("config") .. "/firefox.png" }
    mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
                                         menu = mymainmenu })
    -- Menubar configuration
    menubar.utils.terminal = terminal -- Set the terminal for applications that require it
    Anyone know what I'm doing wrong?
    Last edited by w201 (2013-03-02 04:49:11)

    The syntax for adding a menu item to awesome goes like this:
    mywebmenu = {
    {" Chromium", "chromium-browser", beautiful.chromium_icon},
    {" Dropbox", "dropbox", beautiful.dropbox_icon}
    or
    mysettingsmenu = {
    {" WICD", "urxvt -x wicd-curses", beautiful.wicd_icon}
    As you can see, the first item in the list is the name of the menu item, the second is the command to be run, and the third is the icon to be displayed. If there's no third field, no icon is displayed.
    Your code for adding firefox to your menu will correctly show "firefox" as the menu name being displayed, since that's the first field you added, but will attempt to execute "awful.util.getdir("config") .. "/firefox.png"  when you click the menu item, since that's what you provided as the second argument. Since that's not an executable command, nothing happens.
    Since the "awful.util..." bit seems to be you trying to get the proper icon for firefox, I suggest adding an element to the list between the two you already have that is just "firefox". This will ensure that when you click on "firefox" in your menu, the command that is run is "firefox", which should launch your browser.
    Last edited by dcalacci (2013-03-01 21:21:01)

  • How to hide item in the taskbar?

    Hi,
    I'm not sure if this is the right place to ask but i'm currently working on a system tray aplication that performs some functionallity by calling a swing gui that in turn does something else. While it doesn't really matter what it does i want to ask if its possible to hide the gui item from the taskbar? Hope i've been clear, i haven't found a solution yet.
    Thanks

    camickr wrote:
    Only JFrames are added to the task bar.
    Use a JDialog or JWindow.That was fast, i'm gonna try this out right now. Thanks!

Maybe you are looking for

  • Reinstalling Virtual PC 7

    I uninstalled Virtual PC 7.0.2 a while ago, and upon trying to reinstall it now (from the 7.0 CD, 7.0.2 is a downloadable update), the install only wants to copy 686kb of the program. When I run the 7.0 unsintaller, it crashes, which I found is a kno

  • Menu in ABAP

    how to create menu in ABAP?

  • Warning-encountered problems reading photo

    Just started receiving this message for a ton of images. Before this I just started getting the exclamation point waring about metadat. That I was able to fix by reimporting metadata. Any idea on how to fix this one on propblems reading photo unable

  • Compiler cannot find method that is there (Oracle 9i JDeveloper)

    Hi In one of my OA Framework classes Im doing some XML validation. In 1 class I do this: import oracle.xml.parser.v2.SAXParser; SAXParser parser = new SAXParser(); parser.setValidationMode(SAXParser.SCHEMA_STRICT_VALIDATION); <or Alternatively> parse

  • MM-CIN Bussiness Requirement Document

    Hi, Can you help me with: MM-CIN Bussiness Requirement Document: From PO to Invoice how CIN plays the role...(General Client Requirement).I dont want the customizing part ! I am looking for the bussiness process. Regards, eswarmanu...