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

learn more… | top users | synonyms

0
votes
1answer
662 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
2answers
16 views

SharePoint Service Application Account Change Powershell Script Error

I am trying to change the manged accounts for SharePoint 2013 service applications. Here is how I am using my powershell scripts $svc = Get-SPServiceInstance -Server DEVSP01 | where {$_.Name -eq "...
0
votes
2answers
34 views

SPServices : Write data into a list with UpdateListItems

Context : I was trying to use UpdateListItems to write some html textbox data into a custom list. The list "Cabinet" contains 13 columns and has already a line of data, only the first column "name" is ...
4
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
0answers
12 views

Method to get list headers & filters via jQuery SPServices CAML GetListItems or similar?

Is there a method similar to GetListItems to grab the column headers and/or filters for a list? Or a way to use GetListItems to get that information?
0
votes
1answer
45 views

CAML Query is not filtering anything when using a Person or Group type column

I'm trying to get a list count based on the CAML query below, but it keeps returning zero. It should return the number of projects assigned to a designer (person or group type column) which their ...
0
votes
1answer
21 views

how to prevent duplicate values for people and group column sharepoint 2010

I've column in a list where we are adding the user name(column type = user and group). If the user is already added in the list and same user if I want to save I should get error message user already ...
0
votes
0answers
24 views

how to merge two items in a single list

In SharePoint 2010 List how to merge two item id in new item while clicking on button using JAVASCRIPT/JQUERY/SPSERVICES. For example I've List1 in this two item inserted. Now once I'll select both ...
0
votes
2answers
27 views

SPServices Update command not using ID

Is there a way to use SPServices update command that is not using the ID as the reference field? I might use employee ID but I cant seem to get it to work. This code below shows when I am using the ...
0
votes
0answers
8 views

Trying to compare People Picker entries and Created By on EditForm SP2007

Been beating myself up with this since last week. I have zero luck getting answers (usually Im told my question sucks on every exchange forum) around here but I am desperate again. This is for SP2007....
1
vote
1answer
907 views

SPServices get list items,values and colums dynamically 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("#...
0
votes
3answers
2k 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 ...
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 ...
0
votes
1answer
29 views

How to start a “Workflow 2010” with CSOM in Sharepoint Online

I am creating a workflow that sends an email to internal & external users. Since, in sharepoint Online, workflows are not allowed to send emails to external users. It is not the case in "workflow ...
0
votes
0answers
16 views

SPServices SPCascade not working in Chrome

I am using SPServices (Version : 0.6.2) with jQuery version v1.6.4 in SharePoint 2010 environment. I am using SPCascadeDropdown function to bind dropdown. It works well in Internet Explorer and ...
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'...
0
votes
2answers
663 views

Sp Services and calendar list

I have a SP Service call which uses GetListItems from a calendar list in SharePoint. I'm using it with the FullCalendar plugin. The events render fine that is not my question, my question is this: Is ...
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
0answers
11 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
8 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
53 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
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 ...
0
votes
1answer
56 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
59 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
0answers
26 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
316 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
29 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
61 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
52 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
2answers
76 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
386 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
228 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
82 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: ...
0
votes
1answer
66 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
31 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
22 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
43 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
53 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
33 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
104 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
643 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
14 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
49 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
55 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
62 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
59 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
920 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 ...