JavaScript Object Notation, is an open standard format that uses human-readable text to transmit data objects consisting of attribute–value pairs. It is used primarily to transmit data between a server and web application, as an alternative to XML.

learn more… | top users | synonyms

0
votes
0answers
12 views

Very lost with ASP.NET program trying to generate chart.js charts [on hold]

I'm a young developer who was given the task to create a dashboard using some data from a company's database. I've never been exposed to C#/ASP.NET and I have very little experience doing real world ...
0
votes
1answer
23 views

REST call “d/results” vs “value”

Can anyone explain why is it that when I make a REST call to retrieve items from a custom list, sometimes the items array is grouped under "d/results" path and sometimes "value" path. The results are ...
1
vote
2answers
32 views

How can I populate a dropdown with a SP list?

I have a SP List with data that I need to be in a dropdown list. I also need these to have specific classes. I'm trying something like the following but having no luck: $().SPServices({ ...
1
vote
3answers
67 views

Tool to inspect json data returned from REST API call to Sharepoint online/Office365 Sites

What tool should I be using to inspect the JSON data returned as a result of making a rest api call to the sharepoint online or Office365 site. The browsers return xml and I am having issues using ...
0
votes
0answers
28 views

Filtering a lookup field based on the value of a choice field in the child list - rest query?

This is for SharePoint Online. I've used some code available out there to create a cascade dropdown field (using a rest query and JSON) but that involves the child list having a lookup field to ...
1
vote
1answer
42 views

Retrieve the Item ID from the Task List Related Item column

