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.

6
votes
1answer
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 ...
4
votes
3answers
1k 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 ...
6
votes
1answer
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 ...
0
votes
2answers
205 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. <...
2
votes
1answer
597 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 ...
2
votes
2answers
1k views

Set Welcome Page using Javascript only?

Is it possible to set the Welcome Page of a SubSite using only Javascript? I'm looking to create an Onclick Event that does this. Anything would help.
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
2answers
620 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
1answer
621 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
4answers
2k views

Auto populate people picker from current user

I'm using Sharepoint 2013. I tried following code to auto populate people picker from current user, but its not working. (Requester AD ID is people picker and account is AD ID of user) var adid= $()....
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
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 ...
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
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
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 ...
3
votes
1answer
650 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 '...
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
3answers
701 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
1answer
711 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> &...
0
votes
1answer
764 views

Create List item Sharepoint 2010 REST with Choice column

I am trying to create one new list item in Sharepoint 2010 using REST. Coding var itemProperties = { 'Title': ;Raja;, //Single line String 'Expiry_x0020‌​_Date': "02/02/2016", //Date '...
1
vote
1answer
739 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
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 ...
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
865 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
2answers
912 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 ...
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 ...
0
votes
1answer
899 views

$().SPServices.SPUpdateMultipleListItems

is it possible to use camlQueryOtions like var camlQueryOptions = "<QueryOptions><Folder>" + searchfolderName + "</Folder></QueryOptions>"; with $().SPServices....
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 ...
1
vote
2answers
965 views

Unable to add custom list item using SPServices

I'm testing a basic insert new list item to custom list when user landed sub-sub site. JS libraries are both reference in master page and path work perfectly. First I'm getting Synchronous ...
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....
0
votes
1answer
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
2answers
1k 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 ...
1
vote
1answer
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
1answer
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"; ...
3
votes
1answer
1k 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 = $()....
0
votes
1answer
1k views

Sharepoint Online - 3 Level Cascading Dropdown - Stops working on addition of 3rd Level

I've been browsing and looking for tips here on creating a 3 level cascading dropdown on Sharepoint Online (O365 and Sharepoint Designer 2013). I've been able to get a 2 level one working perfectly, ...
2
votes
4answers
2k 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 ...
1
vote
2answers
2k 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 ...
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
93 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
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" ...
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 [项目联系人信息] ...
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 ...
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
213 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 ...
3
votes
4answers
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 ...
-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
116 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"></...