Questions tagged [spservices]

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

SPServices is a jQuery library which abstracts SharePoint's Web Services and makes them easier to use. It also includes functions which use the various Web Service operations to provide more useful (and cool) capabilities. It works entirely client side and requires no server install.

http://spservices.codeplex.com/

184 questions
6
votes
1 answer

datatable editable is having issue with IE

I am working on SharePoint 2010 with spservices, datatable, jeditable and datatable.editable. My version of the frameworks are as follows IE 9, 10, 11 jQuery 1.7.2 spservices 2013.01 datatable 1.9.4 datatable editable 2.3.3 jedittable N/A Now…
Milind
  • 1,855
  • 5
  • 30
  • 71
3
votes
1 answer

How to get SharePoint list field value of type person or group using ecmascript or SPServices?

Following is my code... function retrieveListItems() { var clientContext = new SP.ClientContext(siteUrl); var oList = clientContext.get_web().get_lists().getByTitle('list name'); var camlQuery = new SP.CamlQuery(); …
3
votes
3 answers

Use SPServices to display contents of a single subfolder from a document library

In SharePoint and using SPServices, I am trying to view folder contents of a specific subfolder of a document library (and not every single file & folder inside the library). The library structure looks like this: List Name: Shared…
user3711721
  • 31
  • 1
  • 2
3
votes
0 answers

Sp Services not working with Https

I have a Sharepoint 2010 installation. I am using Sp Services 2013.01 to get find if the current user is in a certain Sharepoint group. this works great if the url is not set to https. When the url is secured, the Status response from the call is…
3
votes
2 answers

Get email ID of user in SPServices

I am using SPServices (GetListItems method) to fetch some information from a sharepoint list. The list contains a "People or Group" type field which returns a numeric id and name(Display name) of the user separated by semi-colon like this "43#;John…
Mujtaba Hassan
  • 2,495
  • 2
  • 20
  • 29
2
votes
2 answers

spservices.js is returning this error:- Uncaught (in > promise) TypeError: Cannot read properties of undefined (reading > 'LookupList')

Inside our SPFx SharePoint online web part we have the following code inside a javascript file:- spservices.prototype.getLookupFieldOptions = function (siteUrl, listId, fieldInternalName) { return __awaiter(this, void 0, void 0, function ()…
John John
  • 1
  • 72
  • 238
  • 501
2
votes
1 answer

Change Created Date in SharePoint 2013

I manage a request list in SharePoint 2013, and I need to import some requests from another list. However, I want to keep the original request date rather than have SharePoint assign the current date/time that I upload the requests, so I want to…
2
votes
1 answer

Use SPServices UpdateListItems to set date in SharePoint 2013

I cannot find a working solution to set a SharePoint 2013 list date using SPServices. I have done this multiple times for other column types, but I can't figure out the right format for dates. Here's what I'm doing: var testdate = "2016-01-01…
2
votes
0 answers

SPServices.SPGetCurrentUser not working in IE browser

This code is not working in IE 9 but works in Chrome and FireFox. What changes can I make to work this code in IE? var thisUserAccount = $().SPServices.SPGetCurrentUser({ fieldName: "Name", debug: false });
Zakir HC
  • 262
  • 2
  • 4
  • 18
2
votes
0 answers

spservices raising an error as soon as I try to use functions

I'm currently trying to use SPServices to get the current user who accesses the page. My problem there is that I always get "Syntax error, unrecognized expression" when I try to do that. The code which throws the error is: var thisUserAccount =…
Thomas
  • 2,886
  • 3
  • 34
  • 78
2
votes
2 answers

SPServices GetListItems returning field values as "undefined"

I ran across a problem for which I found no documented solution, but inadvertently found the solution myself. So I wanted to document this here for others who may encounter the same problem. I was using a CAML query within SPServices to retrieve…
Ryk
  • 89
  • 2
  • 11
2
votes
1 answer

SPServices : how to get a survey?

I made a basic survey using SharePoint and I can't find how to get the question using SPServices. I only know how to get the responses of the survey, using this code : $().SPServices({ operation: "GetListItems", webURL:…
Pull
  • 2,236
  • 2
  • 16
  • 32
2
votes
2 answers

Convert JavaScript DateTime to UTC with no milliseconds

Right now I'm trying to parse a date that's written in a human-readable format into a DateTime String that a SharePoint list will accept. In order to do this I've determined that I need a String in a format similar to ISO that looks like:…
Ectropy
  • 1,533
  • 4
  • 20
  • 37
2
votes
0 answers

Using SPservices on Windows Phone - SharePoint 2010

I have a problem, Im using SPservices on a site, and it works perfectly fine. But when I access the site in a mobile phone, it doesn't work, JQuery works, just SPservices don't. Its a pretty standard use of SPservices I believe function…
Martin
  • 21
  • 2
2
votes
2 answers

Date comparison is not working in sharepoint spservices

Date Comparission is not working in sharepoint sp services...I want to fetch records greaterthen equal to current year(ie 2013) CAMLQuery: "
Mayank Kapahi
  • 316
  • 4
  • 16
1
2 3
12 13