Stack Exchange Network

Stack Exchange network consists of 174 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
22 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
54 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
32 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
41 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
17 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
46 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
45 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
60 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
103 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
126 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
23 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
55 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
53 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
85 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
64 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
21 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
245 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
15 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
36 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
20 views

Save Mass Data | Spservices

What is the best way to insert bulk items into a Sharepoint list? Currently to insert several objects into a list I do the following: :: For each object I call the insert function in the Sharepoint ...
0
votes
0answers
46 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
31 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
24 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
52 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
183 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
15 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
288 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
31 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
345 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
759 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
65 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
0answers
33 views

SP User Property SipAddress using Javascript?

So to get the user's Display name I have been using: user.get_lookupValue(); or Email user.get_email(); However trying to get sipAddress seems to not work. Any ideas?
0
votes
2answers
645 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
66 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
56 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
0answers
27 views

Access user of Active Directory Group which is added in SharePoint Group via SPServices

In a SharePoint group, I have added an Active Directory group. Now a current logged-in user is in the Active Directory group. There is a list on which there is restricted permission to this SharePoint ...
0
votes
2answers
321 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
216 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
499 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
169 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
83 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 ...
1
vote
0answers
32 views

SPServices how to query or check if an event exists within a specific time

I have multiple calendars assigned to a conference room and goes to an approval process. I want to create an application where I can select dynamically a calendar and add event to it through a form. ...
2
votes
1answer
217 views

Install-SPService : Exception has been thrown by the target of an invocation

I joined a second web front end server following the instructions in this technet page. When I had to perform this: Install-SPService I got the following error: Install-SPService : Exception has ...
0
votes
2answers
304 views

How to fetch only the last approved version of a List Item O365?

I have enabled content approval for a custom list. And I have a html page where the requirement is to show all the approved items in the list using SPServices. With content approval enabled, users ...
0
votes
1answer
253 views

How to adjust height of SharePoint Lookup Field Multi-Select

I saw how to adjust multi select lookup field width (solution here: How to adjust width of SharePoint Lookup Field Multi-Select), but maybe anyone can tell me how to adjust height?
1
vote
1answer
383 views

CAML - Get Items Under ALL existing Folders

I have about 10 Document folders in my list 'ZooLibrary' and I would like Query to display all the PowerPoint files title from the folders in the list, sorted by ID. Currently, my View Scope='...
1
vote
2answers
844 views

Hide specific column in list view based on user's membership

In SharePoint 2013 site, there is a custom list which has a column that should be visible to only one particular SP group. That column will not be in forms (new/edit/disp) so I don't need hiding it ...
1
vote
3answers
178 views

SPServices - Cascading Dropdown dont works

i have the proplem that the Cascading Dropdown with SPServices dont works. I searched a lot in the internet and in other community-forum but i cant find a solution. I have 3 lists: Firmen ...