Home

SharePoint IT Pro Blog

MSDN Magazine Feed

Monday, October 19, 2009

SharePoint Document Library: Require Check Out

Today's best practices recommendation, why you should require check out in your document libraries, and how to go about doing so.

The reason that it's recommended that you require check out on the documents in your library is that, unless you do so, multiple users will be able to check out and edit a single document at the same time*, and without any indication that another user is already editing the same document. What do you think happens if two people are making changes to the same document at the same time? If you said, "whoever saves first wins," give yourself a gold star.

Such headaches can be avoided by requiring that users check out a document from a library before making changes. Don't worry, if someone has checked out a given document and is in the process of making changes, a read-only version can still be accessed by other users.

Is it a complicated or laborious process to set up a document library to require check out? Not at all. In fact, setting up a document library to require check out is as simple as selecting a single radio button in the library settings:


To navigate to the above setting, from within the library itself,

  • first select Document Library Settings from the Settings dropdown,
  • then select the Versioning Settings hyperlink under the General Settings header.
  • From there, you'll be presented with the setting options page for the library, and you'll notice that the last option is Require Check Out. Once you're here, all you need to do is switch the defaulted Require Check Out radio button selection from No to Yes (as pictured above),
  • click OK at the bottom of the page, and you're all set.

Tuesday, October 6, 2009

How to hide Meeting Workspace Option in SharePoint Calendar

Use content Editor Webpart and copy following code into source editor, and add this web part to your Calendar's New Item Page [NewForm.aspx]

< type="text/javascript">
var TDs = document.getElementsByTagName("TD");
var i=0;
var tagContent = "";
while (i <>
{
try{tagContent = TDs[i].innerText TDs[i].textContent;
if (tagContent.indexOf("Workspace") == 0 tagContent.indexOf("Workspace") == 3)
{
TDs[i+1].parentNode.removeChild(TDs[i+1]);
TDs[i].parentNode.removeChild(TDs[i]);
}
}
catch(err){}i=i+1;
}
< /script >