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
6 views

Javascript + SPServices while executing the code doesn't show a loading modal nor modifies a button attribute

basically this is my code $('#saveButton').click(function(){ showLoadingDiv(); $('#saveButton').attr('disable','disable'); }); I apply an spservice to save in sharepoint, and a ...
0
votes
0answers
13 views

Get List items using Sp Services on content approval enabled List

I have enabled Content approval on SharePoint List. Able to access all the items that are in pending state through Sp-services Getlistitems. Unable to get data in soap once item is approved or ...
0
votes
3answers
20 views

SPServices getListItems CAMLQuery Issue

Attempting to retrieve items from a list where field School_id is equal to a school_id javascript variable, and using SPServices GetListItems operation. If I run the script without the CAMLQuery: ...
0
votes
1answer
34 views

Problems in SPServices functions and Claims based authentication

I have a web application using SPServices to communicate with a SP 2010 site that has been upgraded to SP 2013. Both my application server and the SP server reside in the same domain, let's call it ...
0
votes
1answer
23 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 ...
1
vote
0answers
13 views

Cross Domain SPServices

I have two SharePoint web apps site1.spnet.local and site2.spnet.local. Im looking to make some cross domain spservices requests using a reverse proxy. The reverse proxy appears to be transforming ...
1
vote
1answer
19 views

Add or Remove List Item Permissions Without a Workflow

I have a list in SharePoint 2010 that has custom SharePoint forms built for different situations depending on an approval process where each item is approved by two different people. Once the item is ...
0
votes
0answers
8 views

How to Attach Information to the Beginning of Each Paragraph in a Single Entity?

I am using SPServices to append information from a SharePoint (2010) list onto a page. This information is a summary written by a user, so it can contain multiple paragraphs or it can contain one, ...
1
vote
1answer
31 views

Help with RemoveUserFromGroup using SPServices

