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

Start Workflow via JS gives error “Value cannot be null”

Hi I am attempting to start an SP 2010 workflow using Jquery SP Services but i seem to be getting a response 500 Value cannot be null. There is not supposed to be an initiation form yet when i ...
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() ...
0
votes
3answers
47 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 ...
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 ...
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 ...
0
votes
1answer
62 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
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 ...
0
votes
1answer
54 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
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
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 ...
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
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 ...
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 ...
2
votes
1answer
53 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
99 views

Searching through REST API and CAML with Paging

I have requirement to filter two fields with substring but I found out that substring is not working in REST API it have some kind of bug. So below question stackexchange.com suggested to use listdata....
1
vote
2answers
65 views

Do I require permissions to run SPServices on Sharepoint?

I require assistance with Sharepoint. I've tried multiple ways to retrieve data from a list and have had little to no success, after much reading and searching I'm still no further ahead. I am using ...
1
vote
1answer
127 views

How to Read SP list into javascript - SPServices.SPGetListItemsJson returns key value pairs which do not belong to dataset

Environment: SharePoint 2010 jquery-1.12.3.min jquery.SPServices-2014.02.min Trying to use SPSerivces method to read a SP list into javascript. When reviewing the final output I have the ...
0
votes
1answer
64 views

How to change date display

Currently the below code gives me a date display of: 2019-01-31 00:00:00. I would like to see it displayed as: 31 January 2019 instead... <table width="35%" align="left" id="myHTMLTable" border=...
1
vote
0answers
23 views

Create new lookup item via dialog and javascript Posting new or edit list form results in error on SharePoint 365

Here is my foundation setup. create two list 1.项目联系人信息: Contains master data that provides lookup values to test3 2.test3 Contains values and one column to lookup values from [项目联系人信息] ...
1
vote
1answer
61 views

3 tier SP Services Cascading Dropdown

I have 4 lists: Category Subcategory Detail IT Service Request Column Details: Category list has one column: "Title" Subcategory list has two columns: "Title" and a lookup column named "Category" ...
0
votes
1answer
78 views

perform custom validation on custom html form against sharepoint list

How to write the custom validation using jQuery in custom HTML form? I have created a custom html form which has fields dropdown, single line of text, people picker,date, etc. and custom submit ...
0
votes
2answers
379 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
1answer
181 views

SPServices get User ID of a user using SPServices

How can I get Userid of a user based on his account name or email using SPServices I checked here https://stackoverflow.com/questions/5542208/sharepoint-2010-use-spservices-to-get-a-users-id but ...
0
votes
2answers
293 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
votes
1answer
38 views

How can i get left side-navigation's menu links with service or list?

