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

learn more… | top users | synonyms

0
votes
1answer
52 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
41 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
1answer
386 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
520 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
164 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
245 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
350 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
173 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
117 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
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
200 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
2k 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
448 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
158 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
127 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
884 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
951 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
2k 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
64 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
193 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
1answer
728 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
104 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
59 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
305 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
214 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
393 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
388 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
548 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
986 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
235 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
515 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
803 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
184 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
342 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
455 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
3k 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
712 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
799 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
888 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
296 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
12 views

Creating valuepair arrays SPServices

I have the information below working, however if I have more than 3 value pairs it can be a long string. How do I turn the value pairs into an array? I tried to use this example but I'm not clear on ...
0
votes
1answer
33 views

SPServices UpdateListItems not working

I created a list called testlist then I created a html within the same site with the following layout <table> <tr> <td><strong>List Item to be added</strong></td> ...
0
votes
1answer
12 views

SPServices SPDisplayRelatedInfo css

I have modified my newform.aspx to have the $().SPServices.SPDisplayRelatedInfo details of related information is also a lookup, when I choose the columName from the dropdown, it has a hyperlink. ...
0
votes
2answers
39 views

SP2013 Trigger People Picker Validation

This question is related to an earlier question I posted, but did not get an answer on, so I am attempting a different approach. To summarize: My goal is to set a people picker value to the current ...
0
votes
2answers
81 views

SPServices Set PeoplePicker field in SharePoint 2013

I've seen a LOT of posts about this, and I am sorry to add to them, but I have spent a lot of time going through them and cannot find an answer that is working in my case. My objective is to populate ...
0
votes
1answer
26 views

SP services multiple lookup

I've managed to get information from a multiple lookup with the line below, however it returns a single string. I need to compare each item to a known path. i.e. IT, IT/sub1, IT/sub2 etc. so ...
0
votes
1answer
27 views

Get the value of a lookup column and pass to a child display page

Need to get the value of a lookup column and pass it to a child list display in a new page Use SP Services? has this ever been done not finding any info. Thank you
0
votes
0answers
46 views

Document Set created using SPServices shown as folder in WelcomePageView

After creating Document Set programatically using jQuery SPServices, if i click on Document Set Name it showing AllItems.aspx page instead of default docsethomepage. I checked in the Welcomepage view ...
0
votes
0answers
24 views

Compare list items with text value entered

I have one list with 3 columns (Title, Department, Contact person). I have one input text field & button to submit on the page from where users will type "Title" (Application title) and click on ...