Is there any MOSS out of the box web service which takes the URL of a SharePoint site and tells us if that URL is pointing to a file (document)? For example, we have a list of SharePoint URLs and we need to find out which URLs are pointing to a file and not a document library or a list?
R – Find out if a SharePoint URL is a file or not – MOSS out of the box web service
mosssharepoint
Related Topic
- R – Permission for a SharePoint document using MOSS web services
- Find out the URL for the document library of a SharePoint document
- R – MOSS web service to find out if a user has access to a document library
- R – SharePoint UserGroup Web Service – Retrieve users (nested sub-groups)
- Retrieve the name of SharePoint Document Library name using Document Library URL
Best Answer
I would seriously consider going with propfind (webdav). I can't give you an exact answer on how to check for file or document library or list, but I can post a function that can serve as a base for something you might implement... here it is....