Questions tagged [listdata.svc]

The listdata.svc is a SharePoint OData webservice which can be used to work with any lists (including document libraries) and provides full CRUD support on the list items.

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
1k views

_api/web/lists/ vs. listdata.svc - or: hot to get Likes or Ratings?

Working with SharePoint 2013 onPremise here. And it is driving me nuts :-( i have a custom list with attachments and Likes enabled. And I want to retrieve both via REST - which seems impossible if I ...
2
votes
0answers
57 views

Use one ListData.svc reference to update multiple lists

Can you use one ListData.svc reference to update multiple lists even if the lists have different columns? Site A - Shared Documents Default columns Model Year Make Site B - Shared Documents ...
2
votes
0answers
956 views

ListData.svc: How to upload attachment?

How does one upload an attachment to a list item using JavaScript/HTL5 file upload API and the ListData.svc API? I know I can do this using managed CSOM but I want to understand the SP 2010 REST API ...
2
votes
0answers
57 views

ListData.svc appends the library title with 0?

It seems that if i create the following libraries on a Sharepoint site: Test Library 2 Test Library2 TestLibrary2 then the ListData.svc will return the following entitites: <collection href="...
1
vote
0answers
77 views

vti_bin authentication for a site collection/sub-site

I'm trying to retrieve data from a SharePoint 2010 list in SQL Server Integration Services using the OData connection but I am getting the error HTTP status 400: Bad Request in Visual Studio whilst ...
1
vote
0answers
1k views

REST Query based on Expanded columns in Choice field (Listdata.svc)

I have a SP2010 client side app making REST calls. I have a large list that I would like to make a filtered query using the value of a none or many choice field called 'displays'. I have no access to ...
1
vote
1answer
609 views

Datetime format when using $filter in ListData.svc

I'm using ListData.svc to retrieve items from a SharePoint 2013 calendar list. I have two jquery ui datepickers to select the date range. Values are read with the following: var s = moment(jQuery('....
1
vote
0answers
621 views

InfoPath using ListData.svc/somelist?$filter xxx return 500 Internal Server error

In my Case, In the InfoPath form ,the user click a button to get the data collection from listdata.svc. When I try connect http://testingsite/_vti_bin/listdata.svc . It works When I try connect ...
1
vote
0answers
404 views

Load full list XML into JavaScript variable via CEWP

Currently I am using the lists.asmx webservice to POST a soap envelope and return specific list items. I really want the whole contents of the list. I realize how large that might get, but if this ...
1
vote
0answers
339 views

Rules for Transforming List Column Names into XML Element Names

I am using the ListData.svc service to pull data from several lists. Many of the column names have punctuation and spaces, so their names are transformed as they're rendered as Atom in the ListData ...
0
votes
1answer
49 views

How to get the contents of the documents in Sharepoint 2010

I need to get the contents of the documents (.doc/.pdf) using rest api (Postman tool) which belongs to a sharepoint site. How to get the document contents?
0
votes
0answers
219 views

Some users are missing from `/_vti_bin/listdata.svc/UserInformationList?$filter=substringof`

In a medium sized sharepoint server farm I have about 3 separate domains that are in use. I often need to use Sharepoint web service to list a User's profile: /_vti_bin/listdata.svc/...
0
votes
1answer
160 views

Listdata.svc Environmental error

I have a query that works in UAT but when I run the same thing in Production, I get a 500 Internal error. The field that's breaking is 'ITProjectManager' which is of type 'Person or Group'. When I ...
0
votes
0answers
72 views

Generating dataContext cs file for sharepoint 2010 site collection

We have a service to run and return queries from a SharePoint 2010 site collection. At its core is a cs file that contains the DataContext info for the site, all the lists, etc. I want to re-use ...
0
votes
0answers
340 views

dataservicequeryexception is unhandled by usercode

var serviceUrl = "/_vti_bin/listdata.svc"; var context = new listservice.TestingEnvironmentDataContext(new Uri(serviceUrl)); context.Credentials = System.Net.CredentialCache.DefaultCredentials; var ...
0
votes
1answer
187 views

ListData.svc not getting managed metadata

I have written a C# agent that pulls data from SharePoint using the ListData.svc web method, parses the XML data, then puts it in SQL and it works great, however ListData.svc does not appear to expose ...
0
votes
2answers
798 views

Listdata.svc and $expand

Normally I would use jQuery to get data from listdata.svc like this: $.getJSON(listUrl, function (data) { $.each(data.d.results, function (i, result) { A ...
0
votes
0answers
1k views

InfoPath, Rest Service and https

I am having trouble adding a InfoPath data connection to the SharePoint web services in an extranet environment. It worked fine in the internal (non-https) test environment. "InfoPath could not open ...