Using JSOM, I getting all the task details which are not started. Using CAML query i got all the column values including related item column from Task list var relateditm = $(this).attr("...
0
votes
1answer
59 views

How can I add all contents of a dynamic html table to a SharePoint list?

So my table is 1 row where rows can be added, although it does not have unique id's for each row. I'd imagine this is the issue. $('#submitdata').click(function(){ var table = document....
0
votes
1answer
26 views

Why is ID is not defined POSTing to Sharepoint 2013 list?

My script: I have got a list that I want to populate with a HTML form. I'm using the following but I keep getting ID is not defined in google debugger. <script> $('#submitdata').click(...
0
votes
1answer
30 views

Why can't my value pass through JSON to SHarepoint list?

With the follwing code, I am trying to update a list. Title succesfully passes but PerOrBus does not. <script> $('#submitdata').click(function(){ var itemProperties = { '...
0
votes
1answer
12 views

How can I resolve “___” is not defined when importing form into list?

My Code: <script> $('#submitdata').click(function(){ var itemProperties = { '__metadata': { "type": "SP.List" }, "Title": FirstName }; $.ajax({ ...
0
votes
0answers
22 views

Why is ListName is not defined when i'm trying to use JSON / AJAX to post to a table?

The Chrome debugger error: {"error":{"code":"-1, System.ArgumentException","message":{"lang":"en-US","value":"List ' ChangeOfAddressListList' does not exist at site with URL '_______/sites/mySite'....
0
votes
0answers
19 views

Infopath and JSON results in Dictionary builder for Sharepoint workflow 2013

I've been using the Build Dictionary action in SP13 workflows for a while now and it's working wonders. However, when I used it against a list that uses an Infopath-based form, I couldn't get any ...
0
votes
1answer
40 views

How can I loop through a json result by substituting field/column names with a variable

How can I loop through a json result by substituting column names for a variable End result: I'm building a table from a list (~25 columns). I want to attach custom classes to each cell based on the ...
0
votes
1answer
25 views

REST API return encoded Multiline Textfield but show it correctly

I save a JSON string in my SharePoint list. This looks like: {"columns":[{"name":"A","visible":true,"width":200,"sort":{},"filters":[{}],"pinned":"left"},{"name":"B","visible":false,"width":150,"sort"...
0
votes
0answers
16 views

Security exception when trying to use JavaScriptSerializer

I am trying to use the JavaScriptSerializer class in an event receiver which is part of a sandbox solution. When trying to use the class, I get a System.MethodAccessException with the following ...
0
votes
1answer
49 views

Retrieving List<T> collection from a REST method within a SharePoint 2013 Workflow

Here is the deal.. I have a REST method that returns Generic.List<DTOSupervisor> which has to be retrieved by using a HTTP Send and GetDynamicValueProperties components. My REST method ...
0
votes
1answer
48 views

Problem reading list items from a custom SP list in a workflow

I don't see any workflow 2013 action that would let me readily retrieve items from a custom list in a SP online team site. Therefore I have to rely on REST/_API calls as discussed in this article. ...
1
vote
1answer
53 views

Send JSON Payload in RequestContent of HttpSend with POST in SharePoint 2013 Workflow in Visual Studio

I have a SharePoint 2013 Workflow in Visual Studio. I need to call an external Web API using POST and send some JSON payload. I couldn't find any proper documentation to achieve it. Can anyone please ...
0
votes
0answers
25 views

Search Results Beginning with Lowercase Characters Appear Last

I have files that begin with a lowercase letter (ie: iBook) and they appear at the bottom of my search results. If I change the Sort Order (JSON) then they appear first. These files should appear in ...
3
votes
3answers
34 views

Changing created through REST

I was having a hard time getting my list items to POST back to the SharePoint list when I discovered if I delete the Modified and Created properties from the JSON it would work. The JSON that is being ...
0
votes
1answer
91 views

PowerBI in Sharepoint 2013

Has anybody of you experience with integrating PowerBI Dashboards/Tiles into SharePoint ? For my case I am searching a solution, where I can get Dashboards/Tiles via JSON File. Iframe is not a ...
0
votes
0answers
16 views

Read items from App list

I have SharePoint (O365) "HostSite" with "AnApp" and "SomeSubsite". "AnApp" has "AppList". I need on "SomeSubsite" HomePage view some item fields from "AppList". Any working example? I found only ...
0
votes
1answer
42 views

Building a To-Do List with jQuery and Local Storage

Hi i am working on a project to do task list where every thing work fine but i am not able to store data in list in following link data is store in var data = JSON.parse(localStorage.getItem("...
1
vote
0answers
55 views

Read user field via Javascript/REST: Some users are NULL

I have a simple list with a simple user field. I can assign users, save the item and everything was working fine... ...until I tried to access the list via REST call within a Javascript. Some of the ...
0
votes
1answer
32 views

WF gets canceled status while WS call

I’ m trying to call HTTP WS from WF. Unfortunately, it gets canceled every time and I can’t understand a reason. In a browser service works fine. Would you mind telling me what’s wrong? WS source ...
0
votes
1answer
30 views

Sharepoint don't get JSON with IE9

I have a small AngularJS Application in SharePoint 2013, where I get a JSON File from an asmx WS to show. The Application runs fine, except with IE9 on SharePoint. All other Browser don't have any ...
3
votes
1answer
43 views

Combine SharePoint Lists in a different SharePoint Site

I have a task to create a SharePoint List that is a combination of 2 lists present on another SharePoint site. There is no admin access to this site. Is is possible to get it and manipulate it? ...
2
votes
1answer
240 views

JSon REST API. Retrieving items in lists. Workflows

Using this: http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=224 I was able to make a workflow that loops through lists. Now I understand adding ?$top=5000 at the end of my URL I can pull more ...
2
votes
0answers
24 views

Hybrid mobile SP2013 client

I already have a native iOS app that uses SP rest api without issues. My plan is to port this app into a hybrid one and make it cross platform using Cordova. Basically I want to mimic the native ...
0
votes
2answers
124 views

SharePoint 2013. App Part - Access Denied

I am working with SharePoint 2013 and I developed some app parts to show information in our intranet. These app parts get data from WEB API using jQuery, It works fine in Chrome, Firefox, but in ...
1
vote
0answers
113 views

Sharepoint 2013 Hosted App. Access-Control-Allow-Origin - Access Denied

I am working with SharePoint 2013 and I developed some app parts to show information in our intranet. These app parts get data from WEB API using jQuery, It works fine in Chrome, Firefox, but in ...
0
votes
0answers
72 views

SharePoint Workflow 2013 Get Item From Nested Dictionary

I have a sharepoint workflow dictionary in which I have following data: Userlist: [{"Id":3,"Value":"Tim Meier"},{"Id":2,"Value":"Hans Müller"}] This is what I get when I run the log and choose ...
0
votes
0answers
35 views

Sharepoint Online Update ReadOnlyField via JSON Fiddler

I am trying to update the readonlyfield to false of the created by column in sharepoint online. The URL directs to the field and displays the following <?xml version="1.0" encoding="utf-8" ?&...
0
votes
0answers
32 views

Increase Length of Stream Data from Client to Sharepoint Custom List

I am trying to update a column in a SharePoint 2013 Custom list but I am getting this error The maximum number of bytes allowed to be read from the stream has been exceeded. After the last read ...
3
votes
2answers
203 views

Character escaping in CAML query (REST call)

I use JS to create a CAML query. When it is generated, it looks like this: @v1 = {"ViewXml":"<View Scope='RecursiveAll'><ViewFields><FieldRef Name='ID'/><FieldRef Name='Title'/&...
0
votes
2answers
249 views

How to elevate permission in JSOM code to access SharePoint list?

How to elevate permission in JSOM code to get permission to do Add/Edit/Update operation on SharePoint list? (similar to RunWithElevatedPriviledges in SSOM). If elevation is not possible then my ...
0
votes
0answers
93 views

REST api getting custom user profile property

I'm creating a workflow, using VS 2013, that needs to get a user profile with some custom properties. I used REST to try and get the custom properties but according to msdn (https://msdn.microsoft.com/...
0
votes
1answer
73 views

Reading JSON result

I have the JSON response below d: { __metadata: {...}- Items: { __metadata: { type: "Collection(SP.Taxonomy.TaxonomyFieldValue)" }- results: [1] 0: { ...
0
votes
1answer
117 views

How can I get user information from user ID?

I am writing a very small C# console app and I am making an HttpWebRequest to get the list items in a task log and send a daily summary email to everyone with something 'assigned to' them, showing ...
2
votes
1answer
340 views

Use filtered URL in Ajax call to return JSON data

Currently I am working on sort of a JavaScript function library for all things SharePoint to pass around to some of the SP developers at my work. The idea is to just take some simple features I see ...
0
votes
1answer
72 views

REST Call to get DefaultNewFormUrl

I am trying to make a call to the REST service in Javascript to collect the 'DefaultNewFormUrl' for a specific list. The property is "not returned with the resource" so I need to make a separate call ...
1
vote
2answers
436 views

Set Managed Metadata Values via REST

I am able to query and get an array of all my term names and guids within a Term Set, but now I want to be able to set these via REST. When I look at the structure in JSON the section with my Managed ...
-1
votes
1answer
47 views

Get the proxy authentication once we click on a specific page

SharePoint 2013 request: we need to display the proxy authentication window once we click on a specific page link "/index.aspx" .... it can be done using JavaScript ???
0
votes
0answers
119 views

Retrieve data from listdata.svc of an FBA site using jquery

I am trying to retrieve data from listdata.svc of an FBA site using jQuery but no success. Here is my code: <script> $(document).ready(function() { //use the getJSON mehtod of ...
1
vote
2answers
124 views

Sharepoint 2010 Blog - Order rest query by Category

I've created a blog on Sharepoint 2010 and want to query the list via REST for reporting. I want to order the list by the default field Category (internal name PostCategory). Unfortunately, this is a ...
0
votes
0answers
127 views

Javascript calls C# code and parser error

I am trying to get my javascript to call some C# code that I have added to my Sharepoint site. Unfortunately every time it runs, I'm not getting the "Success" i had programmed in. Instead I get this: ...
0
votes
1answer
83 views

How to combine 2 calenders from 2 different sharepoint online sites?

I've received the assignement to combine 2 calenders from 2 different sharepointonline sites. From what i researched, this is not possible with the out of the box overlay solution SharePoint has to ...
0
votes
3answers
381 views

Problems while Accessing SharePoint List items in SharePoint 2013 using REST API in NAPA tool

I am trying to access the list item using an APP in my office 365 share point hosted trial environment.It seems like the call REST call is failing, the alert in error function is getting executed. ...
1
vote
2answers
6k views

Getting an ItemCount with filtering in SP2013 using REST api

I am attempting to return an integer (itemcount) of the items within a SP2013 list. I have done this easily using the stock standard json method. However I have a need of counting the splist items ...
1
vote
1answer
457 views

Could not load file or assembly Newtonsoft.Json or one of its dependencies. The system cannot find the file specified

I am using Newtonsoft.Json assembly for Deserializing Json response. Solution builds fine, deploys fine. But when the json response is to be deserialized, I get "Could not load file or assembly '...