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
1answer
36 views

HTML data to SharePoint list [on hold]

I have an aspx page with JS parser which parse JSON to HTML. Can I get parsed information and load it to SharePoint list?
0
votes
0answers
18 views

Display Google Analytics using API on Sharepoint Site

I'm wanting to display Google Analytics on my Sharepoint site, which acts as an internal intranet. THIS POST HERE seems to have a solution but I don't quite get it - I'm hoping for a dummies guide ...
2
votes
1answer
238 views

Get value from JSON from SharePoint REST [closed]

If I use below line, I get output='1'. data.d.results[i].ID; But instead of giving hardcoded ID, Is there any way to pass by variable? I already tried like: var array=["ID","Title"]; data.d....
1
vote
1answer
71 views

Choice field values returning as string with “\n”. How to get collection?

While parsing data returned from REST, the Choice field values are returning as Edm.string with "\n". I want the results in collection(Edm.string). Current result : {"__metadata": {"type":"...
1
vote
0answers
17 views

SharePoint Designer 2013 Send e-mail with specified FROM address

I tried to recreate a workflow in SPD2013 following advice there link It was Call HTTP Web service action that recreates JSON code. When I run this site workflow, I don't get any e-mails. I traced the ...
0
votes
1answer
34 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
33 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
105 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
36 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
56 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
73 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
33 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
49 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
25 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
24 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
55 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
41 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
17 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
51 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
52 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
65 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
30 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
102 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
51 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
56 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
33 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
33 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
296 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
139 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
120 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
80 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
38 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
240 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
283 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
99 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
77 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
126 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
359 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
75 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
454 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
49 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
122 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
130 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
129 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: ...