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
1k views

Add new item to child list and refresh the parent form - multiple lookup

I've created a parent list (Vendors) and a child list (software list). There can be multiple vendors for one piece of software. I've created a custom new form with a link which opens up a modal to add ...
1
vote
1answer
28 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 ...
1
vote
1answer
363 views

xslt dropdown & spservice.spcascadedropdown

I have a xslt list form view. I have 3 drop down on the form - Area , Geo Market , Country for which i want to implement cascading functionality. Data saved in list is of type Single line of ...
0
votes
1answer
546 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
2answers
27 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
2answers
41 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
62 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 ...
1
vote
1answer
373 views

Issue with CopyIntoItems (SPServices) - only copy certain fields?

I am using SPServices's implementation of CopyIntoItems the following way: $().SPServices({ operation: "GetItem", Url: itemurl, async: false, ...
0
votes
3answers
201 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
1answer
715 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
0answers
11 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
1answer
1k 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 ...
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
404 views

Add showWaitScreenWithNoClose to SPServices GetListItems

With a button on page which calls the function createListItems() which is added to the page as a link in a CEWP. The function takes 10-25 seconds to complete (get items from one list and add them to ...
1
vote
1answer
835 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
497 views

How To Display A List Of Contacts In A Grid

I have a contacts list in SharePoint. In that list there are a few columns like Firstname, Surname, email etc. There is also an image URL. I would like to bring all of the information in a Contact ...
1
vote
2answers
725 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' ...
3
votes
1answer
386 views

Multicolumn textarea area to insert into SharePoint 2007 but display not correctly

I have a form that use SPServices and have a textarea field for user to insert multi rows data. The data from the textarea can be successfully insert into the SharePoint 2007 column of type 'Multiple ...
0
votes
2answers
329 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
33 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
22 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
52 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
72 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
33 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
14 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
2answers
2k views

Use SPServices in Sharepoint 2013 to display username

Has anyone managed to use SPServices to display the current logged in username in a content webpart? Is this even possible in 2013 (online)?
0
votes
1answer
21 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
52 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
62 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
31 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
73 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
23 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
100 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
2answers
29 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
32 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 ...
1
vote
2answers
27 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
1answer
70 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> ...
0
votes
2answers
316 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 ...
4
votes
4answers
188 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
1answer
44 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
45 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
72 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
81 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 ...
2
votes
3answers
364 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. ...
0
votes
2answers
81 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
50 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
116 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 ...
1
vote
1answer
67 views

Display New item Icon with SPServices

I want to display the New Item Icon with SPServices or using custom Javascript to show a new item icon for n days when Created. I achieved this using XSL. Thank's to Mark ...
1
vote
2answers
748 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
67 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 ...