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

learn more… | top users | synonyms

1
vote
0answers
180 views

CAML Query on External Content Type not honoring the <In> operator

So I've been testing this out for a day or so. For the life of me I cannot get an external list to listen to honor the <In> operator in CAMLQuery. On any other type of list it seems to work ...
1
vote
1answer
60 views

Workflow form display error

I am trying to create a workflow that has an approval process. Once i create the workflow and start it. I get a task added in a Task list but when i try to view it i get this error. The form ...
1
vote
1answer
680 views

insert to sp list is not working with spservices

<script src="../../../_layouts/Gridwebpart/jquery-1.6.3.js" type="text/javascript"></script> <script src="../../../_layouts/Gridwebpart/jquery.SPServices-0.7.2BETA1.js" ...
1
vote
1answer
252 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 ...
1
vote
1answer
838 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
326 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 ...
1
vote
0answers
183 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
80 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
455 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
453 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: ...
0
votes
6answers
8k 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

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
4answers
4k 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
3answers
817 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
2answers
1k views

SPServices UpdateListItems

Ok, here's the scoop. I have bunch of lists on sub sites that I am rolling up into a list on the parent site. Here is what I have for code: var title = ...
0
votes
5answers
6k 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
5k 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
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
1answer
1k 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
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
40 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
107 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
1answer
2k 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
163 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
1k 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
743 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
33 views

SPServices GetListItems GroupBy

I am using the SPService, the method GetListItems. I need to groupBy the result (distinct). This is my code: var CamlQuery = '<Query><GroupBy Collapse="TRUE"><FieldRef Name="nameA" ...
0
votes
2answers
70 views

How to find relative URL of a document library using JavaScript?

What I am trying to do is to enable the dialog with the metadata information when I drag and drop a file in a document library. The same dialog that appears when you upload a file through the +New ...
0
votes
2answers
51 views

How to find current logged in user alias not username in SharePoint 2013 using javascript or jQuery?

I am using _spPageContextInfo object to get currently logged in username in SharePoint 2013.In this process first i will get userId value and then i will make an ajax call with this userId value and i ...
0
votes
2answers
41 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
123 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
54 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
84 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
599 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
97 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
526 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
166 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
99 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
87 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
500 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
696 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
977 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
53 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
155 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
918 views

Access and USE list data across site collections

I have two site collections in SharePoint Online environment (Office 365 dedicated). Site A: https://SharePoint.com/sites/SiteA (Data Source - Read Only Access) Site B: ...
0
votes
1answer
485 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 ...