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

learn more… | top users | synonyms

1
vote
1answer
2k views

Add new item to child list and refresh the parent form - multiple lookup

I've created a parent list (Vendors) and a child list (software list). There can be multiple vendors for one piece of software. I've created a custom new form with a link which opens up a modal to add ...
0
votes
0answers
16 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 ...
1
vote
1answer
577 views

Issue with CopyIntoItems (SPServices) - only copy certain fields?

I am using SPServices's implementation of CopyIntoItems the following way: $().SPServices({ operation: "GetItem", Url: itemurl, async: false, ...
3
votes
1answer
3k views

Getting Version History and What Field has Changed

I am using the GetVersionCollection to get the history information from my list. This seems to be working fine; however, what I need to do is get the version history of the individual item which has ...
0
votes
0answers
29 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 ...
1
vote
1answer
410 views

xslt dropdown & spservice.spcascadedropdown

I have a xslt list form view. I have 3 drop down on the form - Area , Geo Market , Country for which i want to implement cascading functionality. Data saved in list is of type Single line of ...
0
votes
1answer
60 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
1answer
22 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, ...
3
votes
1answer
461 views

Multicolumn textarea area to insert into SharePoint 2007 but display not correctly

I have a form that use SPServices and have a textarea field for user to insert multi rows data. The data from the textarea can be successfully insert into the SharePoint 2007 column of type 'Multiple ...
0
votes
1answer
54 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 ...
2
votes
1answer
45 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: ...
0
votes
0answers
12 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 ...
1
vote
0answers
23 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
20 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 ...
1
vote
1answer
1k views

SPServices Autocomplete and dynamic CAML query

I have two Text filter web parts (Project and Customer Name) with Apply Filters button for one list. There is a SPServices.SPAutocomplete on each and it works great. Now, I want to show the values in ...
0
votes
1answer
39 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
13 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
1answer
2k views

SPServices - GetRolesAndPermissionsForCurrentUser

I have a list where one group of users is not allowed to delete items but they have view and edit permissions. All items in the list contain an attachment. However, users are not allowed to delete the ...
1
vote
1answer
847 views

Update Page Content using SPServices

I am trying to update a Page's content using SPServices. When I run my code, it does update the correct page, but instead of updating the content, it just removes the content. var newContent = ...
0
votes
1answer
770 views

SPServices SPGetLastItem returns last id for current user

The function SPGetLastItem from SPServices returns last id for items that only the current user has created. I want a function that returns the last id for any user.
1
vote
2answers
998 views

How to use SPServices search sql query - getting malformed query

I am using the SPServices javascript library to make a search request to sharepoint 2010 search. I am trying this query: queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' ...
10
votes
3answers
10k views

Should i have the “Microsoft SharePoint Foundation Web Application” role active on all servers in a large farm?

I've checked the resources at Microsoft TechNet, MSDN and Bing but I’m not aware of any information regarding the best practice about the configuration for the "Microsoft SharePoint Foundation Web ...
0
votes
2answers
2k views

SPServices Set PeoplePicker field in SharePoint 2013

I've seen a LOT of posts about this, and I am sorry to add to them, but I have spent a lot of time going through them and cannot find an answer that is working in my case. My objective is to populate ...
0
votes
0answers
25 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
58 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
2answers
57 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
1answer
56 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
1answer
70 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 ...
0
votes
0answers
18 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
32 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
54 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({ ...
0
votes
0answers
28 views

Sharepoint 2010, Jquery to get User Image from mysite on seperate server

I am working within an environment where I only have HTML rights and cannot run shell commands or access master pages. There are 2 sites. a SharePoint 2013 mysite and the 2010 SharePoint site. ...
0
votes
2answers
1k views

How can I use SPServices to save a “Person”?

I'm attempting to save the current user to a list using SP services. The column for User is setup with the type of "Person or Group" When I use SPServices to save it I get error code 0x80020005 which ...
0
votes
2answers
70 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 ...
1
vote
2answers
41 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
0answers
27 views

Set the validation message of sharepoint list item column

I have a list with a mandatory field title. I have hidden the default button and added my own custom button to save the item. I am using the code below to save the item which works fine but it does ...
0
votes
1answer
74 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
1answer
797 views

SPServices - GetGroupCollectionFromUser - Limit Scope to Current SP Site

I'm currently using SPServices GetGroupCollectionFromUser to return all the Groups an SP user belongs to and it is working awesome! Would like to know if there is a way to limit the scope of ...
0
votes
1answer
18 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
105 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 ...
2
votes
3answers
3k views

CAML Query not limiting rows

I'm using the SPServices GetListItems function to pull entries from a calendar list. All of the information is being retreived without any issues. However the RowLimit is not restricting the number of ...
0
votes
1answer
64 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
121 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
93 views

Using SPServices' GetListItems to sort by what the current user has “liked”

I'm using getlistitems to grab list data in SharePoint 2013, and I've managed to be able to filter by the current user's "liked" list items... but is there a way to sort by what a user has liked and ...
1
vote
3answers
2k views

Accessing list data from another site collection or web application using REST services?

I have a list (Links template) of URLs that is on a site collection and I was wondering if it is possible to include this list as a jQuery megamenu on another site - ideally another web application on ...
0
votes
6answers
11k views

GetListItems - No Items to return

I have been working with GetListItems, and found it to be very reliable, and easy to implement. One thing I'm trying to figure out is how to handle when there are no items in the list matching the ...
1
vote
1answer
41 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
0answers
47 views

Get List items using Sp Services on content approval enabled List

I have enabled Content approval on SharePoint List. Able to access all the items that are in pending state through Sp-services Getlistitems. Unable to get data in soap once item is approved or ...
0
votes
3answers
455 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
71 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 ...