Tag Info

Hot answers tagged

6

If you have administrative rights, it is possible to override the check-out via the View All Site Content page: Site Actions View All Site Content Pages Hover the item you want to check out, and from the context-menu (arrow-down next to the filename), choose "Discard Check Out" It is also possible to perform this routine through SharePoint Designer. ...


6

Depending on what you are trying to do there are a few approaches to this: -- Use the Manage Content and Structure Reports as per http://blogs.syrinx.com/blogs/sharepoint/archive/2008/04/14/content-and-structure-reports-just-a-caml-ride-away.aspx but this is fairly limited as it doesn't let you specify who checked out the document and on which site. -- Use ...


5

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);


5

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 ...


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

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 ...


5

1) You can replace the icon "CheckOutToOverlay.gif". You find it under \14\TEMPLATE\IMAGES. If you want to do it "right" you probably need to write code that replaces the icon on every server. But it should work by replacing it manually -until an update/service pack overwrites you changes. 2) You can change the association to the icons via 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

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

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) { ...


3

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 ...


3

Solution ASP.net Ajax 1.0 web.config settings messed up check out. Particularly this line in httpHandlers section: <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> After removing this line it ...


3

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 ...


2

I have seen this happen when you have some Office 2007 products installed along with some Office 2003 products. This may or may not be your issue, but I have seen it fairly frequently. There is a KB article on it from Microsoft, along with a hotfix that must be run on the machine experiencing the issue: http://support.microsoft.com/kb/938888. Without ...


2

This could be a client issues. Try the following if the SP does not work. Run the Microsoft Office Diagnostic Tool, which is part you the Office installation on a client. This will look for and correct any errors in your Office installation. When the diagnostic tool is finished try to check out and edit a document. The David Klein's blog entry for ...


2

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 ...


2

Check the Level property of the SPFile object. It's a SPFileLevel enumeration with these possible values:Published, Draft, Checkout


2

In addition to what James said. You may want to test out this scenario. You are editing a document, someone else downloads the document instead of opening it straight from SharePoint makes changes and then uploads back up. I havent tried this specifically but it could in theory overwrite what you were working on. If we are talking Office 2010 and ...


2

Having a 'checked out' flag is useful when you have another application that will use or otherwise look at the document library. Also, that popup you get when someone's locked the file for editing? That's MS Office specific. You can't do this with text files. If you want to lock down any format that's not office to prevent save conflicts, you gotta use ...


2

You would need to enable versioning & content approval, via List/Library Settings. As soon as that is done you see in the bottom 2 more options: To decide Draft visibility - make sure you choose the one stating "Only users who can Approve items (and the author of the item)" !!!ONLY on Document Libraries!! - Option "Require Documents to be checked out ...


1

MS recommends waiting 10 mins or rebooting the server. http://support.microsoft.com/kb/899709/en-us Sometimes (mostly) that won't work so try out this code. http://www.codeproject.com/Articles/93965/Force-SharePoint-Document-Unlocked-Checked-In


1

My issue was as per this post: "I was editing the page under 2 different accounts". When I accessed the page as the SharePoint install account, I was able to edit the page (as this was the user I used to edit the page). Obviously this shouldn't cause this bug, but it must be related to a SharePoint 2010 upgrade and staying in the old visual styles.


1

Versioning itself is controlled on the Document Library so as long as that is enabled it will enforce those requirements. However, getting those files into SharePoint will most likely require manually replacing them and checking them in and out via the UI. One option that sometimes works is to map a drive to a SharePoint folder and then save updates to ...


1

I had write down the script to get the checkout file by user name here is the script : function Get-CheckedOutFiles() { [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint") $webapp = [Microsoft.SharePoint.Administration.SPWebApplication]::Lookup("http://moss") foreach ($site in $webapp.Sites) { Write-Host "Processing Site: ...


1

Have you tried updating SharePoint with the recent cumulative update released on October 2011? I hope this was a buggy situation in SharePoint ribbon control posted in earlier msdn forum posts- http://social.msdn.microsoft.com/Forums/en-NZ/sharepoint2010general/thread/669d5842-1bbb-4a34-ad90-5d9d222569af. Do not forget to run the configuration wizard after ...


1

I had the same issue and is fixed by running Microsoft Office Diagnostics (Click on the left button (windows icon) on word document and select word options and then click "Run Microsoft Office Diagnostics" , it should ask for "Office64MUISet.MSI" file. It should be some where in the system and locate it and store in a folder so that, you can point the ...


1

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 ...


1

There isn't checkout on SharePoint lists (there is on document libraries) - SharePoint uses optimistic concurrency rather than pessimistic concurrency - e.g. User A opens up edit form and starts editing User B opens up ... User A saves User B clicks save but SP warns them that the data has changed since they started editing and will make the user B view ...


1

You might be better off looking at the file locking mechanism built into SharePoint, particularly if your files are MS Office files. http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfile.lock.aspx If you obtain a lock on a file before you start your processing, then you can be sure that another user will not be able to edit that file. ...


1

SharePoint 2010 provides office integration (SharePoint designer is one of the office application).This feature helps to manage(check-in, publish etc) files straight from the office application itself. Other applications apart from office may not provide this functionality,so you may need to manually save and check-in your file changes. This feature can be ...



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