Tag Info

New answers tagged

2

Issue got resolved after updating the SQL 2012 Server(PowerPivot) version to SP1 and changing the account for SQL Server Analysis Services (PowerPivot) to Local System account. Also, the service account used for the Excel Services Application needs to be set as an Analysis Services administrator. MSDN reference link


0

The ajax call was correct, the error was because of my SharePoint field type:text, changed it to number, now it works.


0

Check if you can see the list with a basic get request with something like: $.getJSON("_spPageContextInfo.webAbsoluteUrl + "/_vti_bin/listdata.svc/PollUserData", function(data) { console.log(data) }); Which will log the contents to your browser dev tools console. Once you get that figured out.... You're also not passing the request digest in your ...


1

What you have seems to work just fine for me with a similar list (using AssignedTo field with multiple selections, filter on a list criterea, and use of $Top) Something to remember, is that when you have a field that allows multiple selections, your JSON result object for that field is actually an array, even if it only contains one object. So in your code ...


1

Since AssignedTo is a multi-user field, you'd receive an array. You can then loop into the array and receive specific properties such as title or id. Make sure the properties are in the $select. See the example below: var call = $.ajax({ async: false, url: _spPageContextInfo.webAbsoluteUrl + "/_api/Web/Lists/GetByTitle('Tasks')/items" + ...


1

It looks like you are missing WCF Data Services 5.0 for OData V3. Install it from here and reset IIS (may have to restart your machine): http://www.microsoft.com/en-us/download/details.aspx?id=29306 I have seen this happening on dev machines having both Visual Studio 2012 and 2013 running side-by-side, and then uninstalling VS 2012 and related components.



Top 50 recent answers are included