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

CAML Query for SPServices parameter

I need to run a workflow on all items in a library. This SPServices example seems like a good plan but I'm running into problems. The library has folders and the CAML query returns only the folders, ...
0
votes
1answer
23 views

SP2010 - How to set URL for GetRatingOnUrl method?

I'm trying to get the ratings for a list item in a custom list, using the GetRatingOnUrl method. List is rating enabled. I'm accessing this method via the SPServices jquery library. I'm not sure how ...
0
votes
1answer
24 views

SPServices - GetListItems - formatting results

I am using SPServices in Sharepoint 2013 to get some results from cutom list named "navigator" presented here: and for this purpose I am using code: <script type="text/javascript" ...
1
vote
2answers
57 views

What are the advantages of using SP Services?

What advantages would I gain by using the SP Services library in SharePoint releases 2010 and later? The 2013 (and even the 2010) JavaScript Object Model and REST API seem to cover a significant ...
0
votes
2answers
30 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" ...
5
votes
3answers
140 views

Updating a single list item based on relative URL

Is it possible, using SPServices, to update a specific list item when all I have is the file path? For example, I have a file located at /site/library/folder/file.txt and I want to update a single ...
1
vote
1answer
25 views

CAML query on external list not looking beyond ECT filter limit

I have an external list which is tied to an external content type. The external content type is tied to a SQL table with about 3000 records. I have set up a Read Item operation, and a Read List ...
0
votes
1answer
47 views

How do I upload/copy file to SharePoint Document Library with MetaData from C# client using NTLM authentication

How do I create a c# console app that will run on a desktop, not on the SharePoint server, where I want to upload a word document, including some metadata, such as "Category" to a remote SharePoint ...
0
votes
2answers
67 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
0answers
21 views

Change View Name Using js SPServices

I am attempting to write a Javascript function that uses SharePoint Web Services and the SPServices jQuery library to update the name of a view using the Views.UpdateView method. I have successfully ...
0
votes
2answers
49 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 ...
1
vote
2answers
46 views

function(xdata, status) explanation - SPServices jQuery

