Hide Multiple Upload link in SharePoint 2010
I had a request to hide the multiple file upload links in SharePoint 2010. After an hour or two of searching for a configuration setting, I got tired and did a simple CSS hack. Granted this doesn’t disable the functionality it only hides links. So users could still work around this if they know the path.
Because SharePoint ignores common web standards and uses Ids with periods I had to escape the Id. CSS will treat the periods as a class declaration if they are not escaped.
To use this simply add the code snippet to your main CSS file or your master page in SharePoint. If this code snippet doesn’t work for you verify that the Id’s are the same in your SharePoint installation.
1 2 3 4 5 | #ctl00_PlaceHolderMain_UploadDocumentSection_ctl03_UploadMultipleLink, #Ribbon\.Documents\.New\.AddDocument\.Menu\.Upload\.UploadMultiple-Menu32 { display: none; } |
Thanks a lot !