11

I ended up finding my answer on the Microsoft Support pages. It turns out if the user selected "Edit in [client application name]" to edit the document then after they check it in there is a 10 minute delay before the write lock on the document is released. Below is a link to the support page where I found my answer. http://support.microsoft.com/kb/899709


7

try to use this query: SPQuery q = new SPQuery(); q.ViewAttributes = "Scope=\"Recursive\"" q.Query = "<Where><Geq><FieldRef Name='CheckoutUser' LookupId='TRUE'/><Value Type='int'>0</Value></Geq></Where>"; var pages = pagesList.GetItems(q);


7

SP.File.checkOutType property gets a value that indicates how the file is checked out of a document library Get file checkout type via REST $.ajax({url: "/_api/web/getFileByServerRelativeUrl('" + pageUrl + "')/checkOutType", headers: { "Accept": "application/json; odata=verbose" }, success: function(data) { if(data.d....


7

You could use REST and the CheckOut method. Altered from MSDN for jQuery and non-app approach: $.ajax({ type: 'POST', url: "/_api/Web/GetFileByServerRelativeUrl('<your file>')/checkout", headers: { 'X-RequestDigest': $('#__REQUESTDIGEST').val() } });


6

Use SharePoint Designer and follow these steps: Connect to SharePoint site in SharePoint designer. On the left pane click All Files. Then on the list select "Style Library". Select the CSS file you want to edit and then click "Edit file". If check out is required it will do it for you after your confirmation. Make your changes, save the file, and don't ...


5

SharePoint document libraries III: Work with version history at the office website says no. The first link is for SharePoint 2007 where it's easy to find, but if you want it confirmed for SharePoint 2010 then it's also mentioned in the description for the selection "Keep the following number of major versions" in Enable and configure versioning for a ...


5

You can use the Client Object Model to get a reference to the file and then use the checkOutType property to see if it has been checked out. SP.File.checkOutType property


5

They're both working, thanks! I've found another way, a little faster because it doesn't need to call the server back again, but it can only to determine if the file is checked out by the current user, not by a generic user. I've found a way to achieve this, tested on Sharepoint 2013. Just add the following script inside a script webpart after putting ...


5

Check-in/ Check-out is only available for document libraries. The physical check in/out process is done on the SPFile (document) and not the list item. List items can be tracked using versioning. sharepoint does not allow entry of values concurrently, meaning if you are modyfying list item 1 and user 2 also trys to do it, only after user 1 changes are ...


5

This may be caused by the enabled "Require content approval" setting of the library and/or required fields not being populated while uploading via WebDAV (aka Explorer View or UNC network drive mapped to the document library). Until the required fields are filled appropriately, SharePoint considers such uploads drafts not worthy of bothering anyone except ...


5

You can use below PowerShell command to set Require Check Out feature on each document library on all sites foreach ($web in (Get-SPSite -Limit All | Get-SPWeb -Limit All)) { Write-Host “Processing Web: $($web.Url)…” foreach ($list in ($web.Lists | ? {$_ -is [Microsoft.SharePoint.SPDocumentLibrary]})) { $...


5

You can easily identify if a document is checked out based on the green arrow icon To see who it is checked out to, you can do a couple things: Add the "Checked Out to" column to your library. If a document is checked out, it will display the username in this column If you hover over the green arrow icon, the tooltip will display the username of who the ...


5

The site collection is not checked out. It is not possible to check out a site collection. What has happened is that the file Home.aspx in the SitePages library is checked out. Anyone with contribute permissions are allowed to do this. You got two options two limit other users to be able to do this: Change their permissions from contribute to read on the ...


4

Have you actually tried it yet? Log in as a normal user. Edit a page. Save it, but don't check it in. Log in as an admin, check the page in. See if the changes the user made are there. My suspicions tell me that they will be there, as an administrator can always see the most recent version of a document, major or minor. The only thing is that the 'last ...


4

NO-Code: Try building a view that ignores Folders and filters out by the CheckOut To column not being NULL - this means actually the document is checkout.


4

Another, non code way to get a list of all checked out items, is the following. This is a neat small tool for your content editors, too. go to http://website/Reports%20List/AllItems.aspx Add new item. At the same query as above (0) go to the sitemanager http:///_layouts/sitemanager.aspx Select your library with publishing pages in it. Select in "View" the ...


4

One possible cause: If a file has never been checked in before, no accounts can access it except the one responsible for adding it. This usually happens when files are uploaded without all the required fields being filled out (most commonly this is the result of using Explorer View to drop files into the library). One easy solution is to run a recursive ...


4

I can suggest 3 ways to achieve this: First 2 are REST and Javascript: You could use SP.File.checkOutType property to determine whether document is checked out of a document library REST $.ajax({url: "/_api/web/getFileByServerRelativeUrl('" + docUrl + "')/checkOutType", headers: { "Accept": "application/json; odata=verbose" }, success: ...


4

You can easily do it with PowerShell script.It is having attribute $list.ForceCheckout = $true for more reference you can refer this Change SharePoint list settings using PowerShell - Part 1: General and Versioning Please let me know if it help you. Thanks


3

You might want to try: From the document library > Settings > Document Library settings > Manage checked out files


3

The answer provided by SharePoint Dude only applies to files with no checked in version. It's accessible through the Library Settings page in the browser UI. But James Love and Ashish Patel are right - as an admin, if you find a file and choose 'check in' the user's changes will be preserved. (Tested using SP 2010.) Sharepoint asks you to confirm if you ...


3

There is an out of the box way of doing this - Navigate to /_layouts/ManageCheckedOutFiles.aspx?List=ListGUID and take ownership for the Checked out files and check in


3

Did you check this msdn post. It basically says to check - The Require documents to be checked out before they can be edited setting on the Document Library. Select 'Yes' to have the prompt appear. This affects both Word 2003 and Word 2007 Offline Editing settings in Word 2007 Word 2007: Office button > Word Options Save See the Offline editing ...


3

Thank you very much for this post. It was exactly what I was looking for. I imagine you left the CheckIn as an exercise for your readers? Here is my proposal (Bourne shell type, avoiding the intermediate file): cat <<EoSOAP | <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:...


3

One of the core functions of sharepoint's document libraries is just that! Store the Templates in the Forms folder within the library, allow multiple content types, and associate the templates to various content types. Here's some links to get you started. Welcome to sharepoint! http://office.microsoft.com/en-us/windows-sharepoint-services-help/set-up-a-...


3

Go to the Document library. Select Library tab from the ribbon. Check if individual checkboxes are present in each row. If not, click on Modify View in the ribbon and check "Allow individual item checkboxes" in Tabular View section and click on OK. Now Select the check box next to the file icon for each file you want to check in, check out, or discard. ...


3

It's not that users cannot see files that are checked out, it's that users cannot see files that have never been checked in. Once the initial checkin has happened it is visible to all users, even if it's subsequently checked out.


3

Your getting confused with the terms. Check in and out is not upload and download! when the file within any document library that is checked in than its locked to all users. You cant make any ammendments to the file and its in public view. At this point if you have the right access you can check out the file. When you check out there is now a lock in ...


3

Whether or not Checkout is required has to be activate/de-activate on the list itself. It's not possible to do that on each individual file or folder. I would recommend to move such files to a specific library that does not use mandatory check-out (but still uses versioning).


3

Here you go: # enter your site URL $spWeb = Get-SPWeb "http://sp2013" $listName = "Your List Title" function GetCheckedItems($spWeb) { $list = $spWeb.Lists[$listName] Write-Host "Scanning List: $($list.RootFolder.ServerRelativeUrl)" foreach ($item in $list.CheckedOutFiles) { if (!$item.Url.EndsWith(".aspx")) { continue } $...


Only top voted, non community-wiki answers of a minimum length are eligible