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

learn more… | top users | synonyms

0
votes
0answers
7 views

SP2010: Simply need to figure out why my SPServices UpdatePermissions call reports success but permissions remain unchanged

Examples of how to use this UpdatePermissions or AddPermission call in JavaScript alone would be awesome and appreciated, but of course any clues or information with regards to my main question would ...
0
votes
1answer
1k 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.
0
votes
0answers
7 views

Set-SPEnterpriseSearchLinksDatabase : The search application … did not finish loading

I refer https://blogs.technet.microsoft.com/wbaer/2013/12/18/how-to-rename-search-service-application-databases-on-the-same-server/ to rename Search Service Application Databases The Administration, ...
0
votes
1answer
46 views

Spservices autocomplete with many columns

Could somebody advise how can I make autocomplete for multiple columns, currently I'm using it for one column: $().SPServices.SPAutocomplete({ sourceList: "My list", sourceColumn: "Email", ...
0
votes
1answer
1k views

SPService GetListItems with CAML : can't get the example to work with status giving error

I am new to SPServices and trying start with example GetListItems. Below is my code $(document).ready(function() { GetTasks(); }); function GetTasks() { var method = "GetListItems"; ...
0
votes
1answer
622 views

Retrieve SP-List data cross domain via SPServices?

I am trying to retrieve data from a SharePoint List hosted in a different server/domain. We are still running SP 2010 but about to migrate to 2013. I am not sure if jQuery.SPServices and CORS are the ...
0
votes
5answers
10k views

Jquery to get list items from SharePoint list

I have a work from my time to use jQuery with SharePoint . I have written the code to get list items. When I run in IE it doesn't show any errors to me, but I am not getting the results. Can any one ...
3
votes
1answer
3k views

Getting Version History and What Field has Changed

I am using the GetVersionCollection to get the history information from my list. This seems to be working fine; however, what I need to do is get the version history of the individual item which has ...
0
votes
1answer
48 views

How to add images to survey radio buttons?

I need to add images to each response in sharepoint 2013 survey like this: I had no problem with question image. I just added string "image1" to question and then in jquery switched html like this: ...
1
vote
2answers
44 views

How to access custom property from User Profile using jquery

Environment : SP 2010 I have a custom property in User Profile called CompanyCode. I need to fetch this property using javascript/jquery in a master page. Can anyone let me know how to fetch custom ...
1
vote
1answer
829 views

SPServices get list items,values and colums dynamicly from a list

I have this code, where it should call the list item after the user has clicked on the list url. $j('#cd-sp-lists li a').click(function(){ $j("#status").fadeIn('fast'); $j("#...
1
vote
0answers
19 views

Use of SPServices in Nintex form [closed]

I have used SPServices in Nintex form to get the list items. The code is as below: NWF$().SPServices({ operation: "GetListItems", async: false, listName: "listname", CAMLQuery: "<Query&...
0
votes
0answers
314 views

“like” button in SharePoint 2010

I have a subsite in SharePoint 2010 forum type and I need to add a button "like" next to the "comment" button. I searched the internet for a way to do this with spservices, though I just found in ...
1
vote
1answer
28 views

Programmatic link to directly open Office Documents

When a view that has links to Office documents is added to a webpart the click event opens the document directly. But when the link is built using CAML and SP the click evokes the "Do you want to open ...
0
votes
1answer
41 views

Loading multiple SP.SOD.executeFunc('sp.js', 'SP.ClientContext', functionname);

Share experience As recommended in various posts I changed the way the functions load from $(document).ready(function() { functionName(); }); to SP.SOD.executeFunc('sp.js', 'SP.ClientContext',...
1
vote
1answer
40 views

Display attachments for each list item

I am trying to achieve something like this: Each list item have attachments (at least 1). For now I have code which display all attachments with titles but I don't know how to modify this code to ...
1
vote
1answer
2k 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 ...
1
vote
2answers
63 views

Set Welcome Page using Javascript only?

Is it possible to set the Welcome Page of a SubSite using only Javascript? I'm looking to create an Onclick Event that does this. Anything would help.
0
votes
1answer
369 views

SPServices Cascade Dropdown ListItem Threshold

I am using the SPServices.SPCascadeDropdowns function. The relationship list just recently went over the 5,000 listitem threshold limit. I now get this error where my fields used to be: This is a ...
0
votes
0answers
224 views

SPServices radiobutton click event

I have 3 lists quiz Questions answers Quiz - list columns Title Description Number of Questions Questions Quiz-title (from the above list) tells which questions belong to which quiz ...
0
votes
2answers
753 views

Content Editor Webpart and SharePoint 2007 object model?

I have to supply the query and should display the information on the SharePoint 2007 page based on the Enterprise Search Results. I wonder, if it can be achieved through Content Editor WebPart ? ...
0
votes
1answer
47 views

SPServices.SPGetCurrentUser does not work on subsite level?

I am using SPServices to get current user like this: var user = $().SPServices.SPGetCurrentUser(); This works fine in the main site, but when I use the same line of code in subsite, I get: ...
2
votes
2answers
1k 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' Revision='1000'...
2
votes
1answer
1k 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 ...
0
votes
1answer
48 views

Bootstrap Carousel with jQuery to query the images from Picture Library

I am having trouble having the jQuery to fetch the images from the Picture Library in SharePoint and display on bootstrap carousel. I'm very new to this functionality using jQuery and I think I am not ...
0
votes
1answer
29 views

Get user information from a sub site?

I'm having trouble getting a user's info using SP Services from a sub-site. Using the code below I get the error There are multiple root elements. var employeeName = $(this).attr('ows_Employee'); var ...
0
votes
1answer
21 views

Getting the site collection url for 2007 to O365

I'm trying to figure out how to get the site collection url for any version of SharePoint, not sure which method would be the best I figure using window.location probably isn't reliable, ...
0
votes
1answer
36 views

how to get the large thumbnail of picture url

how can I get the Large Thumbnail of user picture,because by debaut it give the Medium: $().SPServices({ operation: "GetUserProfileByName", async: false, webURL: ...
1
vote
1answer
37 views

SharePoint 2010 - REST - retrieve group members

I am building a form using REST and am trying to create a drop down based on a person/group field. '..ListData.svc/listNameFieldName' does not seem to work for those field types and accessing '.....
0
votes
0answers
27 views

How to get SharePoint users from a particular group using SPServices

Is that possible get the members of a particular SharePoint group with the help of SPServices. Please help.
1
vote
1answer
71 views

how to get current sp user department using javascript/spservice

How to get current login user department using java script or spservices? Any idea?
1
vote
2answers
617 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
0answers
13 views

Infopath - SPServices - SPCascadeDropdowns

Is it possible to use SPServices.SPCascadeDropdowns with infopath? My script working fine with a default form but not with an infopath form. I would like to find a solution for use it with infopath. ...
0
votes
1answer
36 views

SPServices GetListItems not working with large list

I am trying to get the last 100 items entered into a list with 13000 items in it. I can pull items from another list on the same site fine but for this list it doesn't seem to get into the ...
0
votes
0answers
46 views

SharePoint 2010 - SharePointPlus Add/Update/Delete list items baed on an HTML table

I have a list that is updated in a system. I save the list as an HTML table (the table ID is "Tracker") on the SP site. I have the table saved and updated periodically. I found the below code (It ...
0
votes
0answers
58 views

Update one list based on another in SharePoint

I am fairly new to SharePoint and just recently started to work on the feature called Limits. Basically, I have two lists: Source and Target. Target list have a column called SPR with unique ...
0
votes
1answer
55 views

Pull Data from SharePoint List using JS and converting it into HTML in the following format?

I was wondering how to use JS in order to pull Data from a SP2013 list convert it into HTML using the following structure below. For example: The List fields are as follows: Title Date Image Body ...
2
votes
3answers
888 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
80 views

SPServices $().SPServices.SPFindPeoplePicker not working for required field

I am using SharePoint 2010 and SPServices to get values from people picker in custom field. It is working fine but not fetching data for required fields. can anyone help me with this. var PP = $()....
0
votes
0answers
28 views

How to remove user form SPGroup using SPServices

I am using below code for removing user from particular group using SPServices. In complete function alert is showing success, but in XData it is displaying User does not exist or is not unique. I ...
0
votes
0answers
22 views

SharePoint 2010 modal dialog box not loading in IE compat mode

I am developing some custom tables using spservices to get data then place it into jquery datatables. On one of my columns I link to the items display form. This works when linking as a new tab. If ...
0
votes
1answer
21 views

Cant add date more than 2 columns

I cant seem to add an item in more than 2 columns. I have 3 columns, Employee ID, Employee Name, and Employee Email. I can add in the Employee ID and the Name, but when adding the email it does not ...
6
votes
2answers
6k views

How to get file or list item icon in SharePoint 2013 using javascript

My requirement is i have to display files from document library with images using javascript object model or spservices. pls let me now is there a way.
1
vote
1answer
22 views

SPServices to create list items of a specific content type (i.e. specify the content type)

I'm attempting to use SPServices to create items in a custom list that are of two different custom content types but I can't seem to get it right. If I don't need to specify the content type of the ...
0
votes
0answers
10 views

How do I get the ID of a discussion in the flat/threaded view

I'm working with a discussion list and I want to use it as a ticketing system. When I'm inside the flat/threaded view, I want to use a button that will change the status from open to closed. The ...
0
votes
1answer
29 views

SPServices + SharePoint-Hosted Add-in in a development site

I've tried to deploy SPServices library into a SP Add-in in a developer site collection, but I'm getting the attached error. Notes: The add-in consumes data from another SiteCollection (a) I've ...
1
vote
2answers
53 views

2010 - Cascaded DropDown doesn't work with SPServices

I want to use SPServices to get cascaded dropdowns. A first dropdown menu will include, depending on the first choice, the choices of the second dropdown menu. I have 3 lists. The first one is a ...
1
vote
0answers
43 views

Single page app that display all site collections , subsite , all lists in ul li (like sitemap)

I want to make sharepoint hosted application. Is this possible to get all site collections and all sub sites and all list in tree view structure within app. Please provide some techniques how to ...
0
votes
1answer
26 views

Get the month name using html date control

I am using HTML controls to get interact with SharePoint 2013 list And performing CRUD operations using JSOM between forms and lists My form is having HTML date control.And on the submission of it, ...
0
votes
1answer
43 views

Sharepoint list update ALL items SPServices or REST API

Please tell me how to update all the elements of the list without conditions or with the condition, a separate item is updated just by ID, and all the elements of the list?