I have recently started learning SPServices library. So if this sounds like a silly question, forgive me. I notice these lines in almost all the examples: completefunc: function(xData, Status) { ...
0
votes
1answer
19 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
2answers
40 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
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
0answers
37 views

Using jQuery SPServices to start a SPD reusable workflow

I am trying to initiate a SPD workflow that has been defined at the web's content type level. The workflow is associated to the content type and I can start it from the SP UI without issue. The item I ...
0
votes
0answers
43 views

SPServices.SPCascadeDropdowns - Display Title rather than key

I'm using SPCascadeDropdowns to filter a child drop down which is working. However, I would like to display another column than the one in the relationship. I have created two lookup columns that ...
1
vote
1answer
43 views

How to get all pages from the pages library, including those who are in a folder, using SPServices?

I have the following code, which gives me the title and FileRef of a page: SP.SOD.executeOrDelayUntilScriptLoaded( 'SP.UserProfiles.js', ...
1
vote
0answers
39 views

Huge Lists - how to make sure they still work beyond the 5k threshold

I am building a site at the moment with two lists (one for emails, one for documents) which have the potential to be massive (1.2 million entries) but it still needs to function and be searchable ...
2
votes
1answer
59 views

Sharepoint SP Services

I am using following code to get Sp List Items and display them $().SPServices({ operation: 'GetListItems', async: false, webURL: '/', listName: ...
0
votes
1answer
30 views

Display a single item from list in main site to subsite

I want to display a single(filtered) item from a list on my main site, to the homepage on a subsite. I've initially tried the CQWP but it was to limiting when it came to what fields it displayed by ...
0
votes
0answers
41 views

Error: The value of the property 'Menu_Unhover' is null or undefined, not a Function object

I would appreciate it if someone could help me out here. I have a SharePoint global navigation bar that I'm using in SharePoint 2010. Every time I apply this script, I get the following error ...
1
vote
4answers
344 views

Filter list data using SPServices, CAML Query, and dropdown list

I'm trying to create a table using SPServices to fetch the data, and filter it using CAML Query and a drop down list. I would like to create three conditions: A. If no item from the list is selected, ...
0
votes
1answer
120 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
0answers
34 views

Error while updating list item using SPServices

I wanted to update a hidden control in an edit form on the pre-submit(), using SPServices in presubmit(). The status is showing "success", but the xdata.text is showing the error "Access Denied". ...
0
votes
1answer
49 views

Does GetListItems not work with content types?

I have been trying to use GetListItems using jquery and SOAP to fetch data from a list. The list does not have an 'item' content type but is using two other site content types (both inherited from ...
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
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
0answers
10 views

Change event for SPServices.CascadingDropDowns

I have a custom SharePoint 2010 list using SPServices.CascadingDropDowns which works just fine. My issue is that I would like to set a change event on the Child column but I am having no luck. I ...
0
votes
1answer
83 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
0answers
71 views

Document Library EditForm that Saves then Redirects to Page with Query String

In SharePoint 2010, with a document library, the default editform resets the Source parameter in the URL which prevents you from navigating users back to source after selecting the Save button. This ...
2
votes
1answer
143 views

CORS with SPServices + jQuery

I need to access from a different domaine on a mobile a sharepoint list. Here is my code, a simple get request : $.support.cors = true; $(function() { $().SPServices({ operation: "GetListItems", ...
0
votes
0answers
52 views

"like' button in Sharepoint 2010

I have a subsite in Sharepoint 2010 forum type and I need to add a button "like" next to the "comment" button. I searched the internet for a way to do this with spservices, though I just found in ...
2
votes
1answer
59 views

Get all the groups and the permissions they have, on a document library (using SPServices)?

I'm trying to figure out how to get a list of all the groups that are allowed to edit/read a document library. I will need the name of each group and which permissions it has (edit or read). I used ...
0
votes
0answers
66 views

SPservices radiobutton click event

I have 3 lists quiz Questions answers Quiz - list columns Title Description Number of Questions Questions Quiz-title (from the above list) tells which questions belong to which quiz ...
1
vote
1answer
367 views

2013: Trying to pass jQuery user object to AngularJS

I am creating a SharePoint Hosted App and the default Visual Studio project uses jQuery to access the SP.clientContext to get_currentUser and save it in a global variable. To trigger an AngularJS ...
0
votes
2answers
587 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
0answers
79 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, ...
1
vote
1answer
203 views

Get unique values from Parent List in Dropdown List SPServices

I have a dropdown list created using the SPServices ($().SPServices.SPCascadeDropdowns). It works as it should, I just need to add a requirement. I need to be able to filter the Parent Lookup list to ...
0
votes
1answer
220 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
118 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
100 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 ...
1
vote
3answers
338 views

SPServices.SPGetCurrentUser

I'm using this great tool to fill some of the fields in my list. It works great when I do this one by one, but I'm trying to request multiple column values, but I can't get it to work. var ...
0
votes
2answers
96 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 ...
1
vote
2answers
59 views

Best way to implement “.exists”-type functionality to prevent duplicates?

I'm moving files with spservices (the jquery plugin) and was wondering if there was a good way to check to see if a file with the same name already exists so I can append an underscore or something ...
0
votes
3answers
514 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 ...
1
vote
2answers
194 views

How to get sharepoint user by account ID?

I only have access to account IDs. Ex 59206. No access to user names. How can I use SPservices to get the rest of the account information?
0
votes
1answer
163 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 ...
2
votes
1answer
260 views

To get the particular user's ID

I am new to SPServices, I am trying to fetch list items from a list. I am fetching the Title and a person field(Created By). When i print the Created By field ,I get the person name say XYZ. But i ...
2
votes
3answers
100 views

SPServices is the Document Checked Out SP2010

I was wondering if anyone knew how to tell if an item has been checked in or out from SPServices? I am able to get all of the nodes but I do not see one which captures the checkout. Is there a way ...