I am using SPServices to list out each permission group and then under each group, each user is listed out. Next to the user, there is a button that will be used to remove that user (and later, ...
2
votes
1answer
32 views

What are the user data returned from Person or Group column (People Only) query?

I'm using SPServices to query a SharePoint Online (2013) list that contains a Person or Group column. (This column is set to allow selection of People Only, in case that matters.) The query used is ...
0
votes
1answer
39 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
29 views

How many different ways are there to name fields in SharePoint?

In working with SharePoint and spServices, I've run into many different ways of naming fields that depends on what you're trying to do. What are these naming schemes called? Let's say in SharePoint ...
0
votes
2answers
55 views

How set a people field with JavaScript

With SPServices I'm getting information from a list A that information contains in one of its columns a people field. In the form B I need to copy that person coming from the list A in one of the ...
2
votes
0answers
26 views

Populate a Managed Metadata field with jquery

I'm using a managed metadata field in a list to represent X properties. I'm using a column site to do this. In a document Library Z I'm using the same column site and a field Y that contains values ...
1
vote
2answers
45 views

Element “Query” is invalid (GetListItems)

I'm calling GetListItems via spservices, and specifying the CAMLQuery field to be the following value: <Where> <Or> <Contains><FieldRef Name='ows_Title'/><Value ...
0
votes
1answer
35 views

GetListItems on document library not returning items within folders

I'm using SPServices to run a GetListItems query on a particular document library. This is in implementing a custom metadata-driven search for lists/libraries. In cases when the document library ...
0
votes
1answer
47 views

How to get user account name by display name

In Sharepoint 2010 I am getting display name of the user with SPServices like 11;#John, Kondo. But I want account name like mydomain\aa2311. Is there any way to get the account name with the display ...
0
votes
1answer
39 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'); ...
0
votes
0answers
54 views

Problems updating a list within App Web from Host Web using SPServices

I am trying to update my list, located within the appweb from a form located within my hostweb using SPServices. I get this error. <?xml version="1.0" encoding="utf-8"?><soap:Envelope ...
0
votes
1answer
26 views

Help with SPServices.SPCascadeDropdowns function

I'm busy working on a form that requires a cascading relationship between two fields/dropdown columns. Field 1 - 'Country' and has is a lookup column of a list of Countries. Field 2 - 'Region' and ...
0
votes
0answers
24 views

“Like it” button using SPServices

Default rating system in Sharepoint 2013 allows to like elements in list view like this: and I have no problem to get count of "likes" with FieldRef Name='LikesCount' but I wonder if is it possible ...
0
votes
1answer
51 views

Cascading Dropdown lists with SPServices not working

I have a list called BRM with the following fields: BRM (Text) Country (List) Business (List) The country list is simple: http://screencast.com/t/uh93fIhzWn The business list is also simple: ...
0
votes
1answer
57 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
2answers
36 views

Escaping the ampersand '&' in camlQueryOptions using SPServices when getting items from a folder

I've tried escaping the ampersand using <![CDATA[]], html encoded characters but it doesn't return any results. My query looks like CAMLQueryOptions : ...
0
votes
0answers
36 views

Cascading dropdowns with 2 parents

I've used SPservices to create cascading dropdowns via lookup columns without issue. My question is if it is possible to create a cascading dropdown with two parents (without using infopath). ...
0
votes
0answers
25 views

Dynamically change date column sharepoint 2010

In a page layout I have 2 drop down column and 2 date column. Using Spcascadedropdown I am successfully getting the cascading feature for the 2 drop downs and also when the second drop down is ...
1
vote
1answer
52 views

Deleting file versions except the latest version either using JSOM or SPServices

I want to write script that gets all versions of documents in site and deletes all of them except latest version either using CSOM or SPServices. I have found some information on net but could not ...
0
votes
2answers
150 views

How to verify if current user is a SCA (Site Collection Administrator)?

I have a NavBar at my master page that will only be displayed to the SCA (Site Collection Administrators). I'm using jquery SPServices to do that validation, but the only examples that i found suggest ...
0
votes
1answer
151 views

How to consolidate JS for CAML queries with multiple filters?

I'm very new at the entire JS/SPServices concept (and JS as a whole) and I'm trying to slim down the amount of JS needed for a few HTML pages. I have several unordered lists on the HTML page that I ...
0
votes
0answers
34 views

How to display multivalues result from SPServices.SPAutoComplete function?

I would like to know how I can display two list fields as a result of SPServices.SPAutoComplete function? For example if I search for customer name, I want to see [customer name + customer ID] as ...
0
votes
2answers
77 views

SPServices async performance

SpServices does offer the most user friendly piece of code on SharePoint, but if we enable async it still lags behind in performance when compared with the client model, any reasons? Or am I missing ...
0
votes
1answer
56 views

hyperlink column in spservices

I am trying to get hyperlink type of column named as "Important Link". without var liHtml5="<li>" + ($(this).attr("ows_Important_x0020_Link")).split(", ")[0]+"</li>"; other code works ...
0
votes
1answer
30 views

Populate SharePoint textfield value into dialog dropdown

Today i ran into this issue, simply described: I have a SharePoint custom list where I have added a custom button in the it's ribbon, this button pops up a custom ASPX modal dialog, this dialog only ...
0
votes
1answer
100 views

GetAttachmentCollection for more than 1 ID?

I need to get URL's and names of attachments from List and I found such code in SPServices documentation. I wonder if there is a way to do the same operation for more than one ID and get separate Div ...
0
votes
1answer
88 views

Filtering list view based on querystring using jQuery?

Using Sharepoint 2010 Content Editor Web Parts (some links dynamically created) List View Web Part Ability to add additional software or packages to the system extremely limited (so would prefer ...
0
votes
1answer
55 views

SP.ClientContext.get_current() is returning the wrong AD username?

I'm logged in as the following user myintranet\svc_q_sp_farm. The "About Me" page lists my details as svc_q_sp_farm, however the following CSOM/JavaScript code returns Sharepoint\System as the user. ...
0
votes
0answers
16 views

Services in topology

We are setting up a new Sharepoint 2013 Farm. On premise. We will set it up like this: 1 application server 2 front end servers 1 database server As of now there will only be 1 Web application with ...
0
votes
1answer
34 views

How can output Title, Email and phone from User Profiles

I found some code that outputs from user profiles and works but it only outputs Manager. How can this be changed to output Title, Email and Phone number? var managerName; $().SPServices({ ...
0
votes
1answer
104 views

Cascaded drop down not working in IE alone

I have created a 3 level cascading drop down in SP2010 list. The cascading drop down is working perfectly in Firefox and Mozilla but in IE,the drop down values from level 2 are not displayed. Can ...
1
vote
2answers
138 views

Sharepoint Date compare using Jquery

can anyone let me know whats wrong with following code var day = new Date(); var Today = day.getFullYear() + '-' + (day.getMonth() + 1) + '-' + day.getDate() + ' 00:00:00'; ...
0
votes
1answer
46 views

Forms7 Cascading Dropdown child not populating

I've been following the video tutorial on using select boxes, and creating cascading dropdowns. The first level populates as expected, however the second child list is not populating. Looking at the ...
0
votes
1answer
26 views

SP Services Published Pages

Does any know how to pull published pages using SPServices ? I am able pull using Object model, but site seems slower using (SPSite oSite = new SPSite(SPContext.Current.Web.Site.Url)) { using ...
1
vote
2answers
176 views

jQuery Code Only Works When Alerts are Active

I posted this to Stack Exchange as well, and I was wondering if some of my fellow SharePoint developers could help me out. This is not a SharePoint direct question, but I am building a site ...
0
votes
1answer
146 views

Get and Alert All z:row Elements

I am using SPServices to get the list items I want returned to me from a specific list. I know how to find a particular element using this the GetListItems function without a problem. Is there a way ...
0
votes
2answers
35 views

Plan farm with three SP2013 servers: all services running on servers

I'm about to deploy a medium SharePoint 2013 farm. I have five servers in total, I'll use 2 of them for the database (high-availability). I have to plan the distribution of SharePoint role/services ...
0
votes
1answer
183 views

Creating valuepair arrays SPServices

I have the information below working, however if I have more than 3 value pairs it can be a long string. How do I turn the value pairs into an array? I tried to use this example but I'm not clear on ...
0
votes
1answer
122 views

SPServices UpdateListItems not working

I created a list called testlist then I created a html within the same site with the following layout <table> <tr> <td><strong>List Item to be added</strong></td> ...
1
vote
2answers
37 views

SPServices SPDisplayRelatedInfo css

I have modified my newform.aspx to have the $().SPServices.SPDisplayRelatedInfo details of related information is also a lookup, when I choose the columName from the dropdown, it has a hyperlink. ...
0
votes
3answers
667 views

SP2013 Trigger People Picker Validation

This question is related to an earlier question I posted, but did not get an answer on, so I am attempting a different approach. To summarize: My goal is to set a people picker value to the current ...
0
votes
2answers
878 views

SPServices Set PeoplePicker field in SharePoint 2013

I've seen a LOT of posts about this, and I am sorry to add to them, but I have spent a lot of time going through them and cannot find an answer that is working in my case. My objective is to populate ...