ı need the side navigation menus to show them with a new design. How can i pull them? (example: "home" "news" "documents"....(the names and links.)
0
votes
2answers
162 views

SPServices CompleteFunc returns error

I have a problem with getting items using SPServices: <script src="servername/SiteAssets/jquery-1.10.0.min.js"></script> <script src="servername/SiteAssets/sputility.min.js"></...
0
votes
2answers
62 views

how to tell js that a colum value is changed?

i'm trying to set an step progress bar inside an item, but i couldn't make it dinamicaly because i can't catch if the field value is changed. so, can someone tell me if i can call the function when ...
1
vote
0answers
144 views

SPServices referencing throws a Uncaught TypeError: $(…).SPServices is not a function

Anyone knows how to effectively get rid of this error? I have referenced the SPServices and jquery from my site assets library and also tried referencing for cdnjs but both throw the error which I get ...
0
votes
1answer
115 views

SPServices getlistitems not all attributes are in responseXML

I have a section of my code where I am retrieving a list item using SPServices GetListItems. When pulling back the data for use I a missing one of my fields which I need for the display to work ...
0
votes
0answers
23 views

Workflow Column renders 'undefined' with attr selector

I'm using SPServices to get list items. I'm having difficulty getting the value for my workflow status column as it keeps coming back undefined. I am using the internal name so not sure why it would ...
0
votes
1answer
535 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....
0
votes
0answers
22 views

How Can I Add User To Group if the Group Has an Ampersand

I've got a custom page that allows the site administrators to manage users on two different site collections. One of the tools is a button that adds that user to the same group on those two site ...
0
votes
0answers
107 views

How can I read excel document from Document library in SharePoint 2007 using JavaScript?

I want to read the contents of excel file stored in document library in SharePoint 2007. SP2007 does not support Sandbox solution and I can't deploy farm solution. I need JavaScript based solution. ...
0
votes
0answers
93 views

How to convert the below SPServices code to JSLink?

I am using SPServices to leverage cascading in for a parent-child relationship. Its working perfectly fine but I have to opt for JSLink solution as recommended by Senior Developer because it might be ...
1
vote
1answer
38 views

CAML Query Dynamics with SPServices

I'm developing a web application using SPservices for interaction with Sharepoint lists. My question is on how to create a dynamic Caml Query using the And and Or conditions. The condition below ...
0
votes
0answers
33 views

Cascading Dropdown stopped working after JAN 2018 Patches applied

My 4 level cascading drop down stopped working after the server team applied the JAN 2018 Patches. No errors are displayed and the form works, but the cascading doesn't work. Any ideas?
1
vote
2answers
73 views

How to get ErrorCode value using jQuery from bellow SPServices xml response

How to get ErrorCode value using jQuery from bellow SPServices xml response: <Results xmlns="http://schemas.microsoft.com/sharepoint/soap/"> <Result ID="1,Update"> <ErrorCode>...
0
votes
2answers
252 views

Error updating Multiline Text Field with html content

I'm trying to add HTML content into a Multiline Text field (Enhaced Rich Text). When I set field to pure string, the field is updated: $().SPServices({ operation: "UpdateListItems", ...
0
votes
2answers
388 views

Filter Lookup column based on Current Logged in user

I have a small problem i am facing in CAML queries. Currently i am trying to filter a Lookup column based on Current logged in User in SharePoint Online. Here is my code and i am new to using SP ...
0
votes
1answer
595 views

Fetch MULTIPLE “Person or Group” values based on lookup selection

I have a list "List1" having following fields Department : Single line of text HOD : Person or group(Multiple values) There is another list called "List2" with following fields FacultyName : ...
1
vote
0answers
24 views

Fetch the Comments of OOTB Approval workflow in SP 2010 - using SPServices or JSOM

I created a SPList in SP 2010 on-prem platform, where 4 OOTB APPROVAL 2010 workflows have been created and running. Now, because of Auditing process, customer wants information of each and every items'...
1
vote
1answer
1k views

Fetch “Person or group” field value based on lookup selection

I have a list "List1" having following fields Department : Single line of text HOD : Person or group There is another list called "List2" with following fields FacultyName : Single line of text ...
2
votes
1answer
96 views

How can I use internal list name in SPServices?

I need to use internal List name in a SPServices function, but when I try, an error occurs. Example for list with internal name VeiculosOcorrencia, and list title "Veículos Ocorrência": $()....
0
votes
2answers
1k views

Sharepoint alternative to GetUrlKeyValue() when using inplview.js API

Sharepoint offers the following JavaScript function to get a QueryString parameter value: GetUrlKeyValue('a', false, 'www.example.com?a=test') I would like to know if there is a similar JavaScript ...
0
votes
1answer
78 views

SPServices in a Display Template to retrieve blog comments

I have built a display template and used the CSWP to show blog post comments and likes, however, being a CSWP it only updates once the search runs. I want the comments or likes to update immediately ...
0
votes
1answer
108 views

SP 2013 - Set Var to Lookup Value via SPServices

I need to get the value of a lookup control on a display form and store it in a variable. I was thinking I could use SPServices to accomplish this, but (unfortunately) I don't have much experience ...
0
votes
2answers
511 views

SharePoint list form person field - auto fill with current user

I have three person field in my list, in new list form I have to auto populated with current user's name only for one field. I wrote the following code. But this code auto populated with current user'...
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 ...
0
votes
1answer
293 views

Copy multiple list items from one list to another using SP services/ Rest or workflows

I am able to use spservices getlistitems to get the list items that I need to copy into a new list. Is there a way to copy these items to another list using REST API or SPServices or Workflows (...