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
1
vote
1 answer

I can not compare a variable with a string String in SPservices

I want to hide the Ribbon in Office 365 SharePoint according to the group that this user was able to extract the group to which the user belongs, I can not compare it with a string does not fall within the IF, to hide the ribbon this is my code if I…
1
vote
1 answer

SPServices GetListItems always getting default view

I am using SP 2010 and SPServices. I define CAMLViewFields, CAMLRowLimit and CAMLQueryOptions and still retrieve the system fields like (ModerationStatus, UniqueID,...). Is there any option so that the system fields will not be in the response?…
Stev
  • 416
  • 4
  • 11
1
vote
1 answer

SPServices - how to fetch data and pass them to my custom grid (jqGrid)

My problem is that I could not find ANY simple example how to fetch data from list using SPServices. For example I have a list under http://mysharepoint/sites/mysite/Lists/Experts/AllItems.aspx there is really BIG list, but I want for testing…
susanoo
  • 289
  • 4
  • 13
1
vote
1 answer

Sorting Array hyperlinks

I am trying to get this code to sort based on the title but display the Title with a hyperlink. So far the code is sorting correctly, but the hyperlinks arent being displayed by the correct Title. It seems to be putting the list links in…
Shark Tank
  • 25
  • 5
1
vote
1 answer

TypeScript definition file for SPServices

I am wondering if anyone knows if there is a TypeScript definition file for the SPServices JS library? I have found a .d.ts file in the GitHub repo but it does not appear to be complete. I have also search (with no luck except this definition…
davidk
  • 784
  • 1
  • 6
  • 22
1
vote
3 answers

jQuery deferred/promise with SPService library

I'm trying to get my promise item from SPService SPGetListItemsJson. The issue is that when SPGetListItemsJson is invoked and when requestPromise is done and the deferred is resolve, I would expect the data to pass into my anonymously function in…
gng
  • 715
  • 1
  • 5
  • 13
1
vote
1 answer

Add URL Parameter to SPServices

I am using a simple SPServices request that works perfectly on desktop : $().SPServices({ operation: "GetListItems", webURL : "mysite.com", listName: "ListName", CAMLQuery: "", error: function (xhr, message, error) { …
Pull
  • 2,236
  • 2
  • 16
  • 32
1
vote
1 answer

Writing column data with SPServices GetListItems

I'm trying to pull information from a list in SharePoint using SPServices (a jQuery library). I'm able to access the list just fine with the GetListItems operation but I'm having trouble pulling the values from the columns. Basically, in it's…
T.J.
  • 733
  • 9
  • 27
1
vote
1 answer

How to check if validation fails while saving data in sharepoint spservice

I am using following code to save items in sharepoint. $().SPServices({ operation: "UpdateListItems", async: false, batchCmd: "New", listName: "Share Point List", valuepairs: [["Title", fnameVal], ["LastName", lnameVal], ["Gender0", genderVal],…
asdfkjasdfjk
  • 3,784
  • 18
  • 64
  • 104
1
vote
1 answer

Error in javascript file but not console?

The error in question Uncaught Error: The property or field has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested. Here is the code, just trying to get a simple count of…
Display_Here
  • 311
  • 1
  • 10
1
vote
1 answer

How to update a page's content using SPServices?

I am trying to update a Page's content using SPServices. When I run my code, it does update the correct page, but instead of updating the content, it just removes the content. var newContent = "

This is a test

"; $().SPServices({ operation:…
1
vote
0 answers

full calendar showing events twice

I have the spservices and fullcalendar working with SharePoint Online 2013. It pulls in the events. I have referenced the following files and code listed below. Any help on what I am missing would be appreciated.
Melissa
  • 11
  • 3
1
vote
1 answer

Highcharts Error #14 with SPServices

I'm new to both highcharts and jQuery and I'm experiencing problems displaying the data from a Sharepoint list using SPServices. I have two columns; one with a Date value, and another with numeric values. I'm using tutorial this as my guideline for…
cherry_bueno
  • 208
  • 3
  • 11
1
vote
1 answer

Returning Object from a Promise

I'm a bit new to using promises and am having an issue returning an object. I have the following function that calls SPServices to retrieve one item from a list. I know the SPService call is returning the list item, but the data returning is…
HarveyEV
  • 101
  • 3
  • 8
1 2
3
12 13