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
24 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
83 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
3answers
69 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
vote
1answer
174 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 ...
1
vote
1answer
402 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 ...
1
vote
1answer
100 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
1answer
2k 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 ...
1
vote
1answer
198 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
1answer
814 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
1answer
526 views

Using SPServices with Datatables: Table loads before SPServices GetListItem call is finished running

I'm using DataTables to display data from a list. I'm providing the data to DataTables from a SPServices GetListItems call. I had everything working fine, but a recent modification I made to the code ...
1
vote
1answer
36 views

Search page with cascading fields

we would like to build a search page which is searching publishing pages in SP2013. The search should look for values in three metadata columns. But the search dialog should be cascaded (first choose ...
1
vote
1answer
524 views

Using SPServices to return a List value for comparison

I have this code that uses SPServices to get the value from a List column...in this case the Body column from the Announcements List. The code works and it will append the Body to the HTML list. $(...
1
vote
1answer
86 views

SPServices - Local and offline

I'm using SPServices in my web applications deployed in Sharepoint and viewed through a content editor webpart. This SharePoint solution is not possible for me to access without VPN, so I'm regularly ...
1
vote
1answer
2k views

Upload documents to sharepoint with SPServices

How can i upload a document to document library in SharePoint Online using SPServices and JavaScript (Without using web parts)? I don't want to use any web services for this. Thank you.
1
vote
1answer
567 views

Sharepoint 2010 SPServices

I'm using SharePoint 2010 and SPServices to retrieve the elements of a list, but no all items, My list have these fields: Year: calculated column Month: Choice column Company: Line of text ...
1
vote
1answer
293 views

Read List Sharepoint Online in a Add-ins

What is the best method to read data of a sharepoint's list with a solution sharepoint online, I tried already method SPservices() and Rest/API but I obtains errors.
1
vote
1answer
755 views

how to prevent duplicate values for people and group column sharepoint 2010

I've column in a list where we are adding the user name(column type = user and group). If the user is already added in the list and same user if I want to save I should get error message user already ...
1
vote
2answers
399 views

SPServices Update command not using ID

Is there a way to use SPServices update command that is not using the ID as the reference field? I might use employee ID but I cant seem to get it to work. This code below shows when I am using the ...
1
vote
2answers
1k views

How to access custom property from User Profile using jquery

Environment : SP 2010 I have a custom property in User Profile called CompanyCode. I need to fetch this property using javascript/jquery in a master page. Can anyone let me know how to fetch custom ...
1
vote
2answers
200 views

2010 - Cascaded DropDown doesn't work with SPServices

I want to use SPServices to get cascaded dropdowns. A first dropdown menu will include, depending on the first choice, the choices of the second dropdown menu. I have 3 lists. The first one is a ...
1
vote
1answer
1k views

SPServices GetListItems from External List causes HTTP 500 Internal Server Error

My function only works when I'm using my SP_ADMIN user. But when I'm using another user I receive the following error message from the console: 500 (Internal Server Error) What's wrong with this ...
1
vote
1answer
1k 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
550 views

User Profile Synchronization Connections empty

I am having issues with SharePoint synchronization services. I stopped the services and started it back on. After some time all the users in the people search are missing. I did not delete any ...
1
vote
2answers
291 views

Issue in Generating Charts using Google Charts and SPServices and jQuery against SPList in SP 2010

I was trying to generate a line chart connecting to SPList as shown below. But am getting the error undefined here: alert(' inside completfunc xdata.responsexml is .....'+ xData.responseXML....
1
vote
1answer
481 views

move items to a subfolder in a document library using spservices

Have a document library called "DocLib". it has multiple sub folders(created manually). DocLib ->Folder1 DocLib ->Folder2 DocLib ->Folder3 and further "Folder1" has one more folder called ...
1
vote
1answer
593 views

Sorting Calendar List Items

So I'm trying to display the next three events on the calendar, but the calendar is sorted by date created, not start date. So I've pulled the list into an array, sorted it there, and displayed the ...
1
vote
1answer
4k views

get list items in sharePoint 2013 for google charts api

I'm trying to use Google Chart API in SharePoint 2013. My list name is Utilization and I want to retrieve columns Title and Portal for making the 3D pie chart. Here is my code : <script type="...
1
vote
2answers
1k 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 ...
1
vote
1answer
3k views

How Can I Pull data out of a SharePoint list from embedded code on the same SharePoint Domain Using SPservices and Javascript/Jquery?

I am trying to pull data from a column in a list. The list is in the same domain as the page that I have embedded code in. Here is the code, I have removed several of the functions that do not have ...
1
vote
1answer
1k views

Submitting Recurrence Data with SPService

I'm trying to use SPServices UpdateListItems() to submit events to a custom calendar list. I can submit normal events correctly but recurring events don't save properly. $().SPServices({ ...
1
vote
1answer
366 views

Javascript + SPServices while executing the code doesn't show a loading modal nor modifies a button attribute

basically this is my code $('#saveButton').click(function(){ showLoadingDiv(); $('#saveButton').attr('disable','disable'); }); function showLoadingDiv(){ ...
1
vote
3answers
21k views

SPServices getListItems CAMLQuery Issue

Attempting to retrieve items from a list where field School_id is equal to a school_id javascript variable, and using SPServices GetListItems operation. If I run the script without the CAMLQuery: ...
1
vote
2answers
2k views

Escaping the ampersand '&' in camlQueryOptions using SPServices when getting items from a folder

I've tried escaping the ampersand using <![CDATA[]], html encoded characters but it doesn't return any results. My query looks like CAMLQueryOptions : "<QueryOptions><Folder>...
1
vote
1answer
799 views

Deleting file versions except the latest version either using JSOM or SPServices

I want to write script that gets all versions of documents in site and deletes all of them except latest version either using CSOM or SPServices. I have found some information on net but could not ...
1
vote
2answers
2k views

SPServices async performance

SpServices does offer the most user friendly piece of code on SharePoint, but if we enable async it still lags behind in performance when compared with the client model, any reasons? Or am I missing ...
1
vote
1answer
123 views

Forms7 Cascading Dropdown child not populating

I've been following the video tutorial on using select boxes, and creating cascading dropdowns. The first level populates as expected, however the second child list is not populating. Looking at the ...
1
vote
2answers
1k views

jQuery Code Only Works When Alerts are Active

I posted this to Stack Exchange as well, and I was wondering if some of my fellow SharePoint developers could help me out. This is not a SharePoint direct question, but I am building a site ...
1
vote
2answers
269 views

SPServices SPDisplayRelatedInfo css

I have modified my newform.aspx to have the $().SPServices.SPDisplayRelatedInfo details of related information is also a lookup, when I choose the columName from the dropdown, it has a hyperlink. ...
1
vote
1answer
3k views

How do I upload/copy file to SharePoint Document Library with MetaData from C# client using NTLM authentication

How do I create a c# console app that will run on a desktop, not on the SharePoint server, where I want to upload a word document, including some metadata, such as "Category" to a remote SharePoint ...
1
vote
2answers
4k views

How to find relative URL of a document library using JavaScript?

What I am trying to do is to enable the dialog with the metadata information when I drag and drop a file in a document library. The same dialog that appears when you upload a file through the +New ...
1
vote
1answer
795 views

Display a single item from list in main site to subsite

I want to display a single(filtered) item from a list on my main site, to the homepage on a subsite. I've initially tried the CQWP but it was to limiting when it came to what fields it displayed by ...
1
vote
1answer
1k views

Get unique values from Parent List in Dropdown List SPServices

I have a dropdown list created using the SPServices ($().SPServices.SPCascadeDropdowns). It works as it should, I just need to add a requirement. I need to be able to filter the Parent Lookup list to ...
1
vote
2answers
9k views

How to get sharepoint user by account ID?

I only have access to account IDs. Ex 59206. No access to user names. How can I use SPservices to get the rest of the account information?
1
vote
1answer
4k views

Add new item to child list and refresh the parent form - multiple lookup

I've created a parent list (Vendors) and a child list (software list). There can be multiple vendors for one piece of software. I've created a custom new form with a link which opens up a modal to add ...
1
vote
1answer
908 views

SPServices GetListItems won't get me a result

Good morning. I have a problem regarding to a SPService function. I doublecked it but I still won't get any result. If I erase the SpFilter Method I get a result. Is there any mistake I could have ...
1
vote
1answer
1k views

How To Display A List Of Contacts In A Grid

I have a contacts list in SharePoint. In that list there are a few columns like Firstname, Surname, email etc. There is also an image URL. I would like to bring all of the information in a Contact ...
1
vote
2answers
3k views

Access and USE list data across site collections

I have two site collections in SharePoint Online environment (Office 365 dedicated). Site A: https://SharePoint.com/sites/SiteA (Data Source - Read Only Access) Site B: https://SharePoint.com/sites/...
1
vote
2answers
1k views

Content Editor Jquery working in Firefox not in IE

I'm trying to display an image, content and a link to open new list item dialog box. This is working in Firefox, but in IE it gives the error "wrong number of arguments or invalid property assignment"....
1
vote
1answer
2k views

How to filter by only pdf files in querypacket?

In a query packet used in SPServices to do searches on Sharepoint 2010 using jquery, I want to filter the results to only .pdf documents. How can I do that? The below shows all types of files... ...
1
vote
1answer
424 views

Possible problem with linked lists and limits of the Lookupfield in SharePoint 2013

I have set up a Parent/Child linked list, each parent item can have multiple different child items linked to it. To connect child items to the parent I use a lookup field on a field on the parent list....

1
3 4
5
6 7
12