An acronym for Asynchronous JavaScript and XML

learn more… | top users | synonyms

6
votes
3answers
3k views

Can't upload a non-text file to SharePoint App via REST API

I am using the following REST code to add a file as an attachment to a SharePoint 2013 list item. <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server"> <SharePoint:ScriptLink ...
1
vote
1answer
3k views

Custom JSLINK rendering template - how do you get ajax paging working?

So I followed this post to implement paging in my custom JSLINK rendering template, and got that working great. The only downside to it is that the paging actions are full page post-backs whereas on ...
6
votes
1answer
2k views

Fetch list of sites in site collection into jQuery

Is there a way to get the list of sites in the current site collection into jQuery as an array or other data structure? Thanks.
2
votes
1answer
206 views

Safari web browser will NOT perform Asynchronous Automatic Refresh. Rather it will do a full page reload

I have added an announcement web App, to SP2013 my team site, and for the App part Ajax option I enabled the following:- Enable Asynchronous Update Show Manual Refresh Button Enable Asynchronous ...
1
vote
0answers
312 views

Load full list XML into JavaScript variable via CEWP

Currently I am using the lists.asmx webservice to POST a soap envelope and return specific list items. I really want the whole contents of the list. I realize how large that might get, but if this ...
2
votes
2answers
88 views

Creating Folder using REST and JavaScript

I'm trying to create a Folder in a SharePoint Image library. I found an answer here but I can't seem to get it to work var web = 'my relative path to the current web'; var lib = 'name of the image ...
2
votes
2answers
4k views

UpdatePanel with SharePoint 2010 web part

UPDATE protected override void CreateChildControls() { if (!this._error) { try { base.CreateChildControls(); ...
1
vote
1answer
728 views

Call WebMethod from JS in Visual web Part

I have ASP.NET web app that call some WebMethod from javascipt and fills textboxes. This is not all code, just example codesnippet function dataApp(text) { var loc = window.location.href; ...
1
vote
1answer
1k views

Using AjaxControlToolkit in SharePoint: Multiple instances of ScriptManagers?

I'm trying to use AjaxControlToolkit controls (specifically CalendarExtender and ComboBox), but am having problems with the ScriptManager control. I've got the ToolkitScriptManager at the top of the ...
1
vote
1answer
3k views

SharePoint 2010 Lookup Column - Autofill with the same Item

I am struggling with some issue. I need to automatically fill the value of a field (in Edit or New.aspx) based on other lookup column. Now I have list Lookup with Name and Surname columns In the ...
0
votes
3answers
231 views

Using REST call and Datatables plugin to retrieve SharePoint Date field

I'm having an issue with a REST call that's giving me some headaches. This is the code I'm using: function LoadAIP(state) { var call = $.ajax({ url: "https://xxxx/xxxx/_vti_bin/listdata.svc/AIPList? ...
0
votes
1answer
380 views

External ajax request / json in sharepoint app

I'm trying to create a sharepoint app that gets and use json data generated on another web site / web application through an ajax request. Let's say the JSON data I want to get from the other website ...