Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [spservices]

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

0
votes
1answer
606 views

Spservices autocomplete with many columns

Could somebody advise how can I make autocomplete for multiple columns, currently I'm using it for one column: $().SPServices.SPAutocomplete({ sourceList: "My list", sourceColumn: "Email", ...
0
votes
2answers
954 views

SPServices.SPAutocomplete cannot read property 'find' of undefined

I have created a SharePoint page and inserted text box using content editor web part with title of FilterTextBox <input type="text" title="FilterTextBox"/> and I have inserted below script ...
0
votes
1answer
26 views

Bulk item Insert/update in SharePoint list using JavaScript

I want to add items in bulk (around 13000 entries) into the SharePoint list using the JavaScript. For this I have already user CSOM Client Context Batch insert code and also I tried the SP.Services() ...
1
vote
1answer
2k views

Looking to retrieve user's groups in SharePoint

I am running SharePoint Foundation 2010. I have a claims based site setup to use a trusted token provider. I am passing it a set of claims that determine the user's group. They look similar to this: ...
1
vote
4answers
18k views

Get value from drop down using jQuery (lookup column)

I feel like this should be an easy one but am having trouble finding the answer here and via Google. Using jQuery, how do I retrieve the currently selected value from a dropdown in an EditForm/...
0
votes
1answer
915 views

$().SPServices.SPUpdateMultipleListItems

is it possible to use camlQueryOtions like var camlQueryOptions = "<QueryOptions><Folder>" + searchfolderName + "</Folder></QueryOptions>"; with $().SPServices....
0
votes
3answers
46 views

Code not Recognizing SP Services

I am getting error that I see in Developer Tools - Cannot read SPAutocomplete of undefined. I check in the Network tab and clearly see SP Services file loaded as is jQuery. I checked the browser ...
5
votes
4answers
12k views

Multiple Values in CAML query from Array? SharePoint 2010 using jQuery/SPServices

So if I use SPServices to GetListItems with CAMLQuery, is it possible to insert multiple values inside Value Type='Number'> here I would like to evaluate things throught a flow in my page, add to an ...
1
vote
2answers
6k views

SPServices GetListItems don't work most of time

I'm using SPService in a list for take some information from an other list. It works just sometimes... I need to refresh lot of time before it works .... Here is my code : <script type="text/...
0
votes
2answers
1k views

Sharepoint Online - 3 Level Cascading Dropdown - Stops working on addition of 3rd Level

I've been browsing and looking for tips here on creating a 3 level cascading dropdown on Sharepoint Online (O365 and Sharepoint Designer 2013). I've been able to get a 2 level one working perfectly, ...
0
votes
1answer
1k views

SP services multiple lookup

I've managed to get information from a multiple lookup with the line below, however it returns a single string. I need to compare each item to a known path. i.e. IT, IT/sub1, IT/sub2 etc. so ...
1
vote
1answer
600 views

SharePoint 2010 - REST - retrieve group members

I am building a form using REST and am trying to create a drop down based on a person/group field. '..ListData.svc/listNameFieldName' does not seem to work for those field types and accessing '.....
0
votes
1answer
5k views

SPService GetListItems with CAML : can't get the example to work with status giving error

