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

learn more… | top users | synonyms

0
votes
5answers
5k views

Jquery to get list items from sharepoint list

I have a work from my time to use jquery with sharepoint. I have written the code to get list items. When I run in IE it dosen't show any errors to me, but I am not getting the results. Can any one ...
0
votes
3answers
4k views

Get value from drop down using jQuery (lookup column)

I feel like this should be an easy one but am having trouble finding the answer here and via Google. Using jQuery, how do I retrieve the currently selected value from a dropdown in an ...
0
votes
4answers
3k views

newform.aspx and People Picker field - set current user as default?

This is for SP2010. Got a list. One of the fields is a "Person or Group" type, with the results limited to members of an SP group. I've created a copy of NewForm.aspx in SharePoint Designer, and am ...
0
votes
2answers
2k views

How can I retrieve list items from a subfolder using spservices?

I have a document library with subfolders containing images. I'd like to traverse the subfolders and grab the URLs of those images so that I can display them on my little js web app I'm whipping up. ...
0
votes
3answers
134 views

Autocomplete with multiple values .from a list

I need to implement a lookup column to a big list, I will probably use SPServices, but so far all examples I have seen is for only one value, and I need it to be multiple values. I need to be able ...
0
votes
3answers
4k views

SPServices <today /> not returning correct results

This is the chunch of code that I am working with. I am trying to get only the events (normal/all day/recurring) to show, and it is returning all items for the whole week. Any ideas? ...
0
votes
1answer
1k views

Use SPServices in Sharepoint 2013 to display username

Has anyone managed to use SPServices to display the current logged in username in a content webpart? Is this even possible in 2013 (online)?
0
votes
2answers
140 views

Is SPServices working different on https?

It seems like I can't access any Lists on https sites, I get the status -> error everytime I try. Tried GetList and GetListItems operations in my Javascript function, which works fine on any site I ...
0
votes
1answer
702 views

SPServices: How would I add Ascending=False to CAML in GetListItems

How would I use SPServices GetListItems and still be able to add Ascending=False to the CAMLViewFields? I haven't used this for long and I am just wondering if this is possible? Thanks as always!
0
votes
1answer
954 views

Prepopulating a value in NewForm.aspx

I am sending a query string into NewForm.aspx. I have populated a drop down with that value. Everything works great in Chrome but Internet Explorer does not save the pre-populated value. The value ...
0
votes
3answers
2k views

SPServices IE Issue GetListItems

Ok, so here's the rundown. I have a site with three child sites, and I am trying to get a rollup of content from these three sites. Each site has the same list of "Initiatives" and on the parent ...
0
votes
2answers
1k views

Ajax Loader Image Won't Display in IE 8

I'm using the SPServices jQuery library to update a list which is working fine. note: This problem may have absolutely nothing to do with SPServices; I'll have to try using the jQuery ajax method ...
0
votes
2answers
4k views

Lists.asmx UpdateListItems returns unexpected error 0x80070005

I'm using SPServices to insert items to a list. The code works fine except for, some users see the response below: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope ...
0
votes
4answers
1k views

Cascading DropDownList in a web part?

Is there a standard way to implement this? Any solution would have to make use of AJAX. I am considering two possible methods at the moment: Try to find a way to use the ASP.NET AJAX Toolkit to do ...
0
votes
2answers
740 views

Content Editor Webpart and SharePoint 2007 object model?

I have to supply the query and should display the information on the sharepoint 2007 page based on the enterprise search results. I wonder, if it can be achieved thro' content editor webpart ? Want ...
0
votes
2answers
39 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
3answers
98 views

Use CAML query based on ID to retrieve a file name?

With jquery and spservices, I use getSelectedItems to retrieve the IDs of a few documents. Can I have a loop which goes through a caml query for each of those IDs to retrieve the file name ...
0
votes
1answer
39 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
36 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
43 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
225 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
365 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
2answers
382 views

I am using `$().SPServices.SPGetCurrentUser` to get the current user but it's not working for few users. Is that a browser issue?

I am using the following code... but its shows nothing for some users var thisUserAccount = $().SPServices.SPGetCurrentUser({ fieldName: "Name", debug: false });
0
votes
1answer
41 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
115 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
1answer
265 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
1answer
36 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
60 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
1answer
139 views

Possible problem with linked lists and limits of the Lookupfield in SharePoint 2013

I have set up a Parent/Child linked list, each parent item can have multiple different child items linked to it. To connect child items to the parent I use a lookup field on a field on the parent ...
0
votes
2answers
264 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
444 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
2answers
747 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
176 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
431 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
661 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
2k views

SPServices UpdateListItems Will Not Update Target List

I'm trying to copy items from a list in one site and update/paste them into a list in another site, but I can't get it to work. Please help. I have my references to jQuery and SPServices in the master ...
0
votes
1answer
295 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
1k views

Get attachments of list items with SPServices

How can I fetch the attachments (the URL, to be precise) of a list item with SPServices (the jQuery library)?
0
votes
2answers
401 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
2k 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
589 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
632 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
745 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
282 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
11 views

Start Workflow with Initiation Form via Ribbon

I want to start a workflow for selected items using JavaScript and a custom button on the Ribbon. I was able to get this working with the help of SPServices. In essence I needed to get the item id, ...
0
votes
1answer
20 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.
0
votes
1answer
29 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, ...
0
votes
1answer
26 views

Wait for completion of SP.RequestExecutor [duplicate]

I am using SP.RequestExecutor to add attachments to a list item. I followed Can't upload a non-text file to SharePoint App via REST API I need to wait the completation of the asynch call of ...
0
votes
0answers
28 views

Cannot Hide results from document library using JQuery Dropdown/HoverOver/MouseOver

I have a jquery dropdown menu for when a user hovers a link to display results dynamically from a SharePoint Document Library. It's working ... Problem is its not hiding the results and is displaying ...
0
votes
0answers
53 views

How to copy document from library to list attachment with SP Services?

I need to attach a document that is stored inside a document library to a list item on the same webpage. All needs to be done with javascript / jquery / spservices. Can you please help me and show ...