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

learn more… | top users | synonyms

0
votes
2answers
797 views

Cascading dropdown not working

I am trying to get cascading dropdowns to work on a list, but I seem to be missing a point somewhere. Please help me out. I have added jQuery and jquery.SPServices to my masterpage. The dropdown ...
0
votes
1answer
843 views

Create Next and Previous Paging Using Sharepoint List and SpServices

can anyone help me in Creating Next and Previous Paging for SharePoint List Using Sp-services With Client Side Template Binding . Below is the Code Which I was Using. $().SPServices({ operation: ...
0
votes
1answer
569 views

Using UpdateListItems for multiple items?

I would like to use UpdateListItems or something similar to allow my users to pass in some variable (e.g., a name) so I can use a caml query to find all items where SomeUserField = 'John B Smith' and ...
0
votes
1answer
468 views

Retrieve current site name (not url) programmatically?

I want to create a code that only generates a link for certain users in a group, but this group name changes across the many subsites that my users have. The group name = [Site Title] + ' Creators' ...
0
votes
2answers
2k views

SPServices with user profile

This is all for SharePoint 2010. I have in my form the ability to put in a user in a people picker and then the users click a button that pulls in the user's email address and dept phone number. This ...
0
votes
2answers
631 views

SPservice for filtering Dropdown based on parent dropdown

we are $().SPServices.SPCascadeDropdowns for cascading. Suddenly it stopped working. now I want to use another option of using SPServices with CAML query to display the projects based on Employee ...
0
votes
1answer
1k views

Proper way to check for failed SPServices call?

I'm running a SharePoint method with SPServices that should copy several items. I just noticed that the return value is "Success" even when I've specified an invalid location and nothing has actually ...
0
votes
1answer
235 views

Unable to pass certain variable as list name to SPServices?

I have a list called "Subscribed users" on the top level that has 3 columns storing a username, a name of a list or library, and an url to a page. I use SPServices to look up if the current user is in ...
0
votes
2answers
175 views

list threshold value exceeded ..causes problem in dropdown cascading using SpServices?

I have list Skill Endorsement. when i select Employee from drop down, Project Drop downs should populate. both Employee and Project are look up fields in Project Allocations and Skill ...
0
votes
3answers
2k views

Populate dropdownlist with only active and checked in vehicles using javascript

I'm not sure if this can be done or not but I'm creating a vehicle reservation site and need to populate a dropdownlist with only cars that are both active and not requested for the same period of the ...
0
votes
1answer
1k views

Autocomplete with SPServices

This is my scenario I have a list of clients on the root site collection. www.mydomain.com/lists/clients I have 17000 clients on that list. Then I have other site collections, where I want to have ...
0
votes
1answer
107 views

RemoveUserFromSite failing (500 Internal Server Error)

I've created this function to delete a user from my site collection. function removeUserFromSite(){ userHTML = $('#my_SiteUsers option:selected').text(); //check if default user selected ...
0
votes
2answers
243 views

Access DVWP z:row with Javascript [duplicate]

I need to loop through the z:row of a Data View Web Part on the client using JavaScript to push to an array and then use the JavaScript CSOM to create a new list item in an existing list. var ...
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
136 views

Updating List XML on Office 365

I'm trying to create a lookup column on an Office 365 SharePoint dev site through an app using SPServices but I'm not having any luck. function createLookupColumn(listGuid) { ...
0
votes
1answer
66 views

spservices not working in updatepanel

I have a piece of code which is inside a dropdown change event. This dropdown is inside an update panel as i want it to happen async. Now I have a SPServices.CascadeDropdowns also binded to the ...
0
votes
1answer
567 views

How to set a search scope in SPServices search function?

I am doing a search using this code: var queryText; queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'>"; queryText += "<Query>"; queryText += ...
0
votes
2answers
553 views

Office 365 - Sharepoint hosted app updating lists with SPServices failing

I have a problem updating lists from my Office-365 sharepoint hosted app. My SPServices call can update a list inside my site, but when I webURL back (prune the path) to the site collection, I can ...
0
votes
2answers
487 views

SharePoint SPServices autocomplete not working for a column

I have a working jQuery SPServices code for a column Description in a list. The problem is, that when I try to get the data from another column, Project Item, with the same code, nothing happens. ...
0
votes
1answer
696 views

How do you display a list item image with SPServices? (Rather than displaying the URL)

I'm currently using SPServices to retrieve information from a list and present it on the page. I've retrieved the metadata correctly,and presented it on the page. However, when attempting to display ...
0
votes
3answers
3k views

'SPServices' is null or not an object

I need to find out if logged in user belongs to a specific sharepoint group (2010). I am using below code to get it. but getting javascript error as 'SPServices is null or not an object'. ...
0
votes
2answers
1k views

Creating Groups via Web Service

I am trying to create groups on a SharePoint 2010 site via the UserGroup.asmx web service. I am using jQuery and SPServices to interact with the web service. When I try to create a group (via the ...
0
votes
3answers
286 views

How do i return the manager name if the userID is provided?

Is it possible to retrieve the name of a user's manager using SPServices if the userID is entered? Ie: Either using a people picker field or a text field ("txtUserID) the userID is entered. Upon ...
0
votes
4answers
604 views

jquery 1.7.2 and spservices 0.7.0 syntax unrecognized error with .find(“[nodeName=z:row]” and .find(“[z:\\row,row]”

both .find("[nodeName=z:row]" and .find("[z:\\row,row]" give me syntax unrecognized on SharePoint 2007 IE 8 client trying this code that redirects me to the dispform given a match on title list ...
0
votes
2answers
914 views

childColumnStatic is undefined

I am getting the error "childColumnStatic" is undefined . I am trying to implement cascading dropdown using the below code. Here the column "profilesystem" contains more than 20 items. The below ...
0
votes
1answer
212 views

SPServices: Using variable as column name - possible?

When using SPServices, is it possible to use a variable to specify the column to be updated? res = lists.quickUpdateListItem('MyListHere', { ID: ReqD, columnVar : userName }); In the above ...
0
votes
1answer
420 views

SpServices Cannot Get Sub-Sites without Being Site Collection Admin

I am building a web part which is delegated by permissions. It is displayling members of the Members group and Owners group onto the page, and if a user does not have Members or Owners permissions, ...
0
votes
2answers
534 views

Add Timespan to DateTime Column via SPServices (jquery)

I want to increase and decrease a DateTime column from a specific list with jquery and SPServices. Normaly I should first receive the original datatime and then add the timespan and after that save ...
0
votes
1answer
3k views

Pull values from a lookup column using SPServices()

I would like to retrieve values from a lookup column (pull down) using SPServices() and load an array in javascript. This is available only in Newform.aspx. How can I do this?
0
votes
2answers
836 views

Below Code Not working to find duplicate values using jquery

The code below is not working, it should find duplicate values using jQuery: $().SPServices({ operation: "GetListItems", listName: "Questions", async: false, CAMLQery: query, ...
0
votes
1answer
958 views

Using SPServices to set the SharePoint 2007 own 'Approval Status' field

The Situation I have a workflow in a SharePoint 2007 List that require approval. Thus, there is a column called 'Approval Status' generated by SharePoint itself. How do I use SPServices to set the ...
0
votes
1answer
1k views

Use SPServices.SPRedirectWithID in a custom new form

Do you know if it is possible to use SPServices.SPRedirectWithID in a custom new form. Thanks, Best regards, David UPDATE (DETAILS): I would like to use it to redirect the user from ...
0
votes
1answer
307 views

Buidling menu from a list - need how to group columns/distinct

I'm trying to build a menu from a SharePoint list but I need to group the main menus and then add links to the appropiate main menus. I have separated the links using the LinkType column if it is a ...
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 ...
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, ...
0
votes
0answers
43 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
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 ...
0
votes
0answers
23 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
41 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
15 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
63 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
29 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
60 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
61 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
0answers
21 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
80 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
1answer
33 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 ...
0
votes
0answers
30 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
0answers
33 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
2answers
75 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 ...