An acronym for Asynchronous JavaScript and XML

learn more… | top users | synonyms

0
votes
1answer
519 views

Uncaught Sys.ArgumentNullException: Sys.ArgumentNullException: Value cannot be null. Parameter name: panelsCreated[1]

I am using JavaScript to pull events for the current day of the week. I am leveraging SP.Services to do this. The problem I am having seems to be the same that a lot of others have experienced ...
1
vote
1answer
653 views

SharePoint 2013 Rest API OData Query

I am calling rest uri from jQuery ajax with filter string comparison startswith as below ...
0
votes
1answer
67 views

Cannot run ajax javascript code

I try to run the below javascript code but it does not work. (it does not return the alert pop up) I put the url string into a browser, it return the item info. So, I assume the url is fine. And ...
0
votes
1answer
572 views

enable ajax on listview web part added in feature upgrade

is there an option how to enable ajax functionality in listview web part type added by code? Iam facing problem where we added 2 list view web parts on the page and they behave really strange. I read ...
2
votes
1answer
676 views

Ajax Calendar Extender Position is not working in SharePoint Webpart

I am using Ajax Calendar Extender, but it is not pop up next to textbox, it is appearing int the middle of the page. Here is the code: <asp:TextBox ID="dtEnginerring" runat="server" ...
0
votes
1answer
38 views

Get site title and display it search results

I am using display templates to search specific items based on content type and display them in the root site. One of the requirements is to display the site title besides the item. Searching on the ...
3
votes
2answers
3k views

Help with getting the value of a look up field

Currently, I am using an ajax request to access the list items. The fields that are not lookups come as expected but the lookup fields come across as an ID of the object that corresponds to its ...
0
votes
0answers
16 views

How to create ClientContext in .asmx web service called from AJAX

i am developing Sharepoint online on-premise app. Almost all my logic and SP objects manipulation is in the c# codebehind(not JS), but now i need to call my already implemented method from js. I ...
1
vote
2answers
654 views

Ajax Odata 400 bad request

