I'm querying SharePoint 2010 SOAP services using GetListItems
. My understanding is that the URL for each item should be ows_EncodedAbsUrl
. For regular lists of baseType=0
, the URLs that come back look like this:
https://my.host.com/sites/My-Site/Lists/Interviews/272_.000
The problem is that this URL results in a HTTP 404 not found by the SharePoint server. So essentially, SharePoint is reporting a URL for an item that doesn't exist.
For document libraries (baseType=1
) this does not appear to be an issue; the ows_EncodedAbsURL
that comes back points straight to the file download, which is fine. For regular lists, it seems apparent the URL is referencing the right list and the right ID, but I don't have an explanation for the trailing _.000
part of the URL or why SharePoint would report a URL that goes nowhere.
What's the recommended way via CAMLQuery to get SharePoint to report a correct URL for a generic list item?