Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

If I open a file for editing using the dropdown menu and selecting "Edit in " and then immediately close that file without making any changes or saving it, SharePoint does not prompt me to check that document back in.

Is there any way (maybe through Group Policy) to force SharePoint to always prompt a user to check in the document they're closing if it's currently checked out to them?

share|improve this question
    
What version of SharePoint are you using? Are you referring to Office docs specifically or documents in general? If Office, what version of Office are you using? –  Rob D'Oria Aug 11 '11 at 22:23
    
@Rob D'Oria - SharePoint 2010, Office documents specifically, and I'm using Office 2010 but most of the office is on 2007 still. –  JonnyP Aug 12 '11 at 13:17
    
@RobD'Oria - Any update? –  JonnyP Oct 26 '11 at 17:19
add comment

3 Answers

This is default behavior and I don't think there is a way to prompt user on closing. There are simply no options to send information back to Sharepoint that document is closed.

The only option would be to integrate some custom logic into the application responsible for document handling, but I think it is not worthwhile.

UPDATE

Since there are most likely no options to prompt user on document closing you can explore some alternatives. Maybe using some different approaches to notify users like writing custom TimerJob that periodically sends emails with list of checked out documents or including Content query or custom webpart on welcome page listing all checked out documents for current user.

share|improve this answer
    
What about something through Group Policy that would target MS Office applications? –  JonnyP Aug 12 '11 at 19:02
1  
Group Policy would be option if there is some setting in Office applications to force check in. I am not aware that setting like this exist. Wait for @RobD'Oria - maybe he has some better idea. –  Vedran Rasol Aug 12 '11 at 19:48
    
@JonnyP - a little update on my side. To win even half bounty with this answer is kind of depressing –  Vedran Rasol Mar 6 '12 at 21:46
    
Upvoted for your web part idea. That might be the next best thing to what I actually want. –  JonnyP Mar 12 '12 at 13:00
add comment

If users aren't attentive enough to know to check back in a document, then the check-in/check-out feature will hurt your group more than help it. I would suggest turning forced checkout upon edit OFF to avoid confusion and throw them to the dogs...

Also, have you checked out Office Web Apps? Maybe you can force them to edit files inside of the browser and that will be more intuitave to the average user to check a file back in.

share|improve this answer
    
What are the ramifications of turning off forced checkout? I don't understand why that's even an option, really. Also I don't want to restrict my users to making changes with the browser. It's slow and not what they're use to, so it will be a bigger headache than training them to remember to check a document in. –  JonnyP Feb 28 '12 at 18:56
    
Office Web Apps have a multiple edit feature that multiple users can edit the same file at the same time. Turning off multiple edit will remove a step of having users check in documents. If they just edit without checking out the document, whenever the document is out of edit-mode, SharePoint will release the lock on it. –  Mike Mar 1 '12 at 17:34
add comment

You could add an "itemUpdating" and "itemAdding" event receiver to the library. Then in code you can compare values and if no changes were done, automatically check in the file in code.

Event Receivers: http://msdn.microsoft.com/en-us/library/gg252010.aspx SPFile.CheckIn: http://msdn.microsoft.com/en-us/library/ms467428.aspx

share|improve this answer
    
And what if user do absolutely nothing after document checkout? Event receiver will not fire. –  Vedran Rasol Mar 6 '12 at 21:35
    
Yes, point taken. –  Amadeo Gallardo Mar 7 '12 at 1:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.