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

learn more… | top users | synonyms

0
votes
0answers
9 views

How do I get the url pointing to a document library?

I am trying to retrieve all document libraries in a site collection using an SP.Service and place them in a container with their correspondent url pointing to the internal library. So far I have ...
0
votes
0answers
7 views

SP2010: Displaying CAML query results in XsltListViewWebPart

How can I get my CAML query to call the results on a XsltListViewWebPart in SP2010? Before I continue, 3rd party codes are not supported in the environmental I'm working with and this particular page ...
0
votes
1answer
13 views

SPServices Casade Dropdown List Item Threshold

I am using the SPServices.SPCascadeDropdowns function. The relationship list just recently went over the 5,000 list item threshold limit. I now get this error where my fields used to be: This is a ...
0
votes
2answers
48 views

Inject current date into a List column using javascript or better - SharePoint Online 2013

I would like to make a column that shows how old a list item is. Since the calculated value [Today] isn't supported I need to come up with another way to subtract date created with the current date. ...
1
vote
1answer
58 views

SPServices simple query does not work

I have the following code and it does not work. Apparently it's all right. The List name and the URL. Can anyone help me find the syntax error? PS: I use Sharepoint Foundation 2010 ...
1
vote
2answers
42 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
31 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
28 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" ...
2
votes
2answers
71 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
40 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
146 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
27 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
57 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
80 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
25 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
56 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
54 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
24 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
46 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
46 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
45 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
47 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
44 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
61 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
32 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
43 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
397 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
131 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
36 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
51 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
111 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
57 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
11 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
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
0answers
79 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
146 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
55 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
61 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
68 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
396 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
634 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
84 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
219 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
237 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
123 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
107 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
363 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
100 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 ...