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


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

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

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


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


3

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


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


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

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


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

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


2

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


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

I figured out what was wrong. The date string was actually in PST, not GMT; I needed to convert it to the correct GMT using the following code: public static string convertToGMT(DateTime dt) { TimeZoneInfo pst = TimeZoneInfo.FindSystemTimeZoneById("Pacific Standard Time"); DateTime utc_dt=TimeZoneInfo.ConvertTimeToUtc(dt, ...


1

After migrating a WSS 3.0 environment to SharePoint 2010 for a client, I was faced with this same issue. After digging around on TechNet and on here, I came to find this TechNet article: "This document could not be checked out." SharePoint 2010 checkout action using IE8 This is not actually isolated to IE8 (I validated this by testing). I rectified this ...


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

In the office 2010 applications check out will be forced after a document has been opened (not with the standard dialog after clicking a document in a document library). There is a yellow bar under the ribbon which says "check out required". Not sure what the behavior is with older office versions and non-office documents/apps.


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

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


1

You could create a Console Application in Visual Studio that queries the document libraries for items where the Checked Out To column is not NULL. Then email the users in question with the list of documents they still have checked out. You could then have the Console Application set to run on the SharePoint Server (as a Windows Scheduled Task) every 15, ...


1

Try to use SPContext.Current.Web.CurrentUser.ID with Type='User' LinkFilename has 'Computed' type. For details: MSDN forums discussion: Not able to search list using LinkFileName


1

There is an option in List Advanced Settings to require check-out to edit a document. This would solve the problem of the user forgetting. I am not sure you can check-out the document once it is open but it can be done a few ways: sandbox code-behind in the InfoPath form the Lists.ASMX web service



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