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

learn more… | top users | synonyms

0
votes
2answers
27 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
28 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
14 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
24 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
13 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
39 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
21 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
43 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
14 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
18 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
26 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
29 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
23 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
32 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
19 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
44 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
77 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
98 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
17 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
55 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
45 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
26 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
77 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
82 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
43 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
28 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
80 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
88 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
44 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
24 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
149 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
74 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
31 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
110 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
97 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
34 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
537 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
643 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 ...
0
votes
1answer
57 views

Get List Items from list linked by lookup

I'm making a JavaScript extension for form elements. The goal is to bind it to a lookup and react on change. Since I'm weak at webservices, I'm using SPServices. var lookupFieldInternalName = ...
0
votes
1answer
58 views

SP services multiple lookup

I've managed to get information from a multiple lookup with the line below, however it returns a single string. I need to compare each item to a known path. i.e. IT, IT/sub1, IT/sub2 etc. so ...
0
votes
1answer
93 views

Get the value of a lookup column and pass to a child display page

Need to get the value of a lookup column and pass it to a child list display in a new page Use SP Services? has this ever been done not finding any info. Thank you
0
votes
0answers
101 views

Document Set created using SPServices shown as folder in WelcomePageView

After creating Document Set programatically using jQuery SPServices, if i click on Document Set Name it showing AllItems.aspx page instead of default docsethomepage. I checked in the Welcomepage view ...
4
votes
4answers
237 views

How to update the name of an attachment from a list item (if possible, with SPServices)?

Like the title says, I'd like to know how to update the name of an attachment from a list item. The document name.I've figured out how to get the attachment from a list item (see code below), on the ...
0
votes
2answers
95 views

Cascading Lookup columns

I have a project where I need to create a form. In that form I have several columns. The columns that I have questions about are assignment category Assignment type I have questions because the ...
0
votes
0answers
69 views

Compare list items with text value entered

I have one list with 3 columns (Title, Department, Contact person). I have one input text field & button to submit on the page from where users will type "Title" (Application title) and click on ...
0
votes
1answer
121 views

Update SharePoint 2010 List with onclick event

I have a SharePoint list of devices, the columns are as follow, text and choice. The choice is either In or Out. I wanted to have a webpage that the controller of these devices could click on a ...
0
votes
1answer
65 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
66 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
79 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 ...