0
votes
0answers
33 views

Loop through array and update metadata on files using relative URL only

I've got a script that combines JavaScript, jQuery, and SPServices to build an array of documents, copy each file or subfolder to an alternate location, then update the original file to indicate it's ...
0
votes
2answers
24 views

Add run with run with elevated privileges for spservices?

I am unable to add users to the group using custom button and SPServices,only site administrators can only able to add the users to the group.can any one help me how to add the run with elevated ...
0
votes
2answers
25 views

Add users to the group using SPServices?

I created a button in sharepoint site using content Editor,when the current users click on the button he must have to add to that particular group,can any one give example how to add current users to ...
0
votes
0answers
23 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 ...
0
votes
0answers
126 views

Filtering MultiLookup Value Using SPServices SPCascadeDropdowns / SPFilterDropdown CAML Query Call

I need to filter a multilookup field in the list form and for that i am using SPServices lib, I have the following function call to SPCascadeDropdowns method of SPServices: /* FILTER LOOKUP - SP ...
0
votes
0answers
42 views

SP2010: Displaying CAML query results in XsltListViewWebPart

How can I get my CAML query to call the results on a XsltListViewWebPart in SP2010? Before I continue, 3rd party codes are not supported in the environment I'm working with and this particular page of ...
5
votes
3answers
242 views

Updating a single list item based on relative URL

Is it possible, using SPServices, to update a specific list item when all I have is the file path? For example, I have a file located at /site/library/folder/file.txt and I want to update a single ...
0
votes
2answers
132 views

How to find current logged in user alias not username in SharePoint 2013 using javascript or jQuery?

I am using _spPageContextInfo object to get currently logged in username in SharePoint 2013.In this process first i will get userId value and then i will make an ajax call with this userId value and i ...
1
vote
2answers
128 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) { ...
0
votes
1answer
85 views

Filter DataView web part using SPServices

Ok, this is the issue: I have a Data View web part which I would like to filter depending the "office" the user logged in belongs. I can get this using SPServices (GetUserProfileByName): JS ...
0
votes
1answer
59 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 ...
0
votes
0answers
101 views

Error: The value of the property 'Menu_Unhover' is null or undefined, not a Function object

I would appreciate it if someone could help me out here. I have a SharePoint global navigation bar that I'm using in SharePoint 2010. Every time I apply this script, I get the following error ...
1
vote
4answers
853 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, ...
0
votes
1answer
233 views

Create Next and Previous Paging Using Sharepoint List and SpServices

can anyone help me in Creating Next and Previous Paging for SharePoint List Using Sp-services With Client Side Template Binding . Below is the Code Which I was Using. $().SPServices({ operation: ...
0
votes
1answer
81 views

Does GetListItems not work with content types?

I have been trying to use GetListItems using jquery and SOAP to fetch data from a list. The list does not have an 'item' content type but is using two other site content types (both inherited from ...
0
votes
1answer
132 views

Using UpdateListItems for multiple items?

I would like to use UpdateListItems or something similar to allow my users to pass in some variable (e.g., a name) so I can use a caml query to find all items where SomeUserField = 'John B Smith' and ...
0
votes
1answer
97 views

Retrieve current site name (not url) programmatically?

I want to create a code that only generates a link for certain users in a group, but this group name changes across the many subsites that my users have. The group name = [Site Title] + ' Creators' ...
0
votes
0answers
108 views

Document Library EditForm that Saves then Redirects to Page with Query String

In SharePoint 2010, with a document library, the default editform resets the Source parameter in the URL which prevents you from navigating users back to source after selecting the Save button. This ...
2
votes
1answer
203 views

CORS with SPServices + jQuery

I need to access from a different domaine on a mobile a sharepoint list. Here is my code, a simple get request : $.support.cors = true; $(function() { $().SPServices({ operation: "GetListItems", ...
0
votes
1answer
369 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
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 ...
0
votes
3answers
1k 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
308 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
90 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
48 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
159 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 ...
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
1answer
189 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
210 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
37 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
853 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
319 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
172 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
109 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
723 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
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
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
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
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
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
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 ...
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
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. ...
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 ...
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", ...