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

learn more… | top users | synonyms

2
votes
1answer
975 views

Hide fields on NewForm.aspx and EditForm.aspx based on the current user's membership in a SharePoint Group

I have found a number of recommended ways in blogs looking to answer how to do this and have not successfully made any of them work using SharePoint MOSS 2007 and SharePoint Designer 2007. I have ...
2
votes
1answer
59 views

Using SP's document rendering engine in a 3rd party utility

New to the community. Wondering if it's possible to call SP's document rendering engine from a third party utility. What I'd like to do is call it from my application, so that I can take a MS Word ...
2
votes
1answer
45 views

SP Tools help - Not returning results

I have downloaded SPTools from github, and have followed the directions of uploading the files to a Document Library. When I try to open the index.html file from the document library, I get prompted ...
2
votes
1answer
956 views

How to use spservice for taxonomy terms in metadata administration

I have added terms in termset and need to loopthrough the terms in javascript to get the array of terms. so i used spservice. but not working function GetTerm() { var termStore = ...
2
votes
0answers
58 views

Populate a Managed Metadata field with jquery

I'm using a managed metadata field in a list to represent X properties. I'm using a column site to do this. In a document Library Z I'm using the same column site and a field Y that contains values ...
2
votes
0answers
98 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 ...
2
votes
1answer
222 views

Get all the groups and the permissions they have, on a document library (using SPServices)?

I'm trying to figure out how to get a list of all the groups that are allowed to edit/read a document library. I will need the name of each group and which permissions it has (edit or read). I used ...
2
votes
0answers
274 views

How to include custom managed metadata in FullTextSQLQuery searches?

I am using SP2010 and spservices jquery library to make sql search queries to the search service. I created a managed metadata called DocumentGUID which is mapped to the document guid crawled ...
2
votes
1answer
2k views

jQuery find doesn't return single result - SPServices, SharePoint 2010 Search Web Service

I'm using SPServices to access the SharePoint Search web service. When it returns multiple results my code function fine. However, when it returns on a single result the str.find("Document").length ...
2
votes
0answers
220 views

Using SPServices to retrieve InfoPath repeating section fields in a SharePoint 2007 Library?

I have a InfoPath 2007 form that contain a repeating section field. I publish this form to SharePoint 2007, which create a Library. How do I use SPServices to retrieve this field from the Library ...
1
vote
1answer
6k 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 ...
1
vote
4answers
6k 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 ...
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 ...
1
vote
2answers
869 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
2answers
137 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
3answers
2k 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
1answer
421 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
2answers
133 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 ...
1
vote
1answer
254 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
3k 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
2k 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
4answers
3k 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
2k 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
4k 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
2answers
484 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

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
117 views

Get Display Name from Account Name

I have used SPServices to get a user profile by their name, and in the process, I wish to display their supervisor's name as well. I can pull this name from the user's object, but the supervisor is ...
1
vote
1answer
53 views

Add or Remove List Item Permissions Without a Workflow

I have a list in SharePoint 2010 that has custom SharePoint forms built for different situations depending on an approval process where each item is approved by two different people. Once the item is ...
1
vote
1answer
109 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
1answer
82 views

How to get user account name by display name

In Sharepoint 2010 I am getting display name of the user with SPServices like 11;#John, Kondo. But I want account name like mydomain\aa2311. Is there any way to get the account name with the display ...
1
vote
2answers
289 views

Sharepoint Date compare using Jquery

can anyone let me know whats wrong with following code var day = new Date(); var Today = day.getFullYear() + '-' + (day.getMonth() + 1) + '-' + day.getDate() + ' 00:00:00'; ...
1
vote
1answer
371 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
1k 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
2answers
2k 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
228 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
115 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
3k 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
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
703 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
747 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
3k 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
1answer
42 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
1answer
83 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
59 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
2answers
2k 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 ...
1
vote
2answers
341 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
1k 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
1answer
144 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
583 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 ...