0
votes
1answer
54 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
49 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 ...
0
votes
2answers
358 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
60 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: ...
0
votes
2answers
825 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, ...
1
vote
0answers
240 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
258 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: ...
0
votes
1answer
650 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": ...
4
votes
1answer
209 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. ...
2
votes
1answer
1k 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 ...
1
vote
2answers
191 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 ...
1
vote
1answer
404 views

ListData.svc with complex filters, Internet Explorer, 400 Bad HTTP request,

I have a problem understanding how ListData.svc can be debugged using IE8 and IE9. I have a URL that looks like this: ...
0
votes
1answer
2k views

Help with parameters, REST and listdata.svc

I'm calling listdata.svc a few times with different URL's depending in what is selected, I have some issues with the parameters/filters. First URL: var listUrl = siteUrl + ...
0
votes
3answers
3k views

REST service $filter Date column

Using the REST services, I'm trying to filter by the Created column, which is a Date data type. When trying to $filter on that column, I passed in the same date format that comes back in the JSON ...
4
votes
1answer
619 views

REST API Filter by multilookup property

Having an Activities list with a column called Engineer of type lookup that allow multiple values. How to build a call to listdata.svc in order to get only activities that are asigned to an Engineer ...
2
votes
0answers
243 views

Order field not available in a ListData.svc query

I want to query a links list using ListData.svc and have this ordered, using the query string $orderby, by Sharepoint's own internal order field. By internal order field I specifically mean the field ...
1
vote
2answers
680 views

Creating new items containing lookup field with listdata.svc and json

I'm calling listdata.svc with xmlhttprequest and POST to pass json. The new item is being created, but a new item is being created on the lookup list when I do, even though I am passing an existing ...
1
vote
0answers
301 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 ...
2
votes
1answer
824 views

REST: unable to retrieve lookup data from top level

At the top level of my site collection, I have created a list called "Markets", and a site column called "Market", defined as a lookup to the Markets list. In a subsite of this same site collection, ...
7
votes
3answers
2k views

How to avoid _metadata in a REST response (listData.svc)

I am pulling data from a SharePoint list with listData.svc, and _metadata represent more than half of the response content. Is there a way to return list fields only, without the metadata? Below an ...
3
votes
2answers
5k views

How to get lookup value only via REST (listdata.svc)

I am trying to retrieve a list of items including lookup fields via listdata.svc. My lookup points to a list of companies which has the following fields: Title, Address, Phone. By default, listdata ...