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

Update SharePoint 2010 List with onclick event

I have a SharePoint list of devices, the columns are as follow, text and choice. The choice is either In or Out. I wanted to have a webpage that the controller of these devices could click on a ...
0
votes
1answer
29 views

Getting Recursive items from SharePoint Calendar

Any idea on this below scenario In the case I have an item that starts at 01/01/2014 and ends at 01/01/2025 with a recurrence every Tuesday, the query returns all items from today until today + year. ...
0
votes
0answers
59 views

Loop through array and update metadata on files using relative URL only

I've got a script that combines JavaScript, jQuery, and SPServices to build an array of documents, copy each file or subfolder to an alternate location, then update the original file to indicate it's ...
0
votes
0answers
42 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 ...
0
votes
1answer
89 views

$().SPServices.SPUpdateMultipleListItems

is it possible to use camlQueryOtions like var camlQueryOptions = "<QueryOptions><Folder>" + searchfolderName + "</Folder></QueryOptions>"; with ...
0
votes
0answers
214 views

Filtering MultiLookup Value Using SPServices SPCascadeDropdowns / SPFilterDropdown CAML Query Call

I need to filter a multilookup field in the list form and for that i am using SPServices lib, I have the following function call to SPCascadeDropdowns method of SPServices: /* FILTER LOOKUP - SP ...
0
votes
0answers
90 views

SP2010: Displaying CAML query results in XsltListViewWebPart

How can I get my CAML query to call the results on a XsltListViewWebPart in SP2010? Before I continue, 3rd party codes are not supported in the environment I'm working with and this particular page of ...
0
votes
1answer
84 views

SPServices Casade Dropdown List Item Threshold

I am using the SPServices.SPCascadeDropdowns function. The relationship list just recently went over the 5,000 list item threshold limit. I now get this error where my fields used to be: This is a ...
0
votes
1answer
38 views

SP2010 - How to set URL for GetRatingOnUrl method?

I'm trying to get the ratings for a list item in a custom list, using the GetRatingOnUrl method. List is rating enabled. I'm accessing this method via the SPServices jquery library. I'm not sure how ...
0
votes
1answer
825 views

SPServices - GetListItems - formatting results

I am using SPServices in Sharepoint 2013 to get some results from cutom list named "navigator" presented here: and for this purpose I am using code: <script type="text/javascript" ...
0
votes
1answer
511 views

How do I upload/copy file to SharePoint Document Library with MetaData from C# client using NTLM authentication

How do I create a c# console app that will run on a desktop, not on the SharePoint server, where I want to upload a word document, including some metadata, such as "Category" to a remote SharePoint ...
0
votes
0answers
55 views

Change View Name Using js SPServices

I am attempting to write a Javascript function that uses SharePoint Web Services and the SPServices jQuery library to update the name of a view using the Views.UpdateView method. I have successfully ...
0
votes
1answer
179 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
0answers
205 views

Using jQuery SPServices to start a SPD reusable workflow

I am trying to initiate a SPD workflow that has been defined at the web's content type level. The workflow is associated to the content type and I can start it from the SP UI without issue. The item I ...
0
votes
0answers
244 views

SPServices.SPCascadeDropdowns - Display Title rather than key

I'm using SPCascadeDropdowns to filter a child drop down which is working. However, I would like to display another column than the one in the relationship. I have created two lookup columns that ...
0
votes
0answers
110 views

Error: The value of the property 'Menu_Unhover' is null or undefined, not a Function object

I would appreciate it if someone could help me out here. I have a SharePoint global navigation bar that I'm using in SharePoint 2010. Every time I apply this script, I get the following error ...
0
votes
0answers
60 views

Error while updating list item using SPServices

I wanted to update a hidden control in an edit form on the pre-submit(), using SPServices in presubmit(). The status is showing "success", but the xdata.text is showing the error "Access Denied". ...
0
votes
1answer
100 views

Does GetListItems not work with content types?

I have been trying to use GetListItems using jquery and SOAP to fetch data from a list. The list does not have an 'item' content type but is using two other site content types (both inherited from ...
0
votes
0answers
15 views

Change event for SPServices.CascadingDropDowns

I have a custom SharePoint 2010 list using SPServices.CascadingDropDowns which works just fine. My issue is that I would like to set a change event on the Child column but I am having no luck. I ...
0
votes
0answers
117 views

Document Library EditForm that Saves then Redirects to Page with Query String

In SharePoint 2010, with a document library, the default editform resets the Source parameter in the URL which prevents you from navigating users back to source after selecting the Save button. This ...
0
votes
0answers
165 views

"like' button in Sharepoint 2010

I have a subsite in Sharepoint 2010 forum type and I need to add a button "like" next to the "comment" button. I searched the internet for a way to do this with spservices, though I just found in ...
0
votes
0answers
122 views

SPservices radiobutton click event

I have 3 lists quiz Questions answers Quiz - list columns Title Description Number of Questions Questions Quiz-title (from the above list) tells which questions belong to which quiz ...
0
votes
0answers
140 views

Start Workflow with Initiation Form via Ribbon

I want to start a workflow for selected items using JavaScript and a custom button on the Ribbon. I was able to get this working with the help of SPServices. In essence I needed to get the item id, ...
0
votes
1answer
468 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.
0
votes
1answer
264 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, ...
0
votes
1answer
213 views

Wait for completion of SP.RequestExecutor [duplicate]

I am using SP.RequestExecutor to add attachments to a list item. I followed Can't upload a non-text file to SharePoint App via REST API I need to wait the completation of the asynch call of ...
0
votes
0answers
103 views

Cannot Hide results from document library using JQuery Dropdown/HoverOver/MouseOver

I have a jquery dropdown menu for when a user hovers a link to display results dynamically from a SharePoint Document Library. It's working ... Problem is its not hiding the results and is displaying ...
0
votes
0answers
169 views

How to copy document from library to list attachment with SP Services?

I need to attach a document that is stored inside a document library to a list item on the same webpage. All needs to be done with javascript / jquery / spservices. Can you please help me and show ...
0
votes
1answer
1k 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 ...
0
votes
0answers
65 views

Dropdown list not getting populated usinng Spservice cascaded dropdown

I have Custom lists 1.Project Allocations 2.Skill Endorsement both lists have same lookup fields 'project' and 'employee' from other lists In skill endorsement I am using Custform.aspx where I'm ...
0
votes
1answer
435 views

How To Display A List Of Contacts In A Grid

I have a contacts list in SharePoint. In that list there are a few columns like Firstname, Surname, email etc. There is also an image URL. I would like to bring all of the information in a Contact ...
0
votes
1answer
468 views

Multiple inserts with spservices .72

I have tried to insert multiple items in to list var s=[]; $.each(f, function(){ var l = []; l.x="pp"; l.y="ll"; s.push(l) }) $().SPServices.SPUpdateMultipleListItems({ ...
0
votes
1answer
37 views

Best approach for a custom workflow

My team will soon be building a workflow for a list in SP2013. The OOB approval workflow provides most of the needed functionality, but we need the approval flow set dynamically based on names ...
0
votes
1answer
360 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
0answers
124 views

Trying to get list of groups a user belongs to

I came across this post showing how to create a permissions management webPart using SPServices. I tried to do it in SP2010 but keep getting error " User not found". I think it has something to do ...
0
votes
1answer
946 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
130 views

SPServices - Problems reading from a list on a public site with anonymous access

I'm trying to use SPServices to read from a list, store the data in some arrays and call the data back onto a page when it's needed. This works in the back-end version of our site (where our authors ...
0
votes
1answer
187 views

How to use REST with the search service?

I am currently using SP2010 and spservices to make SOAP requests for search. I am doing this client sided using javascript/jquery . But now I want to use REST and still on client side. This is my SOAP ...
0
votes
1answer
227 views

Missing viewfield column

I'm attempting to use SP services to get some information from a list. Everything seems to be going fine except for one column in the list. The column in question is a drop down selection of choices ...
0
votes
1answer
202 views

Object Expected error in Non Edit Mode only

I have an issue with Javascript errors (Object Expected) in normal mode while it works in Edit mode. Its failing on the last line shown below. $(document).ready(function() { updateListItem(); }); ...
0
votes
1answer
93 views

How to know if content was added to a SharePoint list or folder?

I'm using the GetListItemChangesSinceToken service in order to be notified for changes in a sharepoint list. This works ok for deleted items since the ChangeType return Delete , but for added items, ...
0
votes
0answers
156 views

executeQueryAsync working fine in IE problem in firefox not calling on asp button client click

function updatefeeall() { var ctx = new SP.ClientContext.get_current(); currentweb = ctx.get_web(); this.list = currentweb.get_lists().getByTitle("ClubFeePattern"); ...
0
votes
2answers
706 views

How to reference an announcement list item?

When I look at the url at a given announcement list on e.g. a fresh team site, it is something like: ...
0
votes
1answer
469 views

Get User Profile Info from Preferred Name

I am trying to fetch the manager full name when a user name is populated in the people picker control. Here are the steps I am following: Added another control on page. The ...
0
votes
2answers
778 views

I have two ways to bind gridview one is server side one is client side spservices so which one is better faster and efficient

Server side SPWeb site = SPContext.Current.Web; SPList list = site.Lists["GridList"]; SPListItemCollection items = list.Items; DataTable dt = ...
0
votes
1answer
3k views

Get URL of image from Picture Library using CAML

How is it possible to get the URL of an image that is stored in a Picture Library using CAML? Currently, I've made a CAML Query and run it in the U2U CAML Query Builder, and am seeing values like ...
0
votes
0answers
267 views

spcascade dropdowns

I am trying to implement the spcascade dropdown for achieving caascading. My cascading is achieved but somehow i get the following error on btn OK Click, Invalid postback or callback argument. Event ...
0
votes
1answer
313 views

Using SPServices to perform operation similar to the people picker - Possible?

May I know if it is possible to use SPServices to perform similar operation like the people picker in InfoPath 2007? In InfoPath form 2007, there is a field (called people-picker) that allow end-user ...
0
votes
1answer
526 views

PreSaveAction and CAMLQuery

I'm cross posting this from Stump the Panel for some more visibility from a wider developer base. I'm trying to create a script I'll eventually adapt into a PreSaveAction, but I'm running into a ...
-1
votes
1answer
4k views

SPServices geting items from list

I need to get a number of fields from my list. I've got the ID but dont know how to get the Title, Created by, Customer Name. etc. Once I get these values I want to populate the form. Code so far ...