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

learn more… | top users | synonyms

1
vote
5answers
3k 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 ...
1
vote
2answers
68 views

Best way to implement “.exists”-type functionality to prevent duplicates?

I'm moving files with spservices (the jquery plugin) and was wondering if there was a good way to check to see if a file with the same name already exists so I can append an underscore or something ...
1
vote
1answer
192 views

Internet Explorer 11 issue with SPServices

I have created js file which have spservices common function which I am using in my page. Below is the code for one of the function which will use for Add/Delete/Update by sending appropriate ...
1
vote
1answer
77 views

SPServices simple query does not work

I have the following code and it does not work. Apparently it's all right. The List name and the URL. Can anyone help me find the syntax error? PS: I use Sharepoint Foundation 2010 ...
1
vote
2answers
132 views

function(xdata, status) explanation - SPServices jQuery

I have recently started learning SPServices library. So if this sounds like a silly question, forgive me. I notice these lines in almost all the examples: completefunc: function(xData, Status) { ...
1
vote
3answers
1k views

Autocomplete with multiple values .from a list

I need to implement a lookup column to a big list, I will probably use SPServices, but so far all examples I have seen is for only one value, and I need it to be multiple values. I need to be able ...
1
vote
2answers
2k 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 ...
1
vote
2answers
1k views

SPServices.SPComplexToSimpleDropdown Not Saving Value in IE

ok, first off this works in FF, Chrome and Safari, but does not work in IE. What I am doing is converting the complex dropdown to a simple dropdown using SPServices Auto-populating the projects ...
1
vote
2answers
112 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, ...
1
vote
4answers
862 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, ...
1
vote
3answers
836 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", ...
1
vote
2answers
449 views

How To Get Site Title From URL in other web app

I have a situation where I need to retrieve the site title for a site in another web application using client side scripting. Client site JQuery SOAP calls to the "Webs" web service returns the ...
1
vote
3answers
1k 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 ...
1
vote
3answers
1k views

Customizing the NewForm.aspx of the SharePoint 2007 List?

I have a sharepoint 2007 list and it has 6 site columns, want to have two modes of newform.aspx page. When user clicks on Newitem, it should display only 3 site columns and there should a link to the ...
1
vote
1answer
59 views

How to get all pages from the pages library, including those who are in a folder, using SPServices?

I have the following code, which gives me the title and FileRef of a page: SP.SOD.executeOrDelayUntilScriptLoaded( 'SP.UserProfiles.js', ...
1
vote
1answer
623 views

2013: Trying to pass jQuery user object to AngularJS

I am creating a SharePoint Hosted App and the default Visual Studio project uses jQuery to access the SP.clientContext to get_currentUser and save it in a global variable. To trigger an AngularJS ...
1
vote
3answers
616 views

SPServices.SPGetCurrentUser

I'm using this great tool to fill some of the fields in my list. It works great when I do this one by one, but I'm trying to request multiple column values, but I can't get it to work. var ...
1
vote
2answers
1k views

jQuery Hello World on NewForm.aspx Without SharePoint Designer?

I'd like to modify the Add to list functionality found in SharePoint. The only caveat is that I can't use SharePoint designer, as our site is hosted on Microsoft's servers and they've disabled that ...
1
vote
1answer
148 views

Omitting SharePoint Special Character

I am using a SPServices (jQuery Library for SharePoint webservice) to grab list items. I have managed to get the data as follows: <z:row ows_Date_x0020_From="2013-06-03 00:00:00" ...
1
vote
2answers
87 views

2;# 5;# Web services returns odd characters

When I use SPServices to query a list it brings back some of the columns with odd prefixes and encoded characters. How can I get rid of the Oddball characters? I recognize the @amp; as a HTML ...
1
vote
1answer
2k views

Cascading Dropdown for Lookup with more than N items

I've got cascading dropdowns implemented for sharepoint 2007. It worked fine until lists exceeded 100 items. My code looks like this: $(document).ready(function() { ...
1
vote
1answer
3k 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 ...
1
vote
3answers
2k 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)?
1
vote
2answers
2k views

Displaying other people picker column properties on a view using spquery.js and spservices.js in MOSS 2007

We have a custom list with a person column. Want to display that persons Department on the list view. Possible with jquery/spservices? I have a jquery script that returns the currently logged in ...
1
vote
2answers
641 views

Suggestions for implementing relationships between two lists

Here is what I am trying to accomplish: I want a Sharepoint list(s) that can track received client calls and all follow-up attempts from our staff. What I initially envisioned this would look like ...
1
vote
3answers
695 views

Add to Lookup Column Values During Form Lifespan

Has anyone ever successfully added a new item to a list which is used as the source for a lookup column while using an EditForm (or NewForm, same mechanism) and been able to save the form successfully ...
1
vote
1answer
2k views

Adding items using SPServices issues

Need some assistance on a bit of JQuery for writing to a MOSS 2007 list. I have the following spot of code. If I run it with just the title field, it works fine, adding additional fields doesn't work. ...
1
vote
2answers
63 views

How to recreate a people picker (or anything else that can autocomplete names)?

I have a page on which I have a drop-down list with the names of all the groups that I created in SharePoint. When a user picks a group from that list, it will display extra information on the page ...
1
vote
1answer
345 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
403 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
218 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
320 views

SP Services does not update the list item

SP Services : UpdateListItems does not update the list item. The problem lies with the value that needs to be updated. The item is updated when the value is a normal text, but when it has some special ...
1
vote
2answers
651 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 ...
1
vote
2answers
2k 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 ...
1
vote
1answer
741 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
2answers
561 views

Undefined responseXML on StartWorkflow

I was presented with a task to run a workflow via jQuery. I know that SPServices has this capability, but I have never tried it before being assigned this task. So I set out and found some good ...
1
vote
1answer
167 views

Implement Cascaded Dropdowns without using Lookups

I have 3 lists with a great deal of data in them (7-12k rows) that I'm pulling from another system. I want to implement cascaded dropdowns between the three, but I can't populate lookups for 12,000 ...
1
vote
1answer
318 views

Manually setting sort order of items in a Sharepoint List using JQuery and SPServices

I have a Sharepoint List called "tasks". The field names are taskname (string), priority (integer). Using JQuery's sortable feature I am at the point that the user can manually sort a list by ...
1
vote
2answers
1k views

Cascading Dropdown for Lookup with more than 20 items

I have implemented cascading dropdown using SPCascadingDropdown (SPServices) it was working for lookup with 19 items . When the items count became more than 20 , the lookup column is displayed as ...
1
vote
2answers
3k views

SPServices GetListItems don't work most of time

I'm using SPService in a list for take some information from an other list. It works just sometimes... I need to refresh lot of time before it works .... Here is my code : <script ...
1
vote
2answers
1k views

Accessing list data from another site collection or web application using REST services?

I have a list (Links template) of URLs that is on a site collection and I was wondering if it is possible to include this list as a jQuery megamenu on another site - ideally another web application on ...
1
vote
1answer
416 views

CAML query and jQuery to retrieve last item's fields

I want to get list item fields where its the last item that the same user created. Then I want to populate the newform.aspx with some of these items. I'm mainly stuck with the query and how to write ...
1
vote
1answer
145 views

SP2010: Kick-Off Workflow via a Windows Service

I know triggering workflows within SharePoint can be started manually/automatically? In the realm of being fired off automatically, I know capabilities of starting workflows if documents are added to ...
1
vote
1answer
592 views

Sharepoint 2010 web front end servers and services configuration

I have a sharepoint insfrastructure where a document library is made available both locally and on the internet. I have a few web front end servers facing the public (in the DMZ) while having another ...
1
vote
2answers
365 views

Using Workflow or SPServices to temporary gives user permission to access a particular items in a SharePoint 2007 List?

May I know if there are ways and also possible to use workflow or SPServices to temporary give a particular user (who does not have any access to the site) permission to read / write a particular ...
1
vote
1answer
536 views

How to upload a file and create a link in another library using SPServices?

How do I upload a document (PDF) to a library and create a link to it in another library? I need to do this using SPServices specifically..
1
vote
2answers
2k views

SharePoint Cascading drop down / jquery select/ auto fill

I've got a cascading dropdown question. I'm trying to accomplish this with using SPServices , but I'm running into difficulty when two of the fields should just auto populate. Here's an example: ...
1
vote
1answer
40 views

Update Page Content using SPServices

I am trying to update a Page's content using SPServices. When I run my code, it does update the correct page, but instead of updating the content, it just removes the content. var newContent = ...
1
vote
0answers
13 views

SP 2013 Video Assets - Show author

The 2013 video assets library has been a great blessing so far compared to 2010. However, there are still many pieces of data that would be nice to show in the thumbnail view. Is there a way to the ...
1
vote
3answers
144 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. ...