I am new to SPServices and trying start with example GetListItems. Below is my code $(document).ready(function() { GetTasks(); }); function GetTasks() { var method = "GetListItems"; ...
1
vote
2answers
1k 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
1answer
2k views

How to get the email id from people picker field using CSOM in SP 2010 Custom List Form

I have written the below code for getting the display name from the PeoplePicker field on PreSaveAction() call in my custom list form in SP 2010. I got the displaytetx attr: mydomain\name2 Now using ...
0
votes
1answer
32 views

Button that sets dropdown value onclick in Edit Form SPO 2013

INFO/OVERVIEW Using Sharepoint Online 2013/Classic view. The library name is SourcesLibrary On the *SourcesLibrary** Edit Form, there are (3) columns: The dropdown column is called Document, which ...
4
votes
4answers
961 views

How to restore a previous document version via client-side API?

Is there a way to restore a previous version of a document, using client-side code? I've been looking at the REST API, Lists Web Service, and SPServices JS library, but couldn't find any methods for ...
3
votes
2answers
12k views

How can I pass a Parameter via Query String to populate a lookup field on a New Item Form/DVWP?

I have two lists: List A: Products List B: Requirements I'd like to have a nice Create Requirement page launched from the Product Listing page. I have a DVWP/Multi-Item View displaying all Products....
3
votes
1answer
1k views

SPServices $().SPServices.SPFindPeoplePicker not working for required field

I am using SharePoint 2010 and SPServices to get values from people picker in custom field. It is working fine but not fetching data for required fields. can anyone help me with this. var PP = $()....
2
votes
4answers
2k 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 ...
0
votes
0answers
22 views

SP 2010 SPServices: Not able to get list items onto dropdowns with my code. Please help

The "Full Name" field is a calculated field. It takes the First Middle Initial and Last name fields and concatenates them. I really only need that field to display in a dropdown. Then, when the user ...
1
vote
2answers
2k views

Bind the DateTimeField field with Today's date using SPServices and jQuery

How to bind the DateTimeField field with today's date using SPServices and jQuery? I can't use the default Today to set the column in the Sharepoint UI to use Today's Date as the default value in my ...
6
votes
1answer
2k 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 ...
4
votes
3answers
1k 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 ...
6
votes
1answer
4k 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
2answers
365 views

How to redirect users to a different page/URL on a SharePoint save button click in New item form?

I am having an issue about redirecting users to a different URL on Save or Cancel button. First of all I have used below code to change SharePoint list new item form's Save button to Submit. <...
2
votes
1answer
604 views

Getting ALL Recurrsive Items from Sharepoint 2010 Calendar List using SPservices

Is there is any CAML quey to fetch all the recurring events from SharePoint 2010 Calendar List. i.e not for single year or month. Eusing the <DateRangeOverlap> CAML query we can get events of ...
2
votes
2answers
1k views

Set Welcome Page using Javascript only?

Is it possible to set the Welcome Page of a SubSite using only Javascript? I'm looking to create an Onclick Event that does this. Anything would help.
0
votes
1answer
61 views

SPServices/jQuery and rich text fields

I'm trying to use SPServices to render rich text on a page using the GetListItems method. I've seen a couple of articles with different solutions (jQuery to get rich text) but I'm still not very clear ...
0
votes
2answers
637 views

SharePoint SPServices query and sum list items

I have 3 dropdown menus, in those 4 fields I have choices to query a SharePoint 2010 list using SPServices Dropdown filters are: Year, Month, Company List fields are: Year, Month, Company, ...
0
votes
1answer
630 views

insert multi line text into list using spservices

How to insert multi line text data into share point list using spservices. I have tried beloow code but its not working $().SPServices({ operation: "UpdateListItems", async: false, ...
0
votes
4answers
2k views

Auto populate people picker from current user

I'm using Sharepoint 2013. I tried following code to auto populate people picker from current user, but its not working. (Requester AD ID is people picker and account is AD ID of user) var adid= $()....
0
votes
1answer
26 views

Active Directory profile pictures sync with

How to import Active Directory profile pictures into SharePoint 2019? SPMA EXPORT is not working. It shows stopped. Any help?
0
votes
0answers
22 views

Error loading javascript code in content editor webpart in other browser except IE 11

I have added content editor webpart in NewForm.aspx in SP2013 and reading the code to javascript file called HideFields.js. The script is working as expected in IE 11 but not in Firefox, Chrome and ...
1
vote
2answers
733 views

sharepoint Browser issue (Edge)

SharePoint 2013, Recently they have updated to Windows 10 from 7, with Edge as a default browser. All the custom client side javascript (Ex: Using SPServices to read list items from different webapp ...
0
votes
1answer
50 views

SPServices.SPCascadeDropdowns is not working “XML Parsing Error: not well-formed”

I am working on a sharepoint online team site. and i want to define a Cascade drop down for main and sub categories. so i follow the steps mentioned in this Demo. Where in my case i created 3 lists ...
0
votes
0answers
11 views

List Driven, Cascading, Multi-Choice form fields

I am looking to be able to select multiple values like this. Circle Red Blue Triangle Green Blue Square Yellow Green Red Blue So I can have a Circle-Blue; Square-Yellow; Square-Green; as the ...
3
votes
1answer
650 views

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

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

List of users having access to folder/document in the library (SPServices)

I am trying to list all users/groups who has access to folder inside library. Code below which I tried works fine for library/list itself but not for (sub)folder. My guess is that it is not possible ...
0
votes
1answer
30 views

remove all users from a SPGroup on Save button click in NewForm.aspx using CSOM/REST

on save button click of my newsplist newform.aspx, i need to remove all the users from the custom spgroup. i tried with REST API, but there is no method to delete all users from the group! its allows ...
0
votes
3answers
709 views

rendering, spservices and view title header counts

For my sharepoint list, I have several views, which all reflect the same basic list, but with different filters. I am wanting to render the header section of this page, and to suffix each view header ...
0
votes
1answer
721 views

SPServices UpdateListItems not working

I created a list called testlist then I created a html within the same site with the following layout <table> <tr> <td><strong>List Item to be added</strong></td> &...
0
votes
1answer
801 views

Create List item Sharepoint 2010 REST with Choice column

I am trying to create one new list item in Sharepoint 2010 using REST. Coding var itemProperties = { 'Title': ;Raja;, //Single line String 'Expiry_x0020‌​_Date': "02/02/2016", //Date '...
1
vote
1answer
746 views

Create a LookUp Column using SPServices “UpdateList” operation

I want to dynamically add a new list ("AddList" operation), and then use the SPServices "UpdateList" operation to add "newFields". I was able to get the "Text" fields to add properly, but the LookUp ...
0
votes
1answer
24 views

SPServices SPDisplayRelatedInfo displayFormat:“none”

I am having an issue when using the displayFormat: "none" with SPDisplayRelatedInfo. My plan is to populate fields on the new and edit forms with the data from the selected lookup item. When I set ...
2
votes
1answer
51 views

SharePoint SPService SPCascade dropdown show none in the edit mode

We have 2 relationship lists such as Category and Sub Category List We successfully set cascade behaviour in the new item page. $().SPServices.SPCascadeDropdowns({ relationshipList: "...
0
votes
1answer
870 views

Filtering list view based on querystring using jQuery?

Using Sharepoint 2010 Content Editor Web Parts (some links dynamically created) List View Web Part Ability to add additional software or packages to the system extremely limited (so would prefer ...
1
vote
1answer
40 views

Get Modified date of current page in Site Pages using SPServices

Using embedded script on a page from "Site Pages", I want to display the Modified date at the bottom of the page (I also want to display a custom column called "Page Owner", but I have figured out how ...
0
votes
1answer
3k views

Autofill column values of a list based on another list column value

I am an newbie to JS, SP Services and JQuery. I am on SharePoint Online environment. I have a List A with columns Title (Text Field), Location (Choice field) and Event Date (Date field). I have a ...
1
vote
2answers
979 views

Unable to add custom list item using SPServices

I'm testing a basic insert new list item to custom list when user landed sub-sub site. JS libraries are both reference in master page and path work perfectly. First I'm getting Synchronous ...