Questions tagged [spservices]

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

Filter by
Sorted by
Tagged with
3 votes
1 answer
10k views

Search has encountered a problem that prevents results from being returned. If the issue persists, please contact your administrator

My sharepoint site is displaying this error when I search something I have tried deleting and creating a new search application but the problem still persists. I have also tried tried this tutorial ...
3 votes
5 answers
2k views

Need a way to identify files which have no checked in version

I wrote a script that traverses a collection, it's document libraries and gets a list of all files. I'm trying to find all the documents which do not have a checked in version and require a user to go ...
0 votes
2 answers
1k 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
2 answers
2k views

SPServices Add values to People picker field in SharePoint

How can I add or update people picker field in SharePoint list/library using SPServices I tried to post the account ID it did not worked tried display name it did not worked, do you know what is the ...
1 vote
1 answer
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: ...
0 votes
1 answer
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
1 answer
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
1 answer
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
2 answers
3k 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 ...
2 votes
4 answers
3k 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 ...
2 votes
2 answers
2k 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 ...
6 votes
1 answer
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 ...
6 votes
1 answer
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 ...
4 votes
3 answers
2k 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
1 answer
3k views

Uncaught Typeerror: b.toLowerCase is not a function

I'm using SPServices and cannot figure out why I keep getting this error thrown from the jQuery library that b.toLowercase is not a function. Here are complete details of the error: jquery-1.11.3....
1 vote
2 answers
2k 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
1 answer
85 views

Using Script Editor and/or Content Editor Web Parts Alongside an Infopath Form?

First some info about the system I'm working in: Sharepoint Server 2013 on-premise Sharepoint Designer 2013 Infopath Designer No access to Power Apps I'm new to Sharepoint. I also know very, very ...
0 votes
1 answer
1k views

$().SPServices.SPUpdateMultipleListItems

is it possible to use camlQueryOtions like var camlQueryOptions = "<QueryOptions><Folder>" + searchfolderName + "</Folder></QueryOptions>"; with $().SPServices....
0 votes
1 answer
1k 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 ...
0 votes
1 answer
35 views

Find duplicate field in another list using SPservices

When I'm adding a new item to a list Software, I want Country field would be compared to the Country field in another list (Countries) and if it's duplicate, I need to get an error and form couldn't ...
0 votes
2 answers
960 views

Using SP Services to get data, Need only top 5

So, as the title suggests, i'm using SP Services to get data from the "Comments" List. I can retrieve the data fine but i'm trying to limit what is returned to only the top (Let's say 5) comments by ...
2 votes
4 answers
7k views

Get the Account Name of the List Item Author

Using the below SPServices call, I can get the display name of the author of a list item: $().SPServices({ operation: "GetListItems", async: false, ...
0 votes
1 answer
905 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> &...
2 votes
1 answer
871 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
1 answer
357 views

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

Inside our SPFx web part we have the following code inside the spservices.js code:- spservices.prototype.getLookupFieldOptions = function (siteUrl, listId, fieldInternalName) { return ...
0 votes
0 answers
101 views

Microsoft SharePoint Foundation Subscription Settings Service stuck on "Stopping"

Stopping "Microsoft SharePoint Foundation Subscription Service" in SharePoint 2016 Server by using Power-shell command but it stuck at below line and not responding. Remove-...
0 votes
1 answer
115 views

Custom ASPX Page from HTML file SPServices Issue

I have created a custom HTML page and moved it to a Sandbox Site on my SharePoint site. I have loaded the following script in my <head></head> tag, ttps://cdnjs.cloudflare.com/ajax/libs/...
0 votes
1 answer
119 views

AddListItem is not populating the List in SP2013

I have a knowledge check in HTML form, so I cant inject into CEWP or SP pages. It needs to be JS, CSS, and HTML. How do I populate a list if someone completes a Knowledge Check? It will add the score, ...
0 votes
3 answers
853 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
0 answers
38 views

Need script solution for SharePoint 2013 list? It returns all names vs just the active ones

Anyone have a solution as to what is missing in this script: It returns all the names in the list vs just the active ones? function OpenEmpReport() { var webURL = 'https://....................'; ...
0 votes
1 answer
25 views

SP Services Does not Open Link Correctly

I was looking at my code and it seems that tempObj2.filename = $(this).attr("ows_URL") grabs the URL and Description field which makes the a href invalid when opening in the front end. When ...
1 vote
1 answer
97 views

SPServices is not working in one environment and working in one SharePoint environment/

We deployed solution in one SharePoint server, and uploaded the js file after solution deployed. we are getting the following errors on debugging JS. SCRIPT438: Object doesn't support property or ...
0 votes
2 answers
849 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
1 answer
219 views

Two of the same Service instances and stuck on starting/stopping - How to remove one Instance - OnPrem SharePoint 2016

So we recently updated our SharePoint Farm (6 Servers [2 Web, 2 App, 2 Search]). Everything is working fine beside, SQL Server Repoing Service. We had some problems with getting the settings correct ...
0 votes
1 answer
794 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
1 answer
96 views

SharePoint 2013 SPServices UpdateListItems 403 FORBIDDEN

I have been using the SPServices UpdateListItems code below for several years on an on-premise SharePoint 2013 Enterprise server without any issue. However, we recently migrated to a new cloud-based ...
1 vote
1 answer
747 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
1 answer
36 views

When Calling a JQuery via ID element, it shows twice

When I am calling a JQuery using the ID element in the Div tag, its showing up twice. Is there something I need to do to stop the double showing? Below is my code and under that is the outcome (...
0 votes
1 answer
5k views

How to create autocomplete field from normal textbox and a list in Sharepoint 2013?

I found a method how to add an autocomplete function to a simple textbox by using the following code: <script language="javascript" src="/JS/jquery-1.6.2.min.js" type="text/javascript"></...
0 votes
1 answer
747 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
1 answer
327 views

Displaying only duplicate items based on column value (e.g. Title)

Trying to figure out a way to Create a list of duplicate list items based on a column contained in such a list. In my example, it is the title column. First, I was thinking that I could create a ...
4 votes
1 answer
2k 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 = $()....
3 votes
2 answers
539 views

SPCascade Dropdown Required Field

We are running SharePoint Online, and are using jquery.SPServices-2014.02.min.js with jquery-1.10.2.js. Simply we tried using SPCascadeDropdowns documented at the link below: https://spservices....
3 votes
1 answer
713 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 ...
3 votes
1 answer
663 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 '...
1 vote
1 answer
41 views

How to display just 1 list (announcements) items SP Services

I have a web-part created using SP Services to display Announcements on my SharePoint. I have tried to copy this web part and display different list (also announcements) however I'm having trouble ...
0 votes
3 answers
6k 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. <...
1 vote
1 answer
575 views

Getting ID for a list item with JS

I am trying to set up a simple subscription tool where users can subscribe to or unsubscribe from various distribution list. The idea is that you select a user through a people picker ('subuser'), ...
1 vote
0 answers
405 views

Sharepoint putting extra "src" information in <img> tags

I'm trying to find a resolution to a problem i have never came across previously. I have created a quill rich text editor where i intend to put text and images that i can store as html in SharePoint ...
1 vote
0 answers
109 views

How can I capture a URL Parameter on a list page so that I may append it to the URL of an "Add New Item" button?

Scenario: I have a list page that has already been filtered from a prior table via a URL parameter. How do I carry that URL parameter over when "create a new item" button is clicked? Issue: On the ...

1
2 3 4 5
12