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
11
votes
3answers
16k views

Should i have the “Microsoft SharePoint Foundation Web Application” role active on all servers in a large farm?

I've checked the resources at Microsoft TechNet, MSDN and Bing but I’m not aware of any information regarding the best practice about the configuration for the "Microsoft SharePoint Foundation Web ...
8
votes
3answers
9k views

How to get file or list item icon in SharePoint 2013 using javascript

My requirement is i have to display files from document library with images using javascript object model or spservices. pls let me now is there a way.
8
votes
6answers
16k views

How to query using CAML when a value has < in the value

I'm using SPServices to query a list, using CAML, and the column I'm searching (Title) have values that contains < and >. Is there anyway I can use CAML to find these values? It seems that I'm ...
7
votes
3answers
9k views

Get attachments of list items with SPServices

How can I fetch the attachments (the URL, to be precise) of a list item with SPServices (the jQuery library)?
7
votes
3answers
4k views

Adding a “next” Button to displayform.aspx

Is there a way of adding a button in the Dispform.aspx or the editform.aspx that will take you to the next item in the list?
7
votes
2answers
23k views

Error while referring “/_vti_bin/ListData.svc”

While trying to refer "ListData.svc" service in my VS.NET WinForm project, I am getting an error The HTML document does not contain Web service discovery information. Metadata contains a reference ...
7
votes
1answer
874 views

SPService, multiple farm jobs, persisted property updates (SPPersistedObject locking?)

I have an SPService class. MySPService : SPService, IBackupRestore, IDiagnosticManager { [Persisted] private string propertyUpdatedByJobsOnAllServers; . . . } I also have a Job that runs ...
6
votes
2answers
17k views

jQuery SP.JS objects to test if current SharePoint user has full control / owner rigths?

As an example, the below jQuery displays current SharePoint user title. Excellent! :) Is it possible to use the sp.js objects to test If the current user has Full Control on the current page or ...
6
votes
4answers
4k views

Reset Timer Service in Share Point 2013

The SharePoint timer service unexpectedly stopped, now I need to reset it to default state because there is a change in login account and password. This is the reason that might be causing this issue....
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 ...
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 ...
5
votes
4answers
12k views

Multiple Values in CAML query from Array? SharePoint 2010 using jQuery/SPServices

So if I use SPServices to GetListItems with CAMLQuery, is it possible to insert multiple values inside Value Type='Number'> here I would like to evaluate things throught a flow in my page, add to an ...
5
votes
2answers
18k views

SPService GetListItems with CAML : can't get example to work

enter code hereI am using an example I found on codeplex of SPServices with CamlQuery to try to get list item values with where clause on the ID. For whatever reason this doesn't seem to work for me; ...
5
votes
3answers
1k views

Updating a single list item based on relative URL

Is it possible, using SPServices, to update a specific list item when all I have is the file path? For example, I have a file located at /site/library/folder/file.txt and I want to update a single ...
5
votes
2answers
12k views

Add New List Item with SPServices anonymously

I have an HTML5 + jQuery application with a built in contact form that I wanted to hook into Sharepoint, and Lists seemed an ideal way to do that. I used the jQuery library SPServices to get this up ...
5
votes
2answers
2k views

How to use SPServices search sql query - getting malformed query

I am using the SPServices javascript library to make a search request to sharepoint 2010 search. I am trying this query: queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'...
4
votes
2answers
12k views

SPservices to retrieve version history of items in SharePoint List 2007?

