Hide Check Out in SharePoint 2013

Markus Kolbeck
Markus' Blog
Published in
1 min readJul 14, 2015

If you want to hide the “Check Out” functionality in SharePoint 2013, this can be achieved using CSS and JavaScript.

SharePoint 2013 offers two different Menus for checking out documents in a SharePoint libary:

  • Edit Control Block (ECB) menu
Edit Control Block (ECB) menu - Check Out
  • menue item in the Ribbon Bar
Ribbon Bar Menu - CheckOut

The first one can be hidden using the following JavaScipt:

<script language="javascript">
function AddCheckinCheckoutMenuItem(m, ctx, url)
{return;}
</script>

Taken from How to disable check in/check out in a document library?

The second menu item can be hidden by the following CSS:

<style>
// Hide Ribbon Bar Check Out
#Ribbon\.Documents\.EditCheckout-LargeMedium-1-0{
display:none;
}
</style>

You can combine both scripts in one text file, save them to a SharePoint library (e.g. in Site Assets) and integrate them on your page using a CEWP (Content Editor Web Part).

--

--