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

learn more… | top users | synonyms

10
votes
3answers
9k views

Should i have the “Microsoft SharePoint Foundation Web Application” role active on all servers in a large farm?

I've checked the resources at Microsoft TechNet, MSDN and Bing but I’m not aware of any information regarding the best practice about the configuration for the "Microsoft SharePoint Foundation Web ...
0
votes
2answers
1k 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
2k views

Add new item to child list and refresh the parent form - multiple lookup

I've created a parent list (Vendors) and a child list (software list). There can be multiple vendors for one piece of software. I've created a custom new form with a link which opens up a modal to add ...
1
vote
1answer
548 views

Issue with CopyIntoItems (SPServices) - only copy certain fields?

I am using SPServices's implementation of CopyIntoItems the following way: $().SPServices({ operation: "GetItem", Url: itemurl, async: false, ...
3
votes
1answer
3k views

Getting Version History and What Field has Changed

I am using the GetVersionCollection to get the history information from my list. This seems to be working fine; however, what I need to do is get the version history of the individual item which has ...
0
votes
0answers
15 views

SPUpdateMultipleListItems not working

I am trying to update a column in a list, changing all the items to Approved. Below is the script i am using. function approveall() { alert($().SPServices.SPGetCurrentSite()); ...
3
votes
1answer
451 views

Multicolumn textarea area to insert into SharePoint 2007 but display not correctly

I have a form that use SPServices and have a textarea field for user to insert multi rows data. The data from the textarea can be successfully insert into the SharePoint 2007 column of type 'Multiple ...
0
votes
0answers
41 views

GetListItem SPServices don't retrieve data

i'm trying to retrieve data from Sharepoint using SPServices. I created a list called "values" with two field: "Title" (text field) and "values" (numeric field). I created a js file linked to a ...
0
votes
2answers
51 views

Can I get relative path of current site with single function?

I am trying to build a breadcrumb using JS and SPServices. When I browse for a page like http://sharepoint.com/sites/News/pages/f1/f2/default.aspx the breadcrumb should show SharePoint.com > ...
0
votes
1answer
37 views

How Can I Pull data out of a SharePoint list from embedded code on the same SharePoint Domain Using SPservices and Javascript/Jquery?

I am trying to pull data from a column in a list. The list is in the same domain as the page that I have embedded code in. Here is the code, I have removed several of the functions that do not have ...
0
votes
1answer
1k views

SPServices - GetRolesAndPermissionsForCurrentUser

I have a list where one group of users is not allowed to delete items but they have view and edit permissions. All items in the list contain an attachment. However, users are not allowed to delete the ...
0
votes
1answer
45 views

SP services Get list items data issue

i wanted to update fields in a form using sp services get list items,in that only few columns are being populated in Xml response,even though the rest all fields have data ,it is not getting ...
1
vote
1answer
728 views

Update Page 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 = ...
0
votes
0answers
15 views

SPServices calls stop working in Chrome tab but work find in a new tab or browser

I've come across an issue where all my spservices calls fail on a page and I get a bunch of "400 (Bad Request)" errors along with a few "500 (Internal Server Error)" errors on my spservices calls. ...
1
vote
1answer
999 views

SPServices Autocomplete and dynamic CAML query

I have two Text filter web parts (Project and Customer Name) with Apply Filters button for one list. There is a SPServices.SPAutocomplete on each and it works great. Now, I want to show the values in ...
0
votes
1answer
26 views

Customized list form vs javascript & html solution in SP2010

I have one requirement in which we have to enter the q1,q2,q3,q4 details for 3 consecutive years for three categories, that means total 36 fields. There are some other fields similar to this. So total ...
1
vote
2answers
947 views

How to use SPServices search sql query - getting malformed query

I am using the SPServices javascript library to make a search request to sharepoint 2010 search. I am trying this query: queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' ...
0
votes
1answer
732 views

SPServices SPGetLastItem returns last id for current user

The function SPGetLastItem from SPServices returns last id for items that only the current user has created. I want a function that returns the last id for any user.
1
vote
1answer
28 views

Submitting Recurrence Data with SPService

I'm trying to use SPServices UpdateListItems() to submit events to a custom calendar list. I can submit normal events correctly but recurring events don't save properly. $().SPServices({ ...
0
votes
0answers
21 views

Sharepoint 2010, Jquery to get User Image from mysite on seperate server

I am working within an environment where I only have HTML rights and cannot run shell commands or access master pages. There are 2 sites. a SharePoint 2013 mysite and the 2010 SharePoint site. ...
0
votes
2answers
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
58 views

Need to pause While loop

I am using SharePoint 2013 in the cloud. Due to restrictions in the site, I am using JSOM and jQuery to customize a site. I have modified a Document Library edit form to create Tasks for each person ...
1
vote
2answers
40 views

Is There A Way to Determine if More Than One Option in Custom Dropdown Field?

I have a custom dropdown choice field that is created using jQuery after a date is selected and a choice box is selected as "Yes." Here is that function: function queryEvents(date){ ...
0
votes
0answers
19 views

Set the validation message of sharepoint list item column

I have a list with a mandatory field title. I have hidden the default button and added my own custom button to save the item. I am using the code below to save the item which works fine but it does ...
0
votes
1answer
48 views

SPServices - How to obtain user profile information from a user specified in a list

I currently have: A custom SP List A title field and a "user or group" field I need to use SPServices to look up the user in the list and obtain their name, email and profile picture just by ...
0
votes
1answer
686 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
1answer
18 views

How can I get a list of documents that have one or more managed metadata terms?

I have videos that are "tagged" with one or more terms from managed metadata. I want to get a list of documents in the Documents library whose tags match one or more of the video's tags. I am able to ...
1
vote
1answer
55 views

Get Display Name from Account Name

I have used SPServices to get a user profile by their name, and in the process, I wish to display their supervisor's name as well. I can pull this name from the user's object, but the supervisor is ...
2
votes
3answers
3k views

CAML Query not limiting rows

I'm using the SPServices GetListItems function to pull entries from a calendar list. All of the information is being retreived without any issues. However the RowLimit is not restricting the number of ...
0
votes
1answer
43 views

Check an user belongs to a AD group inside SharePoint Group using SPServices JQuery

I want to check the current user exisit in a AD group inside the SharePoint Group using SPServices JQuery. I used the below code snippet but not successed. Any suggestions? $().SPServices({ ...
0
votes
2answers
88 views

Get Checkboxlist selected lookup value and update the list using SPServices

I have a CheckBoxList in which there is a Lookup values. Now I need the selected values and update it to the Lookup column in the list using SPServices. I tried the below code: var selectedValues = ...
1
vote
1answer
87 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 ...
1
vote
3answers
1k views

Accessing list data from another site collection or web application using REST services?

I have a list (Links template) of URLs that is on a site collection and I was wondering if it is possible to include this list as a jQuery megamenu on another site - ideally another web application on ...
0
votes
6answers
10k views

GetListItems - No Items to return

I have been working with GetListItems, and found it to be very reliable, and easy to implement. One thing I'm trying to figure out is how to handle when there are no items in the list matching the ...
1
vote
1answer
35 views

Javascript + SPServices while executing the code doesn't show a loading modal nor modifies a button attribute

basically this is my code $('#saveButton').click(function(){ showLoadingDiv(); $('#saveButton').attr('disable','disable'); }); function showLoadingDiv(){ ...
0
votes
0answers
38 views

Get List items using Sp Services on content approval enabled List

I have enabled Content approval on SharePoint List. Able to access all the items that are in pending state through Sp-services Getlistitems. Unable to get data in soap once item is approved or ...
0
votes
3answers
198 views

SPServices getListItems CAMLQuery Issue

Attempting to retrieve items from a list where field School_id is equal to a school_id javascript variable, and using SPServices GetListItems operation. If I run the script without the CAMLQuery: ...
0
votes
1answer
63 views

Problems in SPServices functions and Claims based authentication

I have a web application using SPServices to communicate with a SP 2010 site that has been upgraded to SP 2013. Both my application server and the SP server reside in the same domain, let's call it ...
0
votes
1answer
100 views

Sp Services and calendar list

I have a SP Service call which uses GetListItems from a calendar list in SharePoint. I'm using it with the FullCalendar plugin. The events render fine that is not my question, my question is this: Is ...
1
vote
0answers
45 views

Cross Domain SPServices

I have two SharePoint web apps site1.spnet.local and site2.spnet.local. Im looking to make some cross domain spservices requests using a reverse proxy. The reverse proxy appears to be transforming ...
1
vote
1answer
42 views

Add or Remove List Item Permissions Without a Workflow

I have a list in SharePoint 2010 that has custom SharePoint forms built for different situations depending on an approval process where each item is approved by two different people. Once the item is ...
0
votes
0answers
8 views

How to Attach Information to the Beginning of Each Paragraph in a Single Entity?

I am using SPServices to append information from a SharePoint (2010) list onto a page. This information is a summary written by a user, so it can contain multiple paragraphs or it can contain one, ...
4
votes
1answer
6k views

Add New List Item with SPServices anonymously

I have an HTML5 + jQuery application with a built in contact form that I wanted to hook into Sharepoint, and Lists seemed an ideal way to do that. I used the jQuery library SPServices to get this up ...
1
vote
1answer
303 views

sharepoint 2010 - How to get document ID using spservices sql search query?

Using spservices to make search requests, I am building the query like this: var queryText; queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'>"; queryText += ...
2
votes
2answers
488 views

SP Services does not update the list item

SP Services : UpdateListItems does not update the list item. The problem lies with the value that needs to be updated. The item is updated when the value is a normal text, but when it has some special ...
1
vote
1answer
86 views

Help with RemoveUserFromGroup using SPServices

I am using SPServices to list out each permission group and then under each group, each user is listed out. Next to the user, there is a button that will be used to remove that user (and later, ...
2
votes
1answer
106 views

What are the user data returned from Person or Group column (People Only) query?

I'm using SPServices to query a SharePoint Online (2013) list that contains a Person or Group column. (This column is set to allow selection of People Only, in case that matters.) The query used is ...
0
votes
1answer
133 views

Retrieve SP-List data cross domain via SPServices?

I am trying to retrieve data from a SharePoint List hosted in a different server/domain. We are still running SP 2010 but about to migrate to 2013. I am not sure if jQuery.SPServices and CORS are the ...
1
vote
2answers
535 views

Add showWaitScreenWithNoClose to SPServices GetListItems

With a button on page which calls the function createListItems() which is added to the page as a link in a CEWP. The function takes 10-25 seconds to complete (get items from one list and add them to ...
0
votes
2answers
36 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 ...