May I know how can one use SPServices to retrieve all the version history of a particular items in a SharePoint 2007 Server List? (If it is not possible via SPServices, are there other Javascript ...
4
votes
2answers
6k views

Uncaught TypeError: Cannot read property 'SPCascadeDropdowns' of undefined

I am trying to implement cascading so I have loaded two files. <script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.min.js"></script> <script type="text/javascript" src="...
4
votes
2answers
3k views

What are the advantages of using SP Services?

What advantages would I gain by using the SP Services library in SharePoint releases 2010 and later? The 2013 (and even the 2010) JavaScript Object Model and REST API seem to cover a significant ...
4
votes
1answer
4k views

How can I get specific SharePoint site GUID using javascript/jquery

For example: I have a site under this url: http://intranet.contoso.com/news When I open it i would like to read it's GUID for future use in my custom AssetPortalBrowser.aspx url picker. Thanks!
4
votes
2answers
884 views

CAML Query for SPServices parameter

I need to run a workflow on all items in a library. This SPServices example seems like a good plan but I'm running into problems. The library has folders and the CAML query returns only the folders, ...
4
votes
4answers
1k views

How to restore a previous document version via client-side API?

Is there a way to restore a previous version of a document, using client-side code? I've been looking at the REST API, Lists Web Service, and SPServices JS library, but couldn't find any methods for ...
4
votes
4answers
2k views

How to update the name of an attachment from a list item (if possible, with SPServices)?

Like the title says, I'd like to know how to update the name of an attachment from a list item. The document name.I've figured out how to get the attachment from a list item (see code below), on the ...
4
votes
1answer
519 views

Create multiple items in another list using PreSaveAction

I am trying to add time counter to standard survey form and save elapsed time with coresponding username at another list so I just mixed up some code which takes current user, elapsed time and creates ...
4
votes
3answers
3k views

SPServices GetAllSubWebCollection

Ok, here is the scenario. I have a parent site with 3 sub-sites. When I am logged in as myself, "site owner; site collection admin" I can view the results of this query. When i log in as a ...
4
votes
3answers
3k views

using jquery and search.asmx service search People in sharepoint 2010

Hi i use below code for Getting people Search. Using below code I am able to search but getting only user name and User my site url. I want all user profile Property.How I get all user Property using ...
4
votes
1answer
2k views

getting Failed to load resource: the server responded with a status of 500 (Internal Server Error) while using SPServices()

here am trying to get reccurring events from calendar list with the help of SPServices i have a code as shown bellow,but when am using the bellow code it is giving me erroe as "https://MYURL/Scripts/...
4
votes
3answers
522 views

list does not exist when I call spservices() / GetListItems

I'm starting to develop in SharePoint Online, but I don't arrive to do work spservices() with GetListItems(). I have create an application with napacloudapp In this application I have put that : &...
4
votes
2answers
2k views

High CPU usage Microsoft SharePoint Foundation Process

Configuration of sytem RAM : 12GB I don't understand why server consume too much memory in two particular process Microsoft SharePoint Foundation SharePoint Search Component Tried Solution: ...
4
votes
1answer
183 views

.find().filternode().each() v/s .find().each()

I came across a lot of articles and discussions by Marc D Anderson and Steve Workman regarding performance gains using .filternode(). I also read an article by Steve Workman I also tried to ...
4
votes
1answer
21k views

SPServices - GetListItems - formatting results

I am using SPServices in Sharepoint 2013 to get some results from cutom list named "navigator" presented here: and for this purpose I am using code: <script type="text/javascript" src="../js/...
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 ...
3
votes
1answer
2k views

How do I retrieve the Name of the User using SPServices given the email address?

Is it possible to retrieve the name of a user using the SPServices given the email address? Suppose Jack Harry has a email jack_harry@goodworld.net inside the SharePoint 2007. Is it possible to ...
3
votes
2answers
12k views

How can I pass a Parameter via Query String to populate a lookup field on a New Item Form/DVWP?

I have two lists: List A: Products List B: Requirements I'd like to have a nice Create Requirement page launched from the Product Listing page. I have a DVWP/Multi-Item View displaying all Products....
3
votes
1answer
795 views

What is the difference between “SP State Service Application” and “SP Session State Service”

Im little confused about the difference between "SP State Service Application" and "SP Session State Service", while i know that session state service is used for storing sessions in SharePoint.
3
votes
1answer
352 views

Document Library Title Field autocomplete

I had some great help figuring out how to use SPServices to create an autocomplete textbox. However, my goal is now to get the autocomplete functionality to work on the title field of a document ...
3
votes
2answers
3k views

SPServices.SPCascadeDropdowns

I need help with SPServices.SPCascadeDropdowns. I need to create 3 level cascade dropdown fields. But I have some problems with it, so I need help. Here are my lists. First lists is PrimaryDomains, ...
3
votes
3answers
2k views

SPServices/JQuery How to Detect If The Current User Is System Accout

I need to detect if the current user is system account. With SPServices i can find user login name: var thisUserName = $().SPServices.SPGetCurrentUser({ fieldName: "Title", ...
3
votes
2answers
2k views

Query the year from a date field in CAML Query

I have a SharePoint 2013 list in which I have a date field say Formatted Date, now using CAML Query I need to retrieve only the records which have year 2017 in the Formatted Date.PFB my code: $()....
3
votes
1answer
191 views

CalculatedColumn or SPServices with jQuery in SP 2010 List

I need to create a calculated column -say ResCount - based on another datetimefield field, ie,assuming if mydt is my datetimefield, from this field, I need to extract month part and based on month ...
3
votes
4answers
3k views

Display Announcements List in HTML Table on a SharePoint 2010

Consider this as my code for displaying Announcements list in a site page on my SharePoint 2010 site: <html> <head> <script type="text/javascript" src="/Test_Library/js/jquery-1.9.1....
3
votes
2answers
38 views

How does SharePoint Designer interact with core?

When an user does some changes like changing background color or adding an image for Home.aspx via SharePoint Designer what actually happens at this moment? In other words what happens under the hood? ...
3
votes
2answers
511 views

SPServices not returning data - List access Error

I'm trying to access the contents of a library on SharePoint and I can't because the ajax call is returning some kind of error I can't understand. I hope someone can help me ! The error is the ...
3
votes
1answer
8k views

Loading multiple SP.SOD.executeFunc('sp.js', 'SP.ClientContext', functionname);

Share experience As recommended in various posts I changed the way the functions load from $(document).ready(function() { functionName(); }); to SP.SOD.executeFunc('sp.js', 'SP.ClientContext', ...
3
votes
3answers
668 views

SPServices is the Document Checked Out SP2010

I was wondering if anyone knew how to tell if an item has been checked in or out from SPServices? I am able to get all of the nodes but I do not see one which captures the checkout. Is there a way ...
3
votes
2answers
3k views

SPServices retrieving Rich Text Values

I am currently using SharePoint 2010 and SPServices.js. I am able to retrieve and update the value via SPServices when using regular HTML and ASP.NET server control values using SPServices.js and ...
3
votes
3answers
587 views

jquery projects and visual studio best practices?

Just curious how others are handling their jquery related solutions. It's obviously very easy to add a Content Editor web part with a content link to a source file. That file could have your Jquery/...
3
votes
1answer
341 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 ...
3
votes
1answer
92 views

Getting max ID of a list using SPServices

I have seen a lot of questions asking how to get the latest ID in a SharePoint list, but all answers suggest simply querying the last item and using its ID as maximum ID. However, the problem with ...
3
votes
1answer
348 views

how to get AssignedTo user's email id from the current item using SPServices

I am just starting to use SPServices and have no idea how to get the current item/task assignedTo user's email id. I was searching for 2 days and didn't find a proper/easy solution. I am trying to get ...