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

Add users to the group using SPServices?

I created a button in sharepoint site using content Editor,when the current users click on the button he must have to add to that particular group,can any one give example how to add current users to ...
0
votes
2answers
36 views

Are the SharePoint services a web services or windows services?

Are the SharePoint services a web services or windows services? please provide me with references thanks,
0
votes
2answers
3k 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
1answer
3k 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
3answers
5k 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
2answers
29 views

How many different ways are there to name fields in SharePoint?

In working with SharePoint and spServices, I've run into many different ways of naming fields that depends on what you're trying to do. What are these naming schemes called? Let's say in SharePoint ...
0
votes
2answers
54 views

How set a people field with JavaScript

With SPServices I'm getting information from a list A that information contains in one of its columns a people field. In the form B I need to copy that person coming from the list A in one of the ...
0
votes
1answer
35 views

GetListItems on document library not returning items within folders

I'm using SPServices to run a GetListItems query on a particular document library. This is in implementing a custom metadata-driven search for lists/libraries. In cases when the document library ...
0
votes
1answer
47 views

How to get user account name by display name

In Sharepoint 2010 I am getting display name of the user with SPServices like 11;#John, Kondo. But I want account name like mydomain\aa2311. Is there any way to get the account name with the display ...
0
votes
1answer
189 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
399 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
3answers
4k 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
2answers
3k 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
2answers
204 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
2k 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
2k 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
5k 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
2k 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
744 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
147 views

How to verify if current user is a SCA (Site Collection Administrator)?

I have a NavBar at my master page that will only be displayed to the SCA (Site Collection Administrators). I'm using jquery SPServices to do that validation, but the only examples that i found suggest ...
0
votes
1answer
150 views

How to consolidate JS for CAML queries with multiple filters?

I'm very new at the entire JS/SPServices concept (and JS as a whole) and I'm trying to slim down the amount of JS needed for a few HTML pages. I have several unordered lists on the HTML page that I ...
0
votes
2answers
77 views

SPServices async performance

SpServices does offer the most user friendly piece of code on SharePoint, but if we enable async it still lags behind in performance when compared with the client model, any reasons? Or am I missing ...
0
votes
1answer
30 views

Populate SharePoint textfield value into dialog dropdown

Today i ran into this issue, simply described: I have a SharePoint custom list where I have added a custom button in the it's ribbon, this button pops up a custom ASPX modal dialog, this dialog only ...
0
votes
1answer
54 views

SP.ClientContext.get_current() is returning the wrong AD username?

I'm logged in as the following user myintranet\svc_q_sp_farm. The "About Me" page lists my details as svc_q_sp_farm, however the following CSOM/JavaScript code returns Sharepoint\System as the user. ...
0
votes
1answer
104 views

Cascaded drop down not working in IE alone

I have created a 3 level cascading drop down in SP2010 list. The cascading drop down is working perfectly in Firefox and Mozilla but in IE,the drop down values from level 2 are not displayed. Can ...
0
votes
1answer
145 views

Get and Alert All z:row Elements

I am using SPServices to get the list items I want returned to me from a specific list. I know how to find a particular element using this the GetListItems function without a problem. Is there a way ...
0
votes
1answer
59 views

Get List Items from list linked by lookup

I'm making a JavaScript extension for form elements. The goal is to bind it to a lookup and react on change. Since I'm weak at webservices, I'm using SPServices. var lookupFieldInternalName = ...
0
votes
2answers
108 views

Cascading Lookup columns

I have a project where I need to create a form. In that form I have several columns. The columns that I have questions about are assignment category Assignment type I have questions because the ...
0
votes
1answer
156 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
1answer
91 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
54 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
848 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
836 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
3answers
270 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
581 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
607 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
313 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
227 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
2k 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
397 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
1answer
816 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
185 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
152 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
1k 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
1k 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
1answer
85 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
214 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
1k 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
119 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) { ...