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

learn more… | top users | synonyms

0
votes
2answers
1k 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
140 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
1k 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
311 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
125 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
111 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
718 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
854 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
1k 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
60 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
172 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
1k 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
600 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
2answers
99 views

Updating List XML on Office 365

I'm trying to create a lookup column on an Office 365 SharePoint dev site through an app using SPServices but I'm not having any luck. function createLookupColumn(listGuid) { ...
0
votes
1answer
56 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
226 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
194 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
367 views

Office 365 - Sharepoint hosted app updating lists with SPServices failing

I have a problem updating lists from my Office-365 sharepoint hosted app. My SPServices call can update a list inside my site, but when I webURL back (prune the path) to the site collection, I can ...
0
votes
2answers
353 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
529 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
3answers
2k views

'SPServices' is null or not an object

I need to find out if logged in user belongs to a specific sharepoint group (2010). I am using below code to get it. but getting javascript error as 'SPServices is null or not an object'. ...
0
votes
2answers
940 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
222 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
504 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
774 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
182 views

SPServices: Using variable as column name - possible?

When using SPServices, is it possible to use a variable to specify the column to be updated? res = lists.quickUpdateListItem('MyListHere', { ID: ReqD, columnVar : userName }); In the above ...
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
334 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
435 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
692 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
772 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
859 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
295 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
36 views

Loop through array and update metadata on files using relative URL only

I've got a script that combines JavaScript, jQuery, and SPServices to build an array of documents, copy each file or subfolder to an alternate location, then update the original file to indicate it's ...
0
votes
0answers
23 views

Using SPServices' GetListItems to sort by what the current user has “liked”

I'm using getlistitems to grab list data in SharePoint 2013, and I've managed to be able to filter by the current user's "liked" list items... but is there a way to sort by what a user has liked and ...
0
votes
1answer
50 views

SPServices : GetUserProfile with specific param

I want to use the SPService GetUserProfile, but I don't have the accountName, the GUID, the Index or the email... I only have a param which is employeeNumber (I guess this is specific to my ...
0
votes
0answers
23 views

405 Method Not Allowed when creating new item in SharePoint list from remote site

I want to create a simple webpage with a form that can create new items in a SharePoint list. I want to make this as a remote site that just connects to sharepoint. Since I had a problem with REST ...
0
votes
1answer
50 views

$().SPServices.SPUpdateMultipleListItems

is it possible to use camlQueryOtions like var camlQueryOptions = "<QueryOptions><Folder>" + searchfolderName + "</Folder></QueryOptions>"; with ...
0
votes
0answers
130 views

Filtering MultiLookup Value Using SPServices SPCascadeDropdowns / SPFilterDropdown CAML Query Call

I need to filter a multilookup field in the list form and for that i am using SPServices lib, I have the following function call to SPCascadeDropdowns method of SPServices: /* FILTER LOOKUP - SP ...
0
votes
0answers
42 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 environment I'm working with and this particular page of ...
0
votes
1answer
44 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
1answer
33 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
167 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" ...
0
votes
1answer
289 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
0answers
40 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
1answer
77 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
0answers
140 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
147 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 ...
0
votes
1answer
59 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 ...