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

3
votes
2answers
167 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 ...
1
vote
2answers
130 views

SP2013 Toolbar keeps loading invalid http json response headers for commandui.ashx

Dear smart people out there, we published SP2013 via UAG 2010 sp4. The toolbar keeps showing 'Loading ...' In javascript there is a Deserialization error. My http response for the commandui.ashx ...
0
votes
2answers
100 views

How to filter by document name using javascript and Json

I have two document libraries: bucket and Documents. The user uploads the file to the bucket and when all the field are filled, an event receiver checks if the filename already exists (and renames it) ...
2
votes
1answer
170 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 ...
1
vote
1answer
28 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
1answer
18 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
10 views

REST API return encoded Multiline Textfield but show it correctly

I save a JSON string in my SharePoint list. This looks like: ...
0
votes
1answer
36 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. ...
0
votes
1answer
70 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
1answer
26 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 = ...
0
votes
1answer
76 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
1answer
301 views

Accessing my list field values via dot notation after json.stringifier

This just be so obvious but I it seems not. Below I stripped out some of the code for clarity var list = context.get_web().get_lists().getByTitle('SMenuLink') //usual code to open a list using ...
-1
votes
1answer
45 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 ???
2
votes
0answers
23 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 ...
1
vote
0answers
46 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 ...
1
vote
0answers
92 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 ...
1
vote
0answers
921 views

Syntax for including maxJsonLength in a standalone web.config for a Sharepoint Farm solution?

We encountered the following error in Javascript in a Sharepoint project: Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the ...
1
vote
0answers
447 views

How to configure SharePoint REST API to return JSON by default?

I'm using a 3rd party HTTP client to retrieve data from SharePoint. I want to get the result in JSON format. I know one method is to add the header "Accept": "application/json; odata=verbose" ...
1
vote
0answers
370 views

how to pares search api odata json result in C#

i'm using that search query string siteUrl = "<site>"; string queryText ="Path:\"pathTosearch/*\" IsDocument:1"; string rowlimit = "10"; string sortExpression = "Write:descending"; ...
1
vote
0answers
41 views

Exporting document content from SP2013 to external webapp

How should I do to make a document viewable on a webpage, that is exported from SP2013 document library. A user should be able to, through a webpage send a request to view the content of a specific ...
0
votes
0answers
16 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 ...
0
votes
0answers
11 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
0answers
7 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
0answers
18 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 ...
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
0answers
60 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
25 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 ...
0
votes
0answers
83 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 ...
0
votes
0answers
111 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 ...
0
votes
0answers
117 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
0answers
471 views

Workflow Manager anomaly when getting child scopes (for Sharepoint 2013 registration or using Workflow Explorer MSDN sample)

(I have originally posted this question to Azure forum few days ago and repeating it here as i get no response there and i just discovered this site. Thanks in advance...) I have installed Workflow ...