SharePoint 2010 disable document Check Out and Check In

If you want to disable both check in/ check out context menu items in the document library then see the following link which describes how to add custom menu items to a document library via a hidden “content editor web part”. Add that to your web part page and add the following to the “source editor”

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

This will override the core.js function which adds these items to the context menu.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: