SPServices is a jQuery library which abstracts SharePoint's Web Services and makes them easier to use.

learn more… | top users | synonyms

3
votes
4answers
735 views

Display Announcements List in HTML Table on a SharePoint 2010

Consider this as my code for displaying Announcements list in a site page on my SharePoint 2010 site: <html> <head> <script type="text/javascript" src="/Test_Library/js/jquery-1.9.1....
1
vote
1answer
127 views

Sorting Calendar List Items

So I'm trying to display the next three events on the calendar, but the calendar is sorted by date created, not start date. So I've pulled the list into an array, sorted it there, and displayed the ...
0
votes
3answers
262 views

rendering, spservices and view title header counts

For my sharepoint list, I have several views, which all reflect the same basic list, but with different filters. I am wanting to render the header section of this page, and to suffix each view header ...
1
vote
1answer
1k views

get list items in sharePoint 2013 for google charts api

I'm trying to use Google Chart API in SharePoint 2013. My list name is Utilization and I want to retrieve columns Title and Portal for making the 3D pie chart. Here is my code : <script type="...
0
votes
0answers
19 views

Cascading drop down saves the wrong data on new ticket

I am currently trying to create a Helpdesk in SharePoint 2010. As part of this I have a couple of cascading drop downs created using SPServices. One of these is for Building -> Room. These seem to ...
0
votes
2answers
244 views

XMLHttpRequest cannot load spservices

I use SpServices to do CRUD operations, When I execute this code: $().SPServices({ operation: "UpdateListItems", async: false, batchCmd: "Update", listName: "Event", ID: idevent, ...
0
votes
0answers
492 views

spservices doesn't work in jquery change function

I've tried everything (I think) and I still can't figure this out. I have three drop downs. Level One Drop down has two options. Based on the level one drop down, level two drop values changes. Now ...
0
votes
1answer
573 views

Using SPServices operation 'GetListItems' how to construct a CAML Query joining two lists?

Using SP2013 - JavaScript - $().SPServices() - operation 'GetListItems' - how would I construct a CAML query that will join two lists where list 'A' has a reference to list 'B' specifically having a ...
0
votes
0answers
19 views

User Profile Synchronization stops when I try to start it up

I am having problems starting User Profile Synchronization service. User Profile Synchronization just stops right away. I try to start it as the farm service account, and the service account is local ...
2
votes
1answer
82 views

updateListitems issue

I want to update SharePoint survey answers using spservices so I used UpdateListItems to update this $().SPServices({ operation: "UpdateListItems", async: false, webURL: params....
1
vote
0answers
47 views

.SpServices working while in edit mode, stops when saving

I am trying to put a button that calls a javascript function. In this function i reference the .spservices file and all is working fine on the test site. I go to put it into production, add a content ...
0
votes
0answers
112 views

SPService object is not loaded!

I am working on a script to fetch the user profile services and get the current logged in user. This was initially working on IE8 and not working in IE11. Now its not working in any browser, any ...
0
votes
1answer
134 views

Highcharts using SPservices not grouping data

I've been using highcharts with SPservices to chart data from tracking lists. I'm trying to add a second identical list (expertlist2) to chart in addition to the first list (expertlist1). Below is as ...
0
votes
0answers
80 views

SPservices query results not displaying in google chrome

I'm very new to JS/SPservices, and I'm using a theme to display Library folders as tiles. I found that the tiles need to be reinitialized after loading the SP content, and the below code is the only ...
0
votes
2answers
343 views

Unable to add custom list item using SPServices

I'm testing a basic insert new list item to custom list when user landed sub-sub site. JS libraries are both reference in master page and path work perfectly. First I'm getting Synchronous ...
0
votes
0answers
120 views

SPUpdateMultipleListItems not working

I am trying to update a column in a list, changing all the items to Approved. Below is the script i am using. function approveall() { alert($().SPServices.SPGetCurrentSite()); $()....
0
votes
0answers
195 views

GetListItem SPServices don't retrieve data

i'm trying to retrieve data from Sharepoint using SPServices. I created a list called "values" with two field: "Title" (text field) and "values" (numeric field). I created a js file linked to a ...
0
votes
1answer
618 views

How Can I Pull data out of a SharePoint list from embedded code on the same SharePoint Domain Using SPservices and Javascript/Jquery?

I am trying to pull data from a column in a list. The list is in the same domain as the page that I have embedded code in. Here is the code, I have removed several of the functions that do not have ...
0
votes
2answers
165 views

Can I get relative path of current site with single function?

I am trying to build a breadcrumb using JS and SPServices. When I browse for a page like http://sharepoint.com/sites/News/pages/f1/f2/default.aspx the breadcrumb should show SharePoint.com > ...
0
votes
0answers
94 views

SPServices calls stop working in Chrome tab but work find in a new tab or browser

I've come across an issue where all my spservices calls fail on a page and I get a bunch of "400 (Bad Request)" errors along with a few "500 (Internal Server Error)" errors on my spservices calls. ...
0
votes
1answer
296 views

SP services Get list items data issue

i wanted to update fields in a form using sp services get list items,in that only few columns are being populated in Xml response,even though the rest all fields have data ,it is not getting fetched,...
0
votes
1answer
72 views

Customized list form vs javascript & html solution in SP2010

I have one requirement in which we have to enter the q1,q2,q3,q4 details for 3 consecutive years for three categories, that means total 36 fields. There are some other fields similar to this. So total ...
1
vote
1answer
237 views

Submitting Recurrence Data with SPService

I'm trying to use SPServices UpdateListItems() to submit events to a custom calendar list. I can submit normal events correctly but recurring events don't save properly. $().SPServices({ ...
1
vote
2answers
47 views

Is There A Way to Determine if More Than One Option in Custom Dropdown Field?

I have a custom dropdown choice field that is created using jQuery after a date is selected and a choice box is selected as "Yes." Here is that function: function queryEvents(date){ $('#...
0
votes
1answer
421 views

SPServices - How to obtain user profile information from a user specified in a list

I currently have: A custom SP List A title field and a "user or group" field I need to use SPServices to look up the user in the list and obtain their name, email and profile picture just by ...
0
votes
2answers
175 views

Need to pause While loop

I am using SharePoint 2013 in the cloud. Due to restrictions in the site, I am using JSOM and jQuery to customize a site. I have modified a Document Library edit form to create Tasks for each person ...
0
votes
1answer
25 views

How can I get a list of documents that have one or more managed metadata terms?

I have videos that are "tagged" with one or more terms from managed metadata. I want to get a list of documents in the Documents library whose tags match one or more of the video's tags. I am able to ...
1
vote
1answer
387 views

Get Display Name from Account Name

I have used SPServices to get a user profile by their name, and in the process, I wish to display their supervisor's name as well. I can pull this name from the user's object, but the supervisor is ...
0
votes
2answers
464 views

Check an user belongs to a AD group inside SharePoint Group using SPServices JQuery

I want to check the current user exisit in a AD group inside the SharePoint Group using SPServices JQuery. I used the below code snippet but not successed. Any suggestions? $().SPServices({ ...
0
votes
2answers
351 views

Get Checkboxlist selected lookup value and update the list using SPServices

I have a CheckBoxList in which there is a Lookup values. Now I need the selected values and update it to the Lookup column in the list using SPServices. I tried the below code: var selectedValues = []...
1
vote
1answer
148 views

Javascript + SPServices while executing the code doesn't show a loading modal nor modifies a button attribute

basically this is my code $('#saveButton').click(function(){ showLoadingDiv(); $('#saveButton').attr('disable','disable'); }); function showLoadingDiv(){ ...
0
votes
3answers
6k views

SPServices getListItems CAMLQuery Issue

Attempting to retrieve items from a list where field School_id is equal to a school_id javascript variable, and using SPServices GetListItems operation. If I run the script without the CAMLQuery: ...
0
votes
1answer
201 views

Problems in SPServices functions and Claims based authentication

I have a web application using SPServices to communicate with a SP 2010 site that has been upgraded to SP 2013. Both my application server and the SP server reside in the same domain, let's call it ...
0
votes
1answer
594 views

Sp Services and calendar list

I have a SP Service call which uses GetListItems from a calendar list in SharePoint. I'm using it with the FullCalendar plugin. The events render fine that is not my question, my question is this: Is ...
1
vote
0answers
109 views

Cross Domain SPServices

I have two SharePoint web apps site1.spnet.local and site2.spnet.local. Im looking to make some cross domain spservices requests using a reverse proxy. The reverse proxy appears to be transforming ...
1
vote
1answer
117 views

Add or Remove List Item Permissions Without a Workflow

I have a list in SharePoint 2010 that has custom SharePoint forms built for different situations depending on an approval process where each item is approved by two different people. Once the item is ...
1
vote
1answer
270 views

Help with RemoveUserFromGroup using SPServices

I am using SPServices to list out each permission group and then under each group, each user is listed out. Next to the user, there is a button that will be used to remove that user (and later, ...
2
votes
1answer
397 views

What are the user data returned from Person or Group column (People Only) query?

I'm using SPServices to query a SharePoint Online (2013) list that contains a Person or Group column. (This column is set to allow selection of People Only, in case that matters.) The query used is ...
0
votes
1answer
620 views

Retrieve SP-List data cross domain via SPServices?

I am trying to retrieve data from a SharePoint List hosted in a different server/domain. We are still running SP 2010 but about to migrate to 2013. I am not sure if jQuery.SPServices and CORS are the ...
0
votes
2answers
52 views

How many different ways are there to name fields in SharePoint?

In working with SharePoint and spServices, I've run into many different ways of naming fields that depends on what you're trying to do. What are these naming schemes called? Let's say in SharePoint ...
0
votes
2answers
3k views

How set a people field with JavaScript

With SPServices I'm getting information from a list A that information contains in one of its columns a people field. In the form B I need to copy that person coming from the list A in one of the ...
2
votes
0answers
112 views

Populate a Managed Metadata field with jquery

I'm using a managed metadata field in a list to represent X properties. I'm using a column site to do this. In a document Library Z I'm using the same column site and a field Y that contains values ...
1
vote
2answers
341 views

Element “Query” is invalid (GetListItems)

I'm calling GetListItems via spservices, and specifying the CAMLQuery field to be the following value: <Where> <Or> <Contains><FieldRef Name='ows_Title'/><Value Type='...
0
votes
1answer
462 views

GetListItems on document library not returning items within folders

I'm using SPServices to run a GetListItems query on a particular document library. This is in implementing a custom metadata-driven search for lists/libraries. In cases when the document library ...
1
vote
1answer
309 views

How to get user account name by display name

In Sharepoint 2010 I am getting display name of the user with SPServices like 11;#John, Kondo. But I want account name like mydomain\aa2311. Is there any way to get the account name with the display ...
1
vote
1answer
821 views

SPServices get list items,values and colums dynamicly from a list

I have this code, where it should call the list item after the user has clicked on the list url. $j('#cd-sp-lists li a').click(function(){ $j("#status").fadeIn('fast'); $j("#...
0
votes
1answer
214 views

Help with SPServices.SPCascadeDropdowns function

I'm busy working on a form that requires a cascading relationship between two fields/dropdown columns. Field 1 - 'Country' and has is a lookup column of a list of Countries. Field 2 - 'Region' and ...
0
votes
0answers
86 views

“Like it” button using SPServices

Default rating system in Sharepoint 2013 allows to like elements in list view like this: and I have no problem to get count of "likes" with FieldRef Name='LikesCount' but I wonder if is it possible ...
0
votes
1answer
885 views

Cascading Dropdown lists with SPServices not working

I have a list called BRM with the following fields: BRM (Text) Country (List) Business (List) The country list is simple: http://screencast.com/t/uh93fIhzWn The business list is also simple: http://...
0
votes
1answer
1k views

SPService GetListItems with CAML : can't get the example to work with status giving error

I am new to SPServices and trying start with example GetListItems. Below is my code $(document).ready(function() { GetTasks(); }); function GetTasks() { var method = "GetListItems"; ...