SPServices is a jQuery library which abstracts SharePoint's Web Services and makes them easier to use.

learn more… | top users | synonyms

6
votes
6answers
11k 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 ...
2
votes
1answer
9k views

jQuery & SP2010 : Upload document to library using jQuery?

I built a custom form that saves the data to multiple lists with on click; it works pretty well for its intended use (keeping the data related). Thing is I am totally new at jQuery and SPServices, but ...
3
votes
2answers
6k 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 ...
2
votes
6answers
7k views

newform.aspx and People Picker field - set current user as default?

This is for SP2010. Got a list. One of the fields is a "Person or Group" type, with the results limited to members of an SP group. I've created a copy of NewForm.aspx in SharePoint Designer, and am ...
5
votes
3answers
1k 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?
2
votes
1answer
9k 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 ...
2
votes
3answers
893 views

Days Past Since List Item Created - SharePoint Online 2013

I would like to make a column that shows how old a list item is. Since the calculated value [Today] isn't supported I need to come up with another way to subtract date created with the current date. ...
1
vote
2answers
4k views

How to display list on application (aspx) page by visual studio?

I have created list and application page in visual studio for sharepoint.Now I have to show that list on that application page. I have option of using SPServices. But is there anything I can do with C#...
2
votes
2answers
928 views

Services Actions Missing in Central Admin

We recently added a new SharePoint server to the farm and to my surprise the server is not showing any actions in The Page Manage Services on Server .Please see the attached screenshot for further ...
1
vote
1answer
4k views

Pull values from a lookup column using SPServices()

I would like to retrieve values from a lookup column (pull down) using SPServices() and load an array in javascript. This is available only in Newform.aspx. How can I do this?
1
vote
1answer
4k views

SharePoint 2010 Lookup Column - Autofill with the same Item

I am struggling with some issue. I need to automatically fill the value of a field (in Edit or New.aspx) based on other lookup column. Now I have list Lookup with Name and Surname columns In the ...
0
votes
2answers
475 views

Check an user belongs to a AD group inside SharePoint Group using SPServices JQuery

I want to check the current user exisit in a AD group inside the SharePoint Group using SPServices JQuery. I used the below code snippet but not successed. Any suggestions? $().SPServices({ ...
11
votes
3answers
12k 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 ...
1
vote
1answer
143 views

Using SPServices' GetListItems to sort by what the current user has “liked”

I'm using getlistitems to grab list data in SharePoint 2013, and I've managed to be able to filter by the current user's "liked" list items... but is there a way to sort by what a user has liked and ...
1
vote
0answers
105 views

SPServices and GetListItemChanges

I'm trying to get the changes made on all items from a list using SPServices, in xml. This is the code I have so far: $(document).ready(function(){ $().SPServices({ operation: "...
1
vote
2answers
6k views

Attachment Upload using SPServices and Not the JS File API

I am trying to figure out how to use the SPServices JS library to upload a file without using the HTML5 JavaScript file API. This is specifically targeting IE9. I have a solution that works with all ...
3
votes
6answers
6k views

How to update multiple ListItems with a “Where Clause” using SPServices?

I've searched the jQuery SPServices code examples and MSDN references for an simple example how to update several ListItems using a Where-Clause. Code for updating a single ListItem with ID = 500, ...
1
vote
2answers
456 views

Use spservices to run CAML query filter on Single Dropdown

In my page I have two dropdowns, the second one depends on the choice of the first and this works, and the CAML query works, too. How can I use $().SPServices.SPCascadeDropdowns to run a CAML query ...
1
vote
1answer
5k views

Get URL of image from Picture Library using CAML

How is it possible to get the URL of an image that is stored in a Picture Library using CAML? Currently, I've made a CAML Query and run it in the U2U CAML Query Builder, and am seeing values like ...
0
votes
2answers
2k 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 ...
0
votes
3answers
3k views

SP2013 Trigger People Picker Validation

This question is related to an earlier question I posted, but did not get an answer on, so I am attempting a different approach. To summarize: My goal is to set a people picker value to the current ...
0
votes
3answers
12k views

Use CAML query based on ID to retrieve a file name?

With jquery and spservices, I use getSelectedItems to retrieve the IDs of a few documents. Can I have a loop which goes through a caml query for each of those IDs to retrieve the file name (...
6
votes
2answers
6k 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.
4
votes
2answers
15k 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; ...
3
votes
2answers
2k 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 ...
2
votes
3answers
4k views

Possible to get distinct values from GetListItems?

I am passing this XML: <soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema'> ...
2
votes
2answers
152 views

Extract Email ID, Mobile phone, sipaddress ,other attributes from PeoplePicker Field in SP 2010 CustomList NewForm

After referring this article from Marc, and Here am able to get/perform the null check for peoplepicker entries in my custom newform of my SPList within SP Designer 2010. But, how to retrieve other ...
1
vote
5answers
4k views

Error while adding SharePoint web service reference

I got stuck up with the following error, while trying to add reference for the web service Lists.asmx in sharepoint 2010 from VS.NET 2010. The document at the url http://sp2010/_vti_bin/Lists....
1
vote
2answers
345 views

Element “Query” is invalid (GetListItems)

I'm calling GetListItems via spservices, and specifying the CAMLQuery field to be the following value: <Where> <Or> <Contains><FieldRef Name='ows_Title'/><Value Type='...
1
vote
1answer
274 views

Help with RemoveUserFromGroup using SPServices

I am using SPServices to list out each permission group and then under each group, each user is listed out. Next to the user, there is a button that will be used to remove that user (and later, ...
1
vote
2answers
4k views

SPServices Set PeoplePicker field in SharePoint 2013

I've seen a LOT of posts about this, and I am sorry to add to them, but I have spent a lot of time going through them and cannot find an answer that is working in my case. My objective is to populate ...
0
votes
3answers
270 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
2k views

Autocomplete with SPServices

This is my scenario I have a list of clients on the root site collection. www.mydomain.com/lists/clients I have 17000 clients on that list. Then I have other site collections, where I want to have ...
0
votes
1answer
1k views

Use SPServices.SPRedirectWithID in a custom new form

Do you know if it is possible to use SPServices.SPRedirectWithID in a custom new form. Thanks, Best regards, David UPDATE (DETAILS): I would like to use it to redirect the user from NewForm_cst....
-1
votes
1answer
113 views

SharePoint 2013 _vti_bin/usergroup.asmx 500 (Internal Server Error)

I am getting this ERROR: _vti_bin/usergroup.asmx 500 (Internal Server Error) when i try to get User Information. Can anyone see whats wrong with the code: <script language="javascript" src="/...