I am currently trying to check out a file on our SharePoint server using the lists class that can be found at /sites/storage/_vti_bin/lists.asmx on any SharePoint server, as far as I know.

However, I need a function to find out the current status of a file, before actually performing a checkout. So how can I check if the file is already checked out using the Web Service Access as described here? https://msdn.microsoft.com/en-us/library/offic/bb862916%28v=office.12%29.aspx

1 Answer 1


You can use the CheckOutUser column to determine if the item is checked out. Using the List.asmx GetListItems you can pass this field into the viewFields xmlNode argument. If it is not null then the item is checked out.


  • Thanks, the question is, what argument do I have to pass to the list class to get exactly the file I want? I know the path of the file, so how do I need to construct my GUID(?) to be passed?
    – Erik
    Jun 23, 2015 at 6:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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