Tagged Questions

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

learn more… | top users | synonyms

1
vote
0answers
11 views

Error from javascript file but not console?

The error in question Uncaught Error: The property or field has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested. ...
0
votes
1answer
15 views

Getting Recursive items from SharePoint Calendar

Any idea on this below scenario In the case I have an item that starts at 01/01/2014 and ends at 01/01/2025 with a recurrence every Tuesday, the query returns all items from today until today + year. ...
2
votes
0answers
16 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 ...
0
votes
0answers
42 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 ...
2
votes
2answers
63 views

return all empty folders in a document library using webservice

For a client I'm looking at the following case: They have all sorts of documents within a document library grouped into folders (multiple levels deep). If a folder doesn't contain a document, the ...
0
votes
2answers
31 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
28 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
29 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 ...
1
vote
2answers
62 views

CAML Query not limiting rows

I'm using the SPServices GetListItems function to pull entries from a calendar list. All of the information is being retreived without any issues. However the RowLimit is not restricting the number of ...
0
votes
1answer
53 views

SPServices : GetUserProfile with specific param

I want to use the SPService GetUserProfile, but I don't have the accountName, the GUID, the Index or the email... I only have a param which is employeeNumber (I guess this is specific to my ...
1
vote
2answers
78 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
42 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 = ...
0
votes
1answer
36 views

405 Method Not Allowed when creating new item in SharePoint list from remote site

I want to create a simple webpage with a form that can create new items in a SharePoint list. I want to make this as a remote site that just connects to sharepoint. Since I had a problem with REST ...
0
votes
1answer
59 views

$().SPServices.SPUpdateMultipleListItems

is it possible to use camlQueryOtions like var camlQueryOptions = "<QueryOptions><Folder>" + searchfolderName + "</Folder></QueryOptions>"; with ...
0
votes
0answers
163 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 ...
1
vote
0answers
14 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 ...
0
votes
2answers
29 views

Are the SharePoint services a web services or windows services?

Are the SharePoint services a web services or windows services? please provide me with references thanks,
0
votes
1answer
37 views

How do I get the url pointing to a document library?

I am trying to retrieve all document libraries in a site collection using an SP.Service and place them in a container with their correspondent url pointing to the internal library. So far I have ...
0
votes
0answers
51 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 ...
0
votes
1answer
50 views

SPServices Casade Dropdown List Item Threshold

I am using the SPServices.SPCascadeDropdowns function. The relationship list just recently went over the 5,000 list item threshold limit. I now get this error where my fields used to be: This is a ...
1
vote
3answers
159 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. ...
1
vote
1answer
79 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
114 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, ...
0
votes
1answer
33 views

SP2010 - How to set URL for GetRatingOnUrl method?

I'm trying to get the ratings for a list item in a custom list, using the GetRatingOnUrl method. List is rating enabled. I'm accessing this method via the SPServices jquery library. I'm not sure how ...
0
votes
1answer
231 views

SPServices - GetListItems - formatting results

I am using SPServices in Sharepoint 2013 to get some results from cutom list named "navigator" presented here: and for this purpose I am using code: <script type="text/javascript" ...
3
votes
2answers
152 views

What are the advantages of using SP Services?

What advantages would I gain by using the SP Services library in SharePoint releases 2010 and later? The 2013 (and even the 2010) JavaScript Object Model and REST API seem to cover a significant ...
0
votes
1answer
223 views

SPServices GetListItems GroupBy

I am using the SPService, the method GetListItems. I need to groupBy the result (distinct). This is my code: var CamlQuery = '<Query><GroupBy Collapse="TRUE"><FieldRef Name="nameA" ...
5
votes
3answers
277 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 ...
1
vote
1answer
60 views

CAML query on external list not looking beyond ECT filter limit

I have an external list which is tied to an external content type. The external content type is tied to a SQL table with about 3000 records. I have set up a Read Item operation, and a Read List ...
0
votes
1answer
333 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 ...
0
votes
2answers
268 views

How to find relative URL of a document library using JavaScript?

What I am trying to do is to enable the dialog with the metadata information when I drag and drop a file in a document library. The same dialog that appears when you upload a file through the +New ...
0
votes
0answers
44 views

Change View Name Using js SPServices

I am attempting to write a Javascript function that uses SharePoint Web Services and the SPServices jQuery library to update the name of a view using the Views.UpdateView method. I have successfully ...
0
votes
2answers
139 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
145 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
100 views

SPServices - GetGroupCollectionFromUser - Limit Scope to Current SP Site

I'm currently using SPServices GetGroupCollectionFromUser to return all the Groups an SP user belongs to and it is working awesome! Would like to know if there is a way to limit the scope of ...
0
votes
2answers
147 views

Cascading dropdown not working

I am trying to get cascading dropdowns to work on a list, but I seem to be missing a point somewhere. Please help me out. I have added jQuery and jquery.SPServices to my masterpage. The dropdown ...
0
votes
1answer
91 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
0answers
145 views

Using jQuery SPServices to start a SPD reusable workflow

I am trying to initiate a SPD workflow that has been defined at the web's content type level. The workflow is associated to the content type and I can start it from the SP UI without issue. The item I ...
0
votes
0answers
165 views

SPServices.SPCascadeDropdowns - Display Title rather than key

I'm using SPCascadeDropdowns to filter a child drop down which is working. However, I would like to display another column than the one in the relationship. I have created two lookup columns that ...
1
vote
1answer
61 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
0answers
40 views

Huge Lists - how to make sure they still work beyond the 5k threshold

I am building a site at the moment with two lists (one for emails, one for documents) which have the potential to be massive (1.2 million entries) but it still needs to function and be searchable ...
2
votes
1answer
74 views

Sharepoint SP Services

I am using following code to get Sp List Items and display them $().SPServices({ operation: 'GetListItems', async: false, webURL: '/', listName: ...
1
vote
1answer
61 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
104 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
914 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
244 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
0answers
54 views

Error while updating list item using SPServices

I wanted to update a hidden control in an edit form on the pre-submit(), using SPServices in presubmit(). The status is showing "success", but the xdata.text is showing the error "Access Denied". ...
0
votes
1answer
85 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
2answers
245 views

Get user ID from display name?

My users need a feature which will replace all instances of someone's name (assuming he/she is fired) with someone else. I use SPService's UpdateMultipleListItems action which works fine, but for ...
0
votes
1answer
143 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 ...