Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
40 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?
1
vote
0answers
57 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 ...
2
votes
1answer
405 views

SharePoint2010 /_vti_bin/listdata.svc

I was trying to mimic a search site via listdata.svc due to the incapability of OOTB Search Result webpart. Is there'a way to utilize KQL or any other way to allow users to search for a sentence? ...
0
votes
0answers
203 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
529 views

_vti_bin/listdata.svc unavailable for subsite

I am unable to connect to vti_bin/listdata.svc for a specific subsite, although it works for other subsites in the same site collection. I am a site collection administrator and I'm working from a ...
1
vote
0answers
991 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 ...
0
votes
1answer
130 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
71 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
2answers
568 views

SharePoint listdata.svc receiving Response for preflight is invalid (redirect) with ADAL token

I have an application that is hosted in Azure website which consumes information from within SharePoint. Microsoft has provided the ADAL.js library to allow interface with Azure Active Directory ...
2
votes
3answers
3k views

ListData.svc returns “An error occurred while processing this request” for some lists only

In SharePoint 2010 Service Pack 1, we are having trouble with ListData.svc. In most cases, it correctly returns data from a list. However, there are a few lists which don't work and instead return ...
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
56 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 ...
0
votes
1answer
254 views

Sudden loss of access to `/_vti_bin/ListData.svc`

