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.
Edit the view page using SharePoint Designer and then add below CSS , “Download copy” button will be hide.
Please mark the replies as answers if they help or unmark if not.
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.
Thanks and Regards,
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?