I get a 400 Bad Request from this code, hard to debug, what can the problem be? function saveSelectedAnswer(radioValue) { var requestUri = _spPageContextInfo.webAbsoluteUrl + ...
0
votes
1answer
39 views

Call External Web Service Using REST

I want to access external web service using ajax call. I access http://services.odata.org/Northwind/Northwind.svc/Customers web service in ajax call on site pages. but it is giving me error ...
3
votes
2answers
62 views

AJAX Request not firing at Document.Ready

Had a question regarding an AJAX request I'm making via jQuery in my SP site page template. The code in question: //writes CSS classes to body script based on explicitly checked group membership ...
1
vote
1answer
19 views

Accessing the OnSuccess event for AJAXRefreshView

I am doing a AJAXRefreshView on a particular site page after a button is clicked. The list in question is being refreshed however I am unable to apply some custom styles that have been applied to the ...
2
votes
1answer
43 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
0answers
19 views

What is callback function in AJAX? How to implement a callback function in PreSaveAction function of SP2013 list NewForm?

I want to store the value of a variable and use it outside the ajax call. But being an asynchronous call it is giving me initial value of that variable. I am implementing my custom code for some ...
0
votes
1answer
15 views

AJAX.NET error only affecting certain users

I have a couple of users who are reporting "ASP.NET AJAX client-side framework (ScriptResource.axd) failed to load" error on some of our SharePoint pages. Only affecting certain uses, majority get ...
0
votes
3answers
784 views

Can we retrieve list data using angularjs in sharepoint 2013 hosted app?

I want to retrieve list data by making http calls through angularjs. Is it possible following is my code in Visual Studio for sharepoint hosted app, <script type="text/javascript" ...
0
votes
1answer
36 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 ...
0
votes
1answer
35 views

Ajax 400 Bad request problem

I get a 400 Bad Request from this below code, what can the problem be? 'use strict'; var hostweburl; var appweburl; $(document).ready(function () { hostweburl = ...
0
votes
1answer
27 views

Access php through jquery ajax in Sharepoint

I have the following code within a Sharepoint page $(document).ready(function(){ $.ajax({ type:"POST", url:"http://somesite.ro/helper.php", dataType: 'jsonp', // Notice! JSONP ...
1
vote
1answer
301 views

How can I display user picture from sharepoint in datatables

Sorry if this is stupid easy but I'm trying to display user pictures from sharepoint in datatables. I can see the link in JSON data coming back from the ajax query in the "Picture" field so I added: ...
0
votes
1answer
55 views

Progressbar in webparts

I want to show progress in my webpart while showing images. Here is my code in .ascx file <asp:UpdateProgress runat="server" id="PageUpdateProgress"> <ProgressTemplate> ...
0
votes
2answers
30 views

refresh only webpart

I am using Server Side code to do Paging on SharePoint List. I am using Visual Web Part to show items from List. protected void Page_Load(object sender, EventArgs e) { if (!this.Page.IsPostBack) ...
-1
votes
1answer
33 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
20 views

Document Follow custom implementation slowing down the page performance

Let me explain my scenario : I am pulling the documents using search rest api and populating on the page. Each document having a (custom) follow icon. So, that he can follow/un-follow the document. ...
3
votes
1answer
242 views

sharepoint 2010 get value of choice field through api call

I have a sharepoint list ImageList, i have a column which stores its type The column name is ImageType the choices are "profile pic","thumbnail" etc i want to fetch these choice values for this ...
2
votes
1answer
1k views

Update Panel not working in Firefox 2013

Update Panel is not working in SharePoint 2013. It is working in SP2010. In Internet Explorer, it is working fine but in Firefox, the page is refreshed.
0
votes
0answers
103 views

Calling Cross Domain Java Based web service by JQuery AJAX from SharePoint 2013

I am trying to call the Java based Web Service by Jquery Ajax, The URl of the Service is "http://vmABCapp01-staging.domain.com:7083/UserIDCheckService/CheckUserIDServiceImpl". The Jquery Code to ...
0
votes
0answers
55 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
68 views

Progress bar in multiple file upload not getting updated

I am using this link to upload multiple files to my sharepoint library. I created a visual web part and referenced the required libraries as shown below : <SharePoint:CssRegistration ...
1
vote
1answer
317 views

sharepoint 2010 - How to get document ID using spservices sql search query?

Using spservices to make search requests, I am building the query like this: var queryText; queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'>"; queryText += ...
0
votes
1answer
68 views

Get image from SharePoint by URL

I try to get an Image from SharePoint by using JavaScript code. I have the complete URL of the image which is stored in a SharePoint Assets Library. My app is SharePoint hosted. This code does not ...
1
vote
1answer
101 views

Get the permission list for a group using jQuery AJAX requests REST API

How can i get the group permissions for a list using an AJAX request with the REST API? I could add or remove permissions for the group but i want to know the actual permissions of the group over the ...
0
votes
3answers
164 views

Not able to access sharepoint list using rest api

This is my code function getListItem(url, listname, id, complete, failure) { // Getting our list items $.ajax({ url: url + "/_api/lists/getbytitle('"+ listname +"')/items", ...
2
votes
1answer
48 views

HTTPHandler Note Hitting the the breakpoint in VS2010

I'm trying to send some Async Data to the server form SP webpart. I added the HttpHandler to the Layout folder in webpartproject and registered it in web.config file for the SharePoint site. But the ...
0
votes
1answer
34 views

Internal Server Error for an ajax request from Visual Web Part to application page

I have Internal Server Error in response to an Ajax call. The request is sent from a Visual Web Part, inside a solution, towards an application page : The application page has this method: ...
0
votes
1answer
98 views

Upload javascript file to sharepoint online library saved in wrong format

I am trying to Upload a myfile.min.js to sharepoint online using JavaScript using JSOM but its stored as wrong encosing format var req = jQuery.ajax({ url: sourceFileItem + '?ver=' + ...
0
votes
3answers
1k views

Can you detect permissions on a list via Ajax or SharePoint web services?

The context for this is the SPServices or Imtech (SP)LookupAddNew function that let you add new items to lookups without navigating to the target list. Can we avoid adding the link for users without ...
0
votes
1answer
377 views

sys.extended.ui is null or not an object sharepoint

I'm working in SharePoint 2010 and using ajax toolkit 3.0.30930.28736 I'm using the ajax toolkit slider control. For some reason I wanted to override the following method of slider ...
2
votes
1answer
690 views

In Chrome, Async Postbacks Fail

In Google Chrome, inside of an Update Panel, the first async postback succeeds, but the second silently fails. The issue is discussed many places: ...
0
votes
0answers
97 views

SharePoint 2013 - In Page Image Pop Up

I would like to implement some image pop ups using jquery, AJAX or similar to perform actions as shown on this page: http://dimsemenov.com/plugins/magnific-popup/ It is not desirable to have a new ...
0
votes
1answer
39 views

How to pull the user profile image?

Using the _api/SP.UserProfiles.PeopleManager I've gathered the information needed to display my user profile image and presence. pInfo is a variable that contains the property information needed to ...
0
votes
0answers
91 views

Ajax calls not working in ShowModalDialog

I have Hyperlink in my masterpage, and when users clicks on it, a modalpopup should display with updatePanel divfrom MasterPage. Here is the MasterPage div that has UpdatePanel - <div ...
0
votes
0answers
50 views

Dynamically change workbooks in sharepoint excel web part

I have created a custom ajax visual webpart that hosts an Excel workbook(say summary.xlsx) using ExcelWebRenderer class and i have LinkButton in the same webpart. My requirement is - when users clicks ...
4
votes
4answers
3k views

SharePoint REST API call with more than 500 rows

I have an AJAX call querying the SharePoint REST API which will return more than 500 rows: $.ajax( { url: _spPageContextInfo.webAbsoluteUrl + ...
1
vote
1answer
664 views

consuming external web services(https) in share point hosted apps resulting cross-domain issue

We are not able to consume external web services deployed in a separate domain from sharepoint hosted apps,using jquery ajax.
3
votes
1answer
5k 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; ...
0
votes
2answers
81 views

Sharepoint 2013 and ajax problem

I used that Ajax branding technique to load list items or any document library item into my design in Sharepoint 2010 now im working on 2013 and with the same technique i got failure $.ajax({ url: ...
0
votes
0answers
26 views

How do you expose a Custom Service Application method via JavaScript/JQuery

I've currently enabled all of our Web Service calls using Application Pages / Web Methods. It works well but I'm pretty sure that there is a lot of overhead when it comes to getting my JSON back. ...
0
votes
0answers
92 views

Access denied while calling external URL ajax call

I got the access denied error when i am calling external URL from Ajax call. it is working fine without SharePoint 2010. <script> function httpGet(theUrl) { debugger; var ...
1
vote
1answer
296 views