0
votes
1answer
20 views

SPServices SPGetLastItem returns last id for current user

The function SPGetLastItem from SPServices returns last id for items that only the current user has created. I want a function that returns the last id for any user.
1
vote
2answers
44 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 ...
0
votes
3answers
98 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 ...
0
votes
1answer
39 views

Proper way to check for failed SPServices call?

I'm running a SharePoint method with SPServices that should copy several items. I just noticed that the return value is "Success" even when I've specified an invalid location and nothing has actually ...
0
votes
0answers
28 views

Cannot Hide results from document library using JQuery Dropdown/HoverOver/MouseOver

I have a jquery dropdown menu for when a user hovers a link to display results dynamically from a SharePoint Document Library. It's working ... Problem is its not hiding the results and is displaying ...
2
votes
1answer
30 views

How to store “stream” and “fields” paramters properly

I'm trying to use the GetItem method to use for copying documents, but I'm not having luck with the field or stream parameters. Below is an example of how I attempted to store each of them. When I ...
0
votes
0answers
53 views

How to copy document from library to list attachment with SP Services?

I need to attach a document that is stored inside a document library to a list item on the same webpage. All needs to be done with javascript / jquery / spservices. Can you please help me and show ...
0
votes
3answers
134 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
68 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 ...
2
votes
3answers
86 views

Need a way to identify files which have no checked in version

I wrote a script that traverses a collection, it's document libraries and gets a list of all files. I'm trying to find all the documents which do not have a checked in version and require a user to go ...
0
votes
1answer
27 views

Best approach for a custom workflow

My team will soon be building a workflow for a list in SP2013. The OOB approval workflow provides most of the needed functionality, but we need the approval flow set dynamically based on names ...
0
votes
1answer
365 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 ...
1
vote
1answer
174 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 ...
0
votes
2answers
115 views

Access DVWP z:row with Javascript [duplicate]

I need to loop through the z:row of a Data View Web Part on the client using JavaScript to push to an array and then use the JavaScript CSOM to create a new list item in an existing list. var ...
0
votes
0answers
71 views

Trying to get list of groups a user belongs to

I came across this post showing how to create a permissions management webPart using SPServices. I tried to do it in SP2010 but keep getting error " User not found". I think it has something to do ...
1
vote
1answer
487 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 ...
1
vote
2answers
536 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
2answers
430 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
432 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
1answer
113 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 ...
1
vote
1answer
107 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
0answers
125 views

SPServices Search - select first x items using sql type query?

I am using the SPServices library to make search requests in Sharepoint 2010 using this code: queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'>"; queryText += ...
0
votes
1answer
60 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
418 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... ...
0
votes
0answers
73 views

How to add an Enterprise Keywords column to a existen list or library using jquery?

I can add new columns for common fields per example text, metadata etc. But I want to add Enterprise Keywords to my list automatically, this is a little reference about enterprise keywords. Source ...
0
votes
0answers
88 views

Getting error when doing a search with SPServices

I want to run searches with jquery and spservices library. This is what I have so far: <script type="text/javascript" src="/js/jquery/jquery-1.10.1.min.js"></script> <!-- <script ...
1
vote
1answer
97 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
139 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
1answer
2k 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
340 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
430 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
264 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. ...
0
votes
3answers
4k 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 ...
1
vote
3answers
652 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
161 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
1k 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'. ...
2
votes
1answer
417 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!
1
vote
1answer
211 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 ...
2
votes
1answer
949 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 ...
0
votes
4answers
431 views

jquery 1.7.2 and spservices 0.7.0 syntax unrecognized error with .find(“[nodeName=z:row]” and .find(“[z:\\row,row]”

both .find("[nodeName=z:row]" and .find("[z:\\row,row]" give me syntax unrecognized on SharePoint 2007 IE 8 client trying this code that redirects me to the dispform given a match on title list ...
0
votes
1answer
702 views

SPServices: How would I add Ascending=False to CAML in GetListItems

How would I use SPServices GetListItems and still be able to add Ascending=False to the CAMLViewFields? I haven't used this for long and I am just wondering if this is possible? Thanks as always!
0
votes
1answer
2k 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 ...
2
votes
1answer
778 views

Interesting trouble with getlistitems not returning list items

I'm a bit new to spservices, and I hope I'm not asking a question that's already been answered. I've checked and haven't been able to find one like it. I'm using GetListItems to retrieve url's and ...
1
vote
2answers
2k 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
1answer
233 views

Filter a list by a value in a User's profile

I would like to replace the functionality of the Current User Filter of SharePoint Server 2010 enterprise. I think I might be able to use SPServices.SPGetCurrentUser but I am unsure if it is ...
1
vote
2answers
438 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 ...
0
votes
1answer
172 views

SPServices: Using variable as column name - possible?

When using SPServices, is it possible to use a variable to specify the column to be updated? res = lists.quickUpdateListItem('MyListHere', { ID: ReqD, columnVar : userName }); In the above ...
2
votes
1answer
4k 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 ...
1
vote
2answers
733 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 ...
2
votes
1answer
4k views

SPServices: trying to learn how to use this and jquery, help with example

So I am trying to learn these both as I read nuthin but great things all over the place about them. So this is what I have from example on codeplex: <script type="text/javascript" ...