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
40 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
21 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
28 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
23 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
9 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
17 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
28 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
23 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
29 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
35 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
65 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
60 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
94 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
57 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
58 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
67 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
209 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
154 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
214 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
29 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
120 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
60 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
122 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
97 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
442 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
19 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
69 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
73 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
34 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
32 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
66 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
231 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
0answers
24 views

Issue on SPUpdateMultipleListItems when trying to update many items

I'm calling a update on a list using SPUpdateMultipleListItems. When my query returns 70 or less items to update, everything runs ok. But when my query returns 730 items, I get this error: jquery-...
0
votes
2answers
364 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
0answers
32 views

Access Sharepoint 2010 column SETTINGS with jquery& SPServices

I need to access column properties with jquery/SPServices from client side. For instance, I have the below code. The below works perfectly, it allows me to access all rows and loop through them the ...
0
votes
1answer
521 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
23 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
989 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
81 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
72 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
78 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
446 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
2k 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
269 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 (...
1
vote
2answers
669 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
2answers
200 views

Caml query to track existing events in calendar based on date

I am developing an application using SPServices I want to track the existing events in a calendar based on posted start date and end date. my query: CAMLQuery: "<Query><Where><And>...
1
vote
1answer
123 views

Filter Multiple Fields, Select List Row, then Update List

I have a SP 2010 list which I need to filter (with AJAX) based on multiple user requirements (dates, number of attendees, room requirements, etc), each corresponding to separate columns. Next, allow ...