Hide Upload button in library

what is easiest way to hide the Upload button in a library or list?
I know I did this easily in SharePoint Designer 2007.  But I can't figure out how to do it in SharePoint 2010.
thanks!

As sharepoint has multiple endpoint for particular activity, it is not wise to hide some UI using client script, as they can be achieved differently. Like - upload, you may hide ribbon button easily but same can be done from "Open in explorer"
window and paste the file. Or Doclib may already have mapped as shared drive or mapped as favorite using which anyone can upload document very easily.
So best way to do this is using permission. Just revoke contribute and grant read. If you want them to edit item/delete item but not upload, then you need to create
custom "permission set" to achieve your goal.
If you really looking for JavaScript then below code may help
<style type="text/css">
#Ribbon\.Documents\.New\.AddDocument-Large
display:none;
#Ribbon\.Library\.Actions\.OpenWithExplorer-Medium
display:none;
</style>
See this link - http://kishansharepoint.blogspot.com/2012/08/disable-upload-button-of-document.html
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

Similar Messages

  • Hide Upload Document button in a sharepoint library programmatically

    Hi,
    How to hide Upload Document button in a sharepoint library programmatically?
    Thank you,
    AA.

    Hello,
    hope these references will help you out
    http://www.solwebsolutions.com/blog/entry/css-for-hiding-upload-options-in-sharepoint-library-ribbon
    http://sharepoint.stackexchange.com/questions/32606/remove-button-from-ribbon-in-a-specific-toolbar
    Good luck,

  • When I first am looking at my newly uploaded photos in "Library", a box appears near the bottom of the photo that says "loading" (the photo looks good to me), then it is more "faded" and does not look as good.  Is there some setting on that I am not aware

    When I am first looking at my newly uploaded photos in "Library," a box appears near the bottom of the photo that says "Loading".  While it is loading, I usually think the photo looks "good".  After the photo is done loading, it looks more washed out.  Is there some sort of setting that I might have on (or that I need to turn on) so that this does not happen.  I have Lr4.  Thanks.

    Hi Tracy,
    There used to be a way to see if poster was new to the forum.., anyway - welcome to the forum.
    As I was alluding to, biggest differences in initial display are due to:
    * Camera calibration profile.
    * Auto-exposure/contrast settings (for which compensations have been auto-applied in camera, but not in Lightroom).
    So, choose a matching camera calibration profile (whether that's an option or not depends on your camera model - they're available for many but not all models) if you prefer one of them over "Adobe Standard" (the factory default profile).
    Also, your camera covers for underexposure due to non-optimal auto-exposure/contrast setting, Lightroom doesn't, so your options are:
    * turn it off in camera.
    * learn to compensate manually (or automatically via a plugin) in Lightroom.
    Of course, in addition to preferred defaults (alt-click big "reset" button in dev module), come up with some presets which are appropriate for your druthers and type of photography.. e.g. these will compensate Nikon ADL settings:
    http://www.robcole.com/LrForumSupport/ADL%20Compensations%20%282012%29.zip
    Cheers,
    Rob

  • Trouble uploading my iTunes library to external hard drive.

    I have a iMac OS X Version 10.6.8 and am trying to upload my iTunes library to an Seagate GoFlex Home 2TB external hard drive. I can only upload one song at a time. Very frustrating. When I try to "drag and drop" multiple songs/albums, it tells me I need Java plugin version 1.5 or higher. But I've got that and it still won't let me "drag and drop." Advice?

    Presumably you have formatted the Seagate as HFS Extended (Journaled)?
    Our iTunes guru Terence Devlin advises the following:
    1. Quit iTunes
    2. Drag the iTunes folder from your internal hd - located in ~/Music folder - to your external hd. DO NOT delete the original one from your internal hd... yet!
    3. When the transfer is complete, press and hold the Option(alt) key and fire up iTunes.
    4. A "Choose iTunes Library" window will come up. Click on the "Choose Library" button.
    5. Navigate to where the iTunes folder is located in the external hd.
    6. Within the iTunes folder, select the iTunes Library file and click Choose...
    That's it. iTunes will now display all your playlists, songs, movies, podcasts etc. At this point, should you wish, you can delete the iTunes folder from the internal hd to free up space.
    More info:
    http://support.apple.com/kb/HT1751
    Or if you prefer a more complicated explanation:
    http://www.ilounge.com/index.php/articles/comments/moving-your-itunes-library-to -a-new-hard-drive

  • Hide Upload Document item in Ribbon

    I created a document library set to use a "Document Set" content type.  I am hiding the "Document" content type, so that when a user clicks "New Document", in the Ribbon, they are only able to create a Document Set.  Is there a way to hide "Upload
    Document" item in them Ribbon at this level?  Meaning, once the Document Set is created the user should be allowed to "upload" documents into the Document Set?  I want to prevent them from uploading documents at the document set creation level.

    Hi,
    You can create a sandbox solution with the following feature\elements.xml to remove Upload document in the Ribbon. If you need this active for only one library you can either create a new Content type from document and then specify the Id in RegistrationId
    or you will have to create a new list template for you document library and specify the id of list template in RegistrationId.
    <CustomAction
        Id="RemoveExplorerButton"
        Location="CommandUI.Ribbon"
        RegistrationType="List"
        RegistrationId="{contentTypeId}">
        <CommandUIExtension>
          <CommandUIDefinitions>
            <CommandUIDefinition
              Location="Ribbon.Library.Documents.upload" />  -> verify this
          </CommandUIDefinitions>
        </CommandUIExtension>
      </CustomAction>

  • How to hide 'Search' button from Search GUIBB?

    Hi All,
    I know we can configure search GUIBB to hide 'Search' button and 'Clear' button. But I have to dynamically control this property. Is there any solution to implement it?
    Thanks,

    As always, you are such a reliable source of help! :-)
    That robots.txt you mentioned...do what with that?  I mean, how does that tell it "dont index the images"? For that matter, there are tons of pages on the server I don't want being indexed yet either because they are half baked for later development.
    Thanks!
    Create the file, and upload it to the root directory.  It's as simple as that.  But you'll have to read the details on the google hits to see the exact syntax of the exclusions.
    Now - here's why this is happening....
    Somewhere, google has found a link to this URL -
    http://bluehippotravel.com/photos/destinations/TH/
    The bluehippotravel host has NOT disabled directory browsing.  When you browse to that URL, instead of getting a FORBIDDEN message like you should, you get a page listing the contents of that directory.  Google is indexing that page.  Ask your host to turn off directory browsing for that folder.

  • When I try to upload pictures onto iPhoto, it shows up, but it won't let me import my pictures. And when I want to close iPhoto it says "Photos being uploaded to iPhoto library, please wait to finish uploading," but I am not uploading anything.

    When I try to upload pictures onto iPhoto, it shows up, however it won't upload. The "import" button, I can't click on it. It won't upload. And when I want to close out the window of iPhoto, it won't close, I get a message saying "photos being uploaded to iPhoto library," but i can't even upload. This has been like this since late April...

    What version of iPhoto?
    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • How can I hide a button with javascript in Captivate 8?

    I need to run some javascript in my project and at the same time I want to hide a button, so I can't use advanced actions.

    It is very strange, most users who have focus on JS try to do everything with it, whereas lot of simple actions can easily be done with advanced/shared actions. I will only go to JS when it is not possible with advanced/shared actions.
    You are lucky, I was just restarting to work on an advanced training for next week when your question showed up.

  • How to hide 'SAVE' button in adobe form layout

    Hi  Friends,
    I have a requirement to hide 'SAVE' button in adobe form layout .They dont want to save the form .
    Is there any way to achieve this .I have gone through scn ,but couldnt find the proper solution
    Thanks and Regards,
    Subeesh Kannottil

    Hi Subeesh,
    Are you talking about restricting the User from Saving the Adobe Form Output. 
    Regards,
    Sivanand Ala

  • HT5085 I would like to upload my music library from my PC to the Cloud through iTunes Match.  I also will be purchasing a Mac in the near future and would like to download some of that music from iCloud to my Mac.  Will I have compatability problems?

    I would like to upload my music library from my PC to the Cloud through iTunes Match.  I also will be purchasing a Mac in the near future and would like to download some of that music from iCloud to my Mac.  Will I have compatability problems?

    You should have no problems. To add a second computer or device to iTunes Match, see:
    http://support.apple.com/kb/ht4913
    Regards.

  • Can you move a 'Multiple Image Upload' button  into the 'Update Form'?

    I am able to creat and an Update form and an image upload using the "Update Form Wizard" tool and the "Multiple Image Upload" tool succesfully.
    <br />
    <br />The problem comes when I try to move the "UPLOAD" button inside the Update form. Right now it looks like this:
    <br />http://www.webritesolutions.com/Test/upload/now.JPG
    <br />
    <br />This is how I would like it to show:
    <br />http://www.webritesolutions.com/Test/upload/tryingto.JPG
    <br />
    <br />I want to "Upload" button to go next to the "Update record" button. When I do this I get a javascript error and the "Update record" button is disabled.
    <br />Here is the code of what I tried to do:
    <br />
    <br />
    <br />
    <br />
    <br />
    <table>
    <tr class="KT_buttons">
    <td>
    <?php<br />        // Multiple Upload Helper<br /> echo $muploadHelper->Execute();<br /> ?>
    </td>
    <td colspan="1">
    <input type="submit" name="KT_Update1" id="KT_Update1" value="Update record" />
    <br /></td>
    </tr>
    </table>
    <br />
    <br />Here is the Javascript error:
    <br />http://www.webritesolutions.com/Test/upload/error.JPG
    <br />
    <br />thanks for your help.

    A control can only appear once in the visual tree. So you have to remove it from the Grid before you can add it to the DockPanel.
    This code will move the Border element from the Grid to the DockPanel when you click the button:
    Private Sub Button_Click(sender As Object, e As RoutedEventArgs)
    Dim border = CType(LayoutRoot.FindName("myborder"), Border)
    LayoutRoot.Children.Remove(border)
    contain.Children.Add(border)
    End Sub
    <StackPanel>
    <Grid x:Name="LayoutRoot">
    <Border x:Name="myborder" BorderBrush="Black" BorderThickness="2">
    <TextBlock>...</TextBlock>
    </Border>
    </Grid>
    <DockPanel x:Name="contain" Background="Yellow">
    <TextBlock>2</TextBlock>
    </DockPanel>
    <Button Click="Button_Click" Content="Move"/>
    </StackPanel>
    You can try it for yourself. But please post your code as formatted text and not as embedded images if you want anyone to be able to reproduce your issue and help you in the future.
    Please remember to close your threads by marking helpful posts as answer.

  • How to Hide advance button in input list of values Popup

    I am using input List Of Values component to select value from search Pop up, in that popup i need only basic search only , i am unable to hide advance button... plase tell me how to hide this advance option

    I haven't tried this, but check
    How to remove basic/advanced button in inputListOfValues search dialog
    This does not have complete solution, but might give you some lead.

  • Why does the upload button not work in Acrobat XI for Mac?

    The upload button in the menu bar gives an error message when I try to upload a document to acrobat.com.
    I checked in my preferences that I am logged into acrobat.com.
    Is this an installation issue?

    It's working for me in Acrobat XI:
    I'd try logging into Acrobat.com from your browser, and log in with your Adobe ID. There may be a problem there:
    workspaces.acrobat.com

  • Using jQuery to hide a button (wrapped in td tag) based on attribute value (name in this case)

    I have simulated what I'm trying to do here:
    http://jsfiddle.net/dayjuuk5/
    Let me know if you can't see it for any reason.
    My question- I'm not sure I understand why this method of hiding this td tag doesn't work. I'm looking for a way to hide this button on page load (not click driven).
    Thank you for your time.
    Samir

    Hi Samir,
    Thanks for your sharing.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • SHOW ALL / HIDE ALL BUTTONS produce error in chm but not in "View Selected Item"

    My SHOW ALL and HIDE ALL buttons work in the View Selected
    Item mode. However, the compiled version generates an error tag:
    Line: 72
    Char: 1
    Error: Object expected
    Code: 0
    URL:
    mk:@MSITSTORE:C\Documents%20and%20Settings\glenn_michaels\RoboHelp%206.0\TCA\!SSL!
    In short, the the compiled chm is located in the SSL. I tried
    adding showhide.js and ehlpDhtm.js to the SSL folder, but that
    didn't make a difference. What is missing? How do I fix this?
    Many thanks in advance...
    glennito

    Mr. Grainge,
    I've tried to follow your instructions to the letter, but I'm
    not having any luck.
    1) I copied the showhide.js to
    a) RoboHelp 6.0 > Project Folder
    b) RoboHelp 6.0 > Project Folder > SSL
    c) RoboHelp 6.0 > Project Folder > SSL >
    MicroSoft_HTML_Help
    2) I pasted btnhideall.gif, btnshowall.gif, printerblue.gif
    into
    a) RoboHelp 6.0 > Project Folder > SSL
    b) they are also listed in RoboHelp 6.0 > Project Folder
    3)The Project Manager > Baggage File originally displayed
    a
    a) Project (Name) folder
    b) ehelp.xml
    c) RoboHHre.Ing
    I opened the Baggage File > Project (Name) folder,
    selected New Baggage File, and added, respectively:
    i. btnhideall.gif
    ii. btnshowall.gif
    iii. ehlpDhtm.js
    iv. printerblue.gif
    v. printerred.gif
    vi. showhide.js
    vii. TCA.fpj
    vii. root.fpj
    4) I also opened rhbag.apj in Notepad. It shows
    a) ehelp.xml and RoboHHRE.Ing accompanied by
    <usercreated>false</usercreated> tags
    b) the remaining baggage files are accomanied by
    <usercreated>true</usercreated> tags
    5) Finally, I used Notepad to display two topic files in
    which the error message identified a Line: XX. In one case the line
    # is 42, in another, 19. In both cases, when I counted lines,
    starting with <body>, I ended up on:
    onClick="JavaScript:hideEm()"
    However, I am none the wiser for my effort and don't know
    what (5) might be telling me.
    6) The only thing I can think of is that the compiled chm
    file is two levels away from the Project Name directory that holds
    all the files. The files live in Robohelp 6.0 > Project Name
    while the compiled help is found in Robohelp 6.0 > Project Name
    > SSL! > MicroSoft_HTML_Help > Project Name.chm.
    Should I be adjusting the Relative Path within the topics?
    Many thanks for your attention and assistance.
    glenn

Maybe you are looking for

  • Error in sender FCC

    Hi, I am facing an error in sender fcc its: Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'Pricebook_Data':java.lang.Exception: ERROR in configuration / struct

  • Why are my templates in French!?!

    When I go to open a new document and use a template, they're all in French. I don't know French, so this is pretty frustrating. Any help would be greatly appreciated.

  • Not able to connect i phone andpc

    i am not able to sync my iphone and PC  , deactivated the anti virus also , pl assist

  • Original Library Damaged

    I had problems with a corrupted library file and decided to delete my itunes library and reinstall what I had backed up about a month ago onto some DVDs. So, I deleted my entire iTunes folder - the music, the library and everything else inside. I res

  • Receiving email but not sending how do I resolve this?

    I can receive e-mail but cannot send, how should I resolve this?