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
308 views

Filter a list by a value in a User's profile

I would like to replace the functionality of the Current User Filter of SharePoint Server 2010 enterprise. I think I might be able to use SPServices.SPGetCurrentUser but I am unsure if it is possilbe....
1
vote
1answer
1k views

SP2010 Passing Value to New Item Form Modal using Client Object Model/SPD

Beginner. I have a list form that opens from page using SP.UI.ModalDialog. The form is to represent entries into a description list based on ID from parent list. The page has tabs that allow user to ...
1
vote
1answer
456 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 text.(...
1
vote
0answers
246 views

SPServices to retrieve the last record of repeated section data inside Sharepoint library

I have a Infopath that contain 2 fields which I put it as a repeating section as shown in the picture below (for the time being - please ignore the error) How do I retrieve the last record of a ...
1
vote
1answer
91 views

Send SP warning message on another user changes in a SharePoint item to SPServices

From my understanding from this post (http://sharepoint.stackexchange.com/questions/23597/best-practice-to-handle-items-modification-in-sharepoint-2007), SharePoint uses optimistic concurreny e.g. ...
1
vote
2answers
775 views

Using SPServices to retrieve duplicates (e.g. Same title) of items in a SharePoint 2007 List?

From what I know, we can use SPServices to query all the list, store it into a javascript array and then make comparison to find duplicates items (using Javascript) in a SharePoint 2007 List. (I am ...
1
vote
2answers
686 views

Can't get GetListItems working in Internet Explorer 7

In the below code, I'm using SPServices library to get a list item's author's name. $().SPServices({ operation: "GetListItems", async: false, listName: ...
1
vote
1answer
628 views

PreSaveAction and CAMLQuery

I'm cross posting this from Stump the Panel for some more visibility from a wider developer base. I'm trying to create a script I'll eventually adapt into a PreSaveAction, but I'm running into a ...
0
votes
7answers
14k 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 ...
0
votes
3answers
2k views

SPServices SPGetQueryString from parent window

Not sure if it is possible using SPServices or not, or if I have to roll my own. I need to get the querystring from a parent window when using a modal to add/edit a document. Thoughts? I could use: ...
0
votes
5answers
11k 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 doesn't show any errors to me, but I am not getting the results. Can any one ...
0
votes
3answers
3k views

Unable to get data from SharePoint web service

I am using the SPServices library to call a web service on a SharePoint site from the my Sites area. The domains are set up as 'https://intranet.domain.com' and 'https://mysites.domain.com'. So I ...
0
votes
2answers
5k 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
3answers
6k 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
2answers
172 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
998 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
3answers
12k 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
3answers
12k 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 EditForm/...
0
votes
1answer
47 views

CAML Query is not filtering anything when using a Person or Group type column

I'm trying to get a list count based on the CAML query below, but it keeps returning zero. It should return the number of projects assigned to a designer (person or group type column) which their ...
0
votes
1answer
68 views

lookup columns are displaying an “ID;#” how to remove them using jquery

I am using spservices to fetch the lookup value . I have used the below code in All items .aspx and is working fine. However the lookup value is showing like this 49#;santosh@gmail.com;#19;#afre@...
0
votes
1answer
607 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
2answers
1k views

Add users to the group using SPServices?

I created a button in sharepoint site using content Editor,when the current users click on the button he must have to add to that particular group,can any one give example how to add current users to ...
0
votes
2answers
42 views

Are the SharePoint services a web services or windows services?

Are the SharePoint services a web services or windows services? please provide me with references thanks,
0
votes
2answers
5k 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
1answer
4k 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
160 views

Fetch the document name from Document Library using Document ID

I have a Document Library with multiple documents. One can select multiple documents even all the documents at a time. I need to fetch the documents name which are selected in Javascript using JQuery &...
0
votes
2answers
176 views

Javascript GetListItems with space in column name

I know there are a few questions out there already, but I can't seem to get any of them to work. Please help. $(document).ready(function() { $().SPServices({ operation: "GetListItems", ...
0
votes
3answers
44 views

Services on SharePoint 2013 servers

I just setup a new SharePoint 2013 farm and have these services running on both of my WFE servers and both of my APP servers. Can someone tell me if this is correct, or what the best practice is for ...
0
votes
2answers
55 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 ...
0
votes
1answer
509 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 ...
0
votes
1answer
2k 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
408 views

Filter DataView web part using SPServices

Ok, this is the issue: I have a Data View web part which I would like to filter depending the "office" the user logged in belongs. I can get this using SPServices (GetUserProfileByName): JS $()....
0
votes
2answers
962 views

Get user ID from display name?

My users need a feature which will replace all instances of someone's name (assuming he/she is fired) with someone else. I use SPService's UpdateMultipleListItems action which works fine, but for ...
0
votes
2answers
6k 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
2answers
281 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
2k 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
3k 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
2k 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
4answers
2k 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
753 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 through Content Editor WebPart ? ...
0
votes
2answers
35 views

SPServices : Write data into a list with UpdateListItems

Context : I was trying to use UpdateListItems to write some html textbox data into a custom list. The list "Cabinet" contains 13 columns and has already a line of data, only the first column "name" is ...
0
votes
1answer
24 views

how to prevent duplicate values for people and group column sharepoint 2010

I've column in a list where we are adding the user name(column type = user and group). If the user is already added in the list and same user if I want to save I should get error message user already ...
0
votes
1answer
37 views

How to start a “Workflow 2010” with CSOM in Sharepoint Online

I am creating a workflow that sends an email to internal & external users. Since, in sharepoint Online, workflows are not allowed to send emails to external users. It is not the case in "workflow ...
0
votes
1answer
54 views

Spservices autocomplete with many columns

Could somebody advise how can I make autocomplete for multiple columns, currently I'm using it for one column: $().SPServices.SPAutocomplete({ sourceList: "My list", sourceColumn: "Email", ...
0
votes
1answer
71 views

Loading multiple SP.SOD.executeFunc('sp.js', 'SP.ClientContext', functionname);

Share experience As recommended in various posts I changed the way the functions load from $(document).ready(function() { functionName(); }); to SP.SOD.executeFunc('sp.js', 'SP.ClientContext',...
0
votes
1answer
97 views

SPServices.SPGetCurrentUser does not work on subsite level?

I am using SPServices to get current user like this: var user = $().SPServices.SPGetCurrentUser(); This works fine in the main site, but when I use the same line of code in subsite, I get: ...
0
votes
1answer
70 views

Bootstrap Carousel with jQuery to query the images from Picture Library

I am having trouble having the jQuery to fetch the images from the Picture Library in SharePoint and display on bootstrap carousel. I'm very new to this functionality using jQuery and I think I am not ...
0
votes
1answer
43 views

how to get the large thumbnail of picture url

how can I get the Large Thumbnail of user picture,because by debaut it give the Medium: $().SPServices({ operation: "GetUserProfileByName", async: false, webURL: ...
0
votes
1answer
49 views

SPServices GetListItems not working with large list

I am trying to get the last 100 items entered into a list with 13000 items in it. I can pull items from another list on the same site fine but for this list it doesn't seem to get into the ...