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

learn more… | top users | synonyms

3
votes
2answers
699 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 ...
1
vote
2answers
649 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 ...
0
votes
1answer
793 views

SPServices - GetRolesAndPermissionsForCurrentUser

I have a list where one group of users is not allowed to delete items but they have view and edit permissions. All items in the list contain an attachment. However, users are not allowed to delete the ...
0
votes
2answers
99 views

Updating List XML on Office 365

I'm trying to create a lookup column on an Office 365 SharePoint dev site through an app using SPServices but I'm not having any luck. function createLookupColumn(listGuid) { ...
0
votes
1answer
122 views

SPServices - Problems reading from a list on a public site with anonymous access

I'm trying to use SPServices to read from a list, store the data in some arrays and call the data back onto a page when it's needed. This works in the back-end version of our site (where our authors ...
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 ...
0
votes
1answer
56 views

spservices not working in updatepanel

I have a piece of code which is inside a dropdown change event. This dropdown is inside an update panel as i want it to happen async. Now I have a SPServices.CascadeDropdowns also binded to the ...
0
votes
1answer
168 views

How to use REST with the search service?

I am currently using SP2010 and spservices to make SOAP requests for search. I am doing this client sided using javascript/jquery . But now I want to use REST and still on client side. This is my SOAP ...
2
votes
0answers
214 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 ...
1
vote
1answer
201 views

sharepoint 2010 - How to get document ID using spservices sql search query?

Using spservices to make search requests, I am building the query like this: var queryText; queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'>"; queryText += ...
2
votes
1answer
231 views

How to pass arguments to SPServices function request?

In SPServices library, I make a search request using: $().SPServices({ operation: "Query", queryXml: queryText, completefunc: searchComplete }); function searchComplete(xdata, status) { ...
0
votes
1answer
582 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' ...
0
votes
1answer
225 views

How to set a search scope in SPServices search function?

I am doing a search using this code: var queryText; queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'>"; queryText += "<Query>"; queryText += ...
1
vote
1answer
740 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
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" ...
0
votes
1answer
196 views

Missing viewfield column

I'm attempting to use SP services to get some information from a list. Everything seems to be going fine except for one column in the list. The column in question is a drop down selection of choices ...
0
votes
1answer
194 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 ...
0
votes
2answers
366 views

Office 365 - Sharepoint hosted app updating lists with SPServices failing

I have a problem updating lists from my Office-365 sharepoint hosted app. My SPServices call can update a list inside my site, but when I webURL back (prune the path) to the site collection, I can ...
1
vote
1answer
3k 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
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 ...
2
votes
1answer
3k 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 ...
1
vote
0answers
59 views

Display New item Icon with SPServices

I want to display the New Item Icon with SPServices or using custom Javascript to show a new item icon for n days when Created. I achieved this using XSL. Thank's to Mark ...
2
votes
2answers
173 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 ...
2
votes
1answer
589 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 ...
0
votes
2answers
353 views

SharePoint SPServices autocomplete not working for a column

I have a working jQuery SPServices code for a column Description in a list. The problem is, that when I try to get the data from another column, Project Item, with the same code, nothing happens. ...
-1
votes
1answer
467 views

SharePoint Client-Object-Model - Return List Item Counts by Created Month

Looking to get monthly totals of items from a list using the SharePoint COM/SP Services. My intention is to pass this data to a D3 chart.
1
vote
0answers
196 views

CAML Query on External Content Type not honoring the <In> operator

So I've been testing this out for a day or so. For the life of me I cannot get an external list to listen to honor the <In> operator in CAMLQuery. On any other type of list it seems to work ...
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 ...
0
votes
1answer
529 views

How do you display a list item image with SPServices? (Rather than displaying the URL)

I'm currently using SPServices to retrieve information from a list and present it on the page. I've retrieved the metadata correctly,and presented it on the page. However, when attempting to display ...
1
vote
1answer
68 views

Workflow form display error

I am trying to create a workflow that has an approval process. Once i create the workflow and start it. I get a task added in a Task list but when i try to view it i get this error. The form ...
0
votes
3answers
6k views

Get value from drop down using jQuery (lookup column)

I feel like this should be an easy one but am having trouble finding the answer here and via Google. Using jQuery, how do I retrieve the currently selected value from a dropdown in an ...
0
votes
1answer
2k views

Use SPServices in Sharepoint 2013 to display username

Has anyone managed to use SPServices to display the current logged in username in a content webpart? Is this even possible in 2013 (online)?
1
vote
3answers
831 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", ...
0
votes
1answer
191 views

Object Expected error in Non Edit Mode only

I have an issue with Javascript errors (Object Expected) in normal mode while it works in Edit mode. Its failing on the last line shown below. $(document).ready(function() { updateListItem(); }); ...
0
votes
3answers
2k views

'SPServices' is null or not an object

I need to find out if logged in user belongs to a specific sharepoint group (2010). I am using below code to get it. but getting javascript error as 'SPServices is null or not an object'. ...
0
votes
1answer
91 views

How to know if content was added to a SharePoint list or folder?

I'm using the GetListItemChangesSinceToken service in order to be notified for changes in a sharepoint list. This works ok for deleted items since the ChangeType return Delete , but for added items, ...
2
votes
1answer
777 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!
2
votes
1answer
56 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 ...
0
votes
0answers
146 views

executeQueryAsync working fine in IE problem in firefox not calling on asp button client click

function updatefeeall() { var ctx = new SP.ClientContext.get_current(); currentweb = ctx.get_web(); this.list = currentweb.get_lists().getByTitle("ClubFeePattern"); ...
2
votes
1answer
44 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
262 views

Lost instances of services on Sharepoint Foundation 2010 Server after a VM Clone

I needed a new Sharepoint Foundation 2010 server (on server 2008 R2 X64), so I cloned it to save time. It screwed up my production server. The clone worked, and I renamed the server, but it added ...
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
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 ...
0
votes
2answers
183 views

Is SPServices working different on https?

It seems like I can't access any Lists on https sites, I get the status -> error everytime I try. Tried GetList and GetListItems operations in my Javascript function, which works fine on any site I ...
2
votes
1answer
1k 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 ...
4
votes
4answers
5k 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 ...
0
votes
2answers
940 views

Creating Groups via Web Service

I am trying to create groups on a SharePoint 2010 site via the UserGroup.asmx web service. I am using jQuery and SPServices to interact with the web service. When I try to create a group (via the ...
0
votes
3answers
222 views

How do i return the manager name if the userID is provided?

Is it possible to retrieve the name of a user's manager using SPServices if the userID is entered? Ie: Either using a people picker field or a text field ("txtUserID) the userID is entered. Upon ...
0
votes
4answers
4k 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 ...