Between yesterday and today, all my requests to the "ListData.svc" API thingy have gone broken. Every request results as an Error 500, and asks me to check the server logs (to which I do not have ...
0
votes
2answers
446 views

rest query orderby takes null as 0

I am making an ajax call to get the list data in SharePoint 2010 I am using orderby to sort based on a column http://PC:2010/site/_vti_bin/listdata.svc/listName?$select=ThumbnailImage,Created,...
1
vote
1answer
588 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('....
2
votes
1answer
4k views

REST API and User Information List Permissions and Breeze.js

Users who are not site collection admins can read from the User Information List without any issues when using http://server.domain.com/_vti_bin_/ListData.svc/UserInformationList but these users get a ...
0
votes
2answers
949 views

SharePoint 2010 RESTful API listdata.svc can't find list

I'm trying to use listdata.svc on a SP2010 list and I get "The website cannot display the page". It works on other lists in that same site and even on a duplicate of the list on another site, where I ...
1
vote
6answers
2k views

How to filter distinct/unique Records in SharePoint 2010?

I have a list with "Created by(person-default), Period(single line of text), Team(single line of text)...." fields. More than an entry is allowed per user. Now, I may have to find the list of ...
0
votes
0answers
339 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 ...
11
votes
2answers
24k views

What is difference between listdata.svc and clients.svc in SharePoint?

What is difference between listdata.svc and clients.svc in SharePoint? Both are webservices and can be used to fetch list items.. I have read that any serverside object model or clientside object ...
1
vote
2answers
1k views

Can we count the list items by group using Listdata.svc in SharePoint 2010?

I want to display a dashboard based on the SharePoint list items, can we get the items count by group using Listdata.svc? Could use the below query to get the count for a group .../_vti_bin/ListData....
1
vote
1answer
2k views

ListData.svc Returns 500 Internal Server Error - “Arithmetic overflow error…”

I'm having issues with some CAML deployed list instances. After deploying the lists, they do not appear in SharePoint Designer. Likewise, when attempting to connect to (almost all of) them, either a ...
0
votes
1answer
2k views

get all attachment files using ListData.svc

I am trying to get all attachments in a custom list that has been attacht to the all items. I have used /_vti_bin/listdata.svc/MyList/attachmentFiles but it returns the request URI is not valid. How ...
0
votes
1answer
504 views

Get all documents in a Document library using SharePoint 2010 services and Javascript

I am trying to retrieve all documents in a document library using SharePoint 2010 Services (Listdata.svc or lists.asmx) and JavaScript. I have searched on Internet and found some, none of them gets ...
1
vote
2answers
908 views

MultiChoice doesn't show up in REST service Content Types

I've added a multichoice column to a content type, and when I call listdata.svc and look inside of the content types and find the one I want, the multichoice column isn't there. When I change the ...
1
vote
2answers
398 views

How to read lookup multi columns with the Sharepoint Listdata Client Object Model?

I have a list with a couple of multivalued lookupcolumns. When I try to do something with these fields the count is 0 even though I assigned it a couple of values. Below is a snippet of my code: (I ...
1
vote
0answers
610 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 ...
0
votes
1answer
45 views

Need clarity about ListData type

I'm new into Sharepoint development. I'm looking into a previously written console program that updates a list from a Sap database. I've found this line of code where in I'm not able to find any ...
1
vote
3answers
11k views

REST filter=startswith not working when filtering using Id field

When filtering a text column like in built Title field using startswith, proper results are returned. Example: http://aissp2013:111/_vti_bin/ListData.svc/ChangeRules()?$filter=startswith(Title,'Ti') ...
0
votes
1answer
471 views

Getting extra information with REST API call

So I'm trying to get TeamCalendar information out of Sharepoint in a single call, but I can't get the Attendees out. This is my code: $.ajax({ url: "/sites/ecengprodsoft/mt/_vti_bin/listdata.svc/...
1
vote
1answer
2k views

Updating Choice Person/Group columns using listData.svc in SharePoint 2010

I am trying to use JQuery and the listData.svc to update a list that has a choice column. I am using Postman to generate my http requests, can someone please show me examples of how to update choice ...
1
vote
2answers
936 views

Site collection REST API

I would like to know how to access a list of sites with the ListData.svc REST API. Thanks.
2
votes
2answers
495 views

In jquery rest result for person object as a [object Object]

Would it be possible to get a Person or Group type as a string rather than and [object Object], I am handling everything within the front-end with REST calls to listdata.svc URL's. CODE // DISPLAY //...
0
votes
1answer
186 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
792 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 ...
1
vote
3answers
871 views

Discrepent Column Names in UserInformationList

I have found a strange difference between our production and dev servers in the UserInformationLists. In dev the name property is called Name but on the production instance it's Title. Then the job ...
4
votes
2answers
4k views

SharePoint 2010 REST field names capitalization rules

I have a column called "myColumn". When working with that column in SharePoint REST services I must use "MyColumn" instead (note the capitalized leading 'M'). Likewise, if my column name has spaces, ...
5
votes
6answers
5k views

Folder creation in Document library using listdata.svc

Do you have any tips how can I create a new folder in a document library using listdata.svc (OData REST interface of SharePoint 2010) from JavaScript? SP creates a new file instead of a folder. I can ...
2
votes
0answers
947 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 ...
0
votes
1answer
523 views

sharepoint 2010 rest api javascript error: 5009 sys is undefined

I am running into something that I haven't really seen before, and I have been using this approach quite a bit lately for a variety of pages. SharePoint 2010 javascript using REST API to grab data: ...
3
votes
1answer
2k views

Updating a multiselect field via REST API 2010

Can you update a mulivalue choice field via REST API in SharePoint 2010? If I perform a simple GET I receive: { "d": { "__metadata": { "uri": "http://dev.domain/sites/plm/...
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="...
0
votes
1answer
189 views

SharePoint web services and a multilanguage environment

I cam writing a console application that connects to a SharePoint 2010 server and manipulates data using listdata.svc. For example, I look for the 'Announcements' list and edit the 'Title' field. I ...
7
votes
2answers
2k views

Query ListData.svc to return document libraries only

I am working on a very simple app on iOS that should basically allow the user to login (got that part working), then list only document libraries and allow user to navigate these and download files. ...
1
vote
2answers
3k views

ListData.svc gives a 500 error when querying some lists

I'm trying to use ListData.svc to retrieve details from a SharePoint list, but I get the following error: Error Message: Cannot connect to the specified feed. Verify the connection and try again....
3
votes
1answer
3k views

REST API update a muli-value user field

I have created a custom list and added a multi-value user field (no groups) called AssignedTo to the list's definition. Using the SharePoint interface I added an item with a value for Title and ...
2
votes
2answers
763 views

ListData.svc and Task Approval

How can I approve a workflow task using the ListData.svc? I am attempting to just set the value of ApprovalValue to "Approved" but this is not working at all. Any help you can give will probably save ...
1
vote
2answers
574 views

ListData.svc REST and URL Encoding of Field 'Parts Released?'

I have a field with the display name Parts Released? but I cannot seem to figure out how to encode the field name. I have tried Parts Released%3f but regardless of what I try I get a 400 Bad Request ...
0
votes
1answer
598 views

DataJS to Read from ListData.svc not Returning All Fields

I am attempting to use Data.js to read from the ListData.svc but the service is not returning all of the fields that I want. Is there a way that I can specify the view fields or something? The fields ...
2
votes
1answer
845 views

anonymous access and listdata.svc

We are trying to use an ajax call to get list data for an anonymous site. We are using this on our intranet site and it works well. We build an html file that calls the list service (via ajax) and we ...