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
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
0answers
4 views

SharePoint SP Services error

I am getting an error - $(...).SPServices is not a function at AddListItem - with the below code. I have referenced the SPservices js correctly function AddPoints() { $().SPServices({ ...
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 ...
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"; ...
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 ...
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 ...
2
votes
2answers
2k 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 ...
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 ...
1
vote
2answers
3k 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
1answer
826 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
840 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> &...
4
votes
3answers
2k 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 ...
1
vote
2answers
1k 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
3k 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
2answers
870 views

Using SP Services to get data, Need only top 5

So, as the title suggests, i'm using SP Services to get data from the "Comments" List. I can retrieve the data fine but i'm trying to limit what is returned to only the top (Let's say 5) comments by ...
0
votes
2answers
1k 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 ...
0
votes
1answer
1k 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 ...
1
vote
1answer
2k views

Looking to retrieve user's groups in SharePoint

I am running SharePoint Foundation 2010. I have a claims based site setup to use a trusted token provider. I am passing it a set of claims that determine the user's group. They look similar to this: ...
0
votes
2answers
1k 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 ...
0
votes
1answer
1k views

$().SPServices.SPUpdateMultipleListItems

is it possible to use camlQueryOtions like var camlQueryOptions = "<QueryOptions><Folder>" + searchfolderName + "</Folder></QueryOptions>"; with $().SPServices....
0
votes
1answer
113 views

AddListItem is not populating the List in SP2013

I have a knowledge check in HTML form, so I cant inject into CEWP or SP pages. It needs to be JS, CSS, and HTML. How do I populate a list if someone completes a Knowledge Check? It will add the score, ...
0
votes
3answers
802 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
0answers
29 views

Need script solution for SharePoint 2013 list? It returns all names vs just the active ones

Anyone have a solution as to what is missing in this script: It returns all the names in the list vs just the active ones? function OpenEmpReport() { var webURL = 'https://....................'; ...
0
votes
1answer
15 views

SP Services Does not Open Link Correctly

I was looking at my code and it seems that tempObj2.filename = $(this).attr("ows_URL") grabs the URL and Description field which makes the a href invalid when opening in the front end. When ...
1
vote
1answer
40 views

SPServices is not working in one environment and working in one SharePoint environment/

We deployed solution in one SharePoint server, and uploaded the js file after solution deployed. we are getting the following errors on debugging JS. SCRIPT438: Object doesn't support property or ...
0
votes
2answers
783 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
59 views

Two of the same Service instances and stuck on starting/stopping - How to remove one Instance - OnPrem SharePoint 2016

So we recently updated our SharePoint Farm (6 Servers [2 Web, 2 App, 2 Search]). Everything is working fine beside, SQL Server Repoing Service. We had some problems with getting the settings correct ...
0
votes
1answer
762 views

Spservices autocomplete with many columns

Could somebody advise how can I make autocomplete for multiple columns, currently I'm using it for one column: $().SPServices.SPAutocomplete({ sourceList: "My list", sourceColumn: "Email", ...
0
votes
1answer
73 views

SharePoint 2013 SPServices UpdateListItems 403 FORBIDDEN

I have been using the SPServices UpdateListItems code below for several years on an on-premise SharePoint 2013 Enterprise server without any issue. However, we recently migrated to a new cloud-based ...
1
vote
1answer
729 views

SharePoint 2010 - REST - retrieve group members

I am building a form using REST and am trying to create a drop down based on a person/group field. '..ListData.svc/listNameFieldName' does not seem to work for those field types and accessing '.....
0
votes
1answer
23 views

When Calling a JQuery via ID element, it shows twice

When I am calling a JQuery using the ID element in the Div tag, its showing up twice. Is there something I need to do to stop the double showing? Below is my code and under that is the outcome (...
0
votes
1answer
5k views

How to create autocomplete field from normal textbox and a list in Sharepoint 2013?

I found a method how to add an autocomplete function to a simple textbox by using the following code: <script language="javascript" src="/JS/jquery-1.6.2.min.js" type="text/javascript"></...
0
votes
1answer
705 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
1answer
265 views

Displaying only duplicate items based on column value (e.g. Title)

Trying to figure out a way to Create a list of duplicate list items based on a column contained in such a list. In my example, it is the title column. First, I was thinking that I could create a ...
4
votes
1answer
2k 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 = $()....
3
votes
2answers
482 views

SPCascade Dropdown Required Field

We are running SharePoint Online, and are using jquery.SPServices-2014.02.min.js with jquery-1.10.2.js. Simply we tried using SPCascadeDropdowns documented at the link below: https://spservices....
3
votes
1answer
679 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 ...
3
votes
1answer
660 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 '...
1
vote
1answer
28 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 ...
0
votes
3answers
5k 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
89 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
112 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
32 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
9k 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
6answers
10k views

Filter list data using SPServices, CAML Query, and dropdown list

I'm trying to create a table using SPServices to fetch the data, and filter it using CAML Query and a drop down list. I would like to create three conditions: A. If no item from the list is selected, ...
0
votes
1answer
85 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
55 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 - ...
2
votes
1answer
2k views

Fetch the document name from Document Library using Document ID

I have a Document Library with multiple documents. One can select multiple documents even all the documents at a time. I need to fetch the documents name which are selected in Javascript using JQuery &...
2
votes
2answers
3k views

how to get current sp user department using javascript/spservice

How to get current login user department using java script or spservices? Any idea?
1
vote
3answers
123 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....

1
2 3 4 5
12