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
0
votes
0answers
11 views

SPServices - Cascading Dropdown not saving selection

I'm using the SPServices Cascading Dropdown script for a 3-tier dropdown. Everything works, except it won't save my dropdown selections for tier 2 and tier 3. After I save the item, it comes up as ...
0
votes
0answers
20 views

Sharepoint 2016 White Space Issue as soon as code is injected into content editor

Having a big issue with the whitespace. The top of the page is blank and the right hand column icons disappear as soon as I link a file to the content editor. Here is my code. I am using SP Services ...
1
vote
1answer
23 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 ...
1
vote
1answer
80 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
0answers
34 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
0answers
22 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 ...
0
votes
1answer
53 views

OOTB validation on custom new form using SPCascade

I have a custom new form that I've implemented SPServices SPCascade on. The cascade functionality is working beautifully, but now when the form is saved and any required fields are not filled out, it ...
0
votes
1answer
35 views

SPServices Cascade Dropdowns dynamic filter

I have 3 lookup columns. Site - lookup column to specify type of environment (prod or non-prod) Operating System - lookup column to specify operating system to be used (linux or windows) Templates - ...
0
votes
0answers
15 views

Having trouble with SPServices AutoComplete pulling from specific columns

I have 2 issues really. I have set this up successfully for some of my fields on my Nintex form. The autocomplete works perfectly. Issue 1: I attempted to set this up on another field on another ...
0
votes
0answers
29 views

File uploaded to SharePoint library using JQuery and SharePointPlus js lib only from second click

I'm using createFile() method of SharepointPlus 5.2 js library to upload a file to a SharePoint 2013 library. It works perfect on most of the SP libraries. But on newly created SP libraries it throws ...
0
votes
0answers
22 views

jQuery().SPServices “CopyIntoItems” ignores 'Fields' parameter and stores linked file in “_CopySource”

I'm trying to copy file with SPServices but my file stays 'linked' (if You open details - SharePoint says this is a copy and offers to unlink). I got my new item with another query and tried to ...
0
votes
0answers
67 views

plumFormAutocomplete jQuery plugin doesn't group suggestions

I am using plumFormAutocomplete jQuery plugin in NewForm.aspx to populate suggestions from sharepoint list (visitors) to fill one field (visitors name) and, based on the selection, autocomplete second ...
1
vote
3answers
58 views

CAML queries suddenly quit working; SP Online; SPServices

I have CAML queries performed against SharePoint Online lists through SPServices that have worked beautifully for 5 years. Sometime in the last couple of weeks they started returning incorrect results....
0
votes
1answer
113 views

Replace HTML list values with substring on SharePoint 2013 Custom List Field

I'm using SPAutocomplete from SPServices because I have a requirement to make a searchable lookup field rather than an OOTB lookup field (drop down menu), as there is potential for thousands of values ...
0
votes
1answer
40 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
226 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
139 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
271 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
28 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
184 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
29 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
125 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
59 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
20 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
1answer
33 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
35 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
147 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
140 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
340 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
94 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
324 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
84 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
31 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
159 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
101 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
3answers
2k 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
313 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
690 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
149 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
371 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
96 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
292 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
258 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
28 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
1k 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
193 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. ...
1
vote
1answer
91 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 ...
1
vote
2answers
110 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
413 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
473 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 ...

1
2 3 4 5
12