none
Hide the 'Download a copy' button from ribbon for sharepoint online.

    Question

  • Hi,

     I using SharePoint online, in that for a document library need to hide the 'Download a copy' button from ribbon.since from that document library no document to be downloaded.

    Regards,

    RK

    Monday, February 25, 2013 4:48 AM

Answers

  • Hi Kathick

    Edit the view page using SharePoint Designer and then add below CSS , “Download copy” button will be hide.

    <style>
    #Ribbon\.Documents\.Copies-LargeMedium-0
    {
        display:none;
    } 
      </style>


    Please mark the replies as answers if they help or unmark if not.

    Monday, February 25, 2013 5:41 AM

All replies

  • Hi Kathick

    Edit the view page using SharePoint Designer and then add below CSS , “Download copy” button will be hide.

    <style>
    #Ribbon\.Documents\.Copies-LargeMedium-0
    {
        display:none;
    } 
      </style>


    Please mark the replies as answers if they help or unmark if not.

    Monday, February 25, 2013 5:41 AM
  • Very interesting answer Ravinchandra. I've tested it without editing page in SP Designer and just by adding it in a script editor web part and it has the same result.

    However in my scenario I would need to dynamically hide/show same based on the curent user's permission.

    How could I make your script integrate with javascript from this post to achieve above?

    Thanks and Regards,

    Rhyan

    Monday, April 28, 2014 9:47 AM