Questions tagged [spservices]

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

Filter by
Sorted by
Tagged with
2
votes
2answers
585 views

Restrict to only one user in people picker with jquery

On people picker column where is allowed multiple entries, I should restrict entry to only one user in edit form. To explain why I need this. Users can enter multiple values to people picker column ...
2
votes
1answer
95 views

Push Info To Excel Issue

I'm trying to push some info collected from a SharePoint site into an Excel file, the code generates an Excel file, but without pushing the info needed in it. I'm trying to look in all sites, all ...
2
votes
1answer
1k 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 ...
2
votes
1answer
2k 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?
2
votes
1answer
605 views

Why won't StratusForms Submit an Update

My project is running an update batch Command via SPServices and I am getting error 0x80020005 in return, but I can't seem to figure out what field or value is throwing the error, so I'm hoping ...
2
votes
1answer
986 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 ...
2
votes
1answer
3k 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("#...
2
votes
1answer
2k views

Update Page Content using SPServices

I am trying to update a Page's content using SPServices. When I run my code, it does update the correct page, but instead of updating the content, it just removes the content. var newContent = "<...
2
votes
1answer
1k views

CORS with SPServices + jQuery

I need to access from a different domaine on a mobile a sharepoint list. Here is my code, a simple get request : $.support.cors = true; $(function() { $().SPServices({ operation: "GetListItems", ...
2
votes
1answer
2k 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, ...
2
votes
1answer
199 views

How to store “stream” and “fields” paramters properly

I'm trying to use the GetItem method to use for copying documents, but I'm not having luck with the field or stream parameters. Below is an example of how I attempted to store each of them. When I ...
2
votes
1answer
3k 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 ...
2
votes
1answer
116 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 Anderson(http://sympmarc.com/...
2
votes
1answer
2k views

Hide fields on NewForm.aspx and EditForm.aspx based on the current user's membership in a SharePoint Group

I have found a number of recommended ways in blogs looking to answer how to do this and have not successfully made any of them work using SharePoint MOSS 2007 and SharePoint Designer 2007. I have ...
2
votes
1answer
72 views

Using SP's document rendering engine in a 3rd party utility

New to the community. Wondering if it's possible to call SP's document rendering engine from a third party utility. What I'd like to do is call it from my application, so that I can take a MS Word ...
2
votes
1answer
58 views

SP Tools help - Not returning results

I have downloaded SPTools from github, and have followed the directions of uploading the files to a Document Library. When I try to open the index.html file from the document library, I get prompted ...
2
votes
1answer
71 views

SharePoint SPService SPCascade dropdown show none in the edit mode

We have 2 relationship lists such as Category and Sub Category List We successfully set cascade behaviour in the new item page. $().SPServices.SPCascadeDropdowns({ relationshipList: "...
2
votes
1answer
70 views

SPServices does not work in the document library

Tell me why SPServices does not work in the document library, there are no problems in the list, but the library does not work out either, the Russian language name, tried both GUID and by name...it's ...
2
votes
1answer
82 views

Passing displayed item ID to a newitem form of a webpart

I have a webpart with list B put in a displayform of an item of list A . Lets assume its for adding grocery in your basket where list A contains baskets and list B groceries with a column associated ...
2
votes
0answers
117 views

SharePoint 2016 Cannot create any service - Error TimedOut

I have Two Servers one for SharePoint 2016 Farm and the other for SQL Database. One of the users called me and told me that the Search is not working! when I checked the service its started but when I ...
2
votes
0answers
5k views

Search has encountered a problem that prevents results from being returned. If the issue persists, please contact your administrator

My sharepoint site is displaying this error when I search something I have tried deleting and creating a new search application but the problem still persists. I have also tried tried this tutorial ...
2
votes
0answers
153 views

SPServices returning no items [closed]

I'm using a SPServices operation form to get list items. The code is as below: NWF$().SPServices({ operation: "GetListItems", async: false, listName: "listname", CAMLQuery: "<Query>&...
2
votes
0answers
2k views

Why/when to use async:false in SPservices [closed]

In recent questions related to SPServices SPServices and GetListItemChanges rendering, spservices and view title header counts Display an Announcement List inside <div> tag I see people use ...
2
votes
2answers
56 views

Is There A Way to Determine if More Than One Option in Custom Dropdown Field?

I have a custom dropdown choice field that is created using jQuery after a date is selected and a choice box is selected as "Yes." Here is that function: function queryEvents(date){ $('#...
2
votes
4answers
2k 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
0answers
311 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 ...
2
votes
1answer
984 views

Get all the groups and the permissions they have, on a document library (using SPServices)?

I'm trying to figure out how to get a list of all the groups that are allowed to edit/read a document library. I will need the name of each group and which permissions it has (edit or read). I used ...
2
votes
0answers
341 views

How to include custom managed metadata in FullTextSQLQuery searches?

I am using SP2010 and spservices jquery library to make sql search queries to the search service. I created a managed metadata called DocumentGUID which is mapped to the document guid crawled property....
2
votes
0answers
457 views

CAML Query on External Content Type not honoring the <In> operator

So I've been testing this out for a day or so. For the life of me I cannot get an external list to listen to honor the <In> operator in CAMLQuery. On any other type of list it seems to work ...
2
votes
1answer
2k views

jQuery find doesn't return single result - SPServices, SharePoint 2010 Search Web Service

I'm using SPServices to access the SharePoint Search web service. When it returns multiple results my code function fine. However, when it returns on a single result the str.find("Document").length ...
2
votes
0answers
310 views

Using SPServices to retrieve InfoPath repeating section fields in a SharePoint 2007 Library?

I have an InfoPath 2007 form that contains a repeating section field. I publish this form to SharePoint 2007, which create a Library. How do I use SPServices to retrieve this field from the Library ...
1
vote
7answers
17k views

GetListItems - No Items to return

I have been working with GetListItems, and found it to be very reliable, and easy to implement. One thing I'm trying to figure out is how to handle when there are no items in the list matching the ...
1
vote
2answers
4k views

function(xdata, status) explanation - SPServices jQuery

I have recently started learning SPServices library. So if this sounds like a silly question, forgive me. I notice these lines in almost all the examples: completefunc: function(xData, Status) { $(...
1
vote
2answers
3k views

SPServices UpdateListItems

Ok, here's the scoop. I have bunch of lists on sub sites that I am rolling up into a list on the parent site. Here is what I have for code: var title = $(this).attr("...
1
vote
2answers
9k views

Attachment Upload using SPServices and Not the JS File API

I am trying to figure out how to use the SPServices JS library to upload a file without using the HTML5 JavaScript file API. This is specifically targeting IE9. I have a solution that works with all ...
1
vote
2answers
1k views

Hide specific column in list view based on user's membership

In SharePoint 2013 site, there is a custom list which has a column that should be visible to only one particular SP group. That column will not be in forms (new/edit/disp) so I don't need hiding it ...
1
vote
3answers
28k views

Use CAML query based on ID to retrieve a file name?

With jquery and spservices, I use getSelectedItems to retrieve the IDs of a few documents. Can I have a loop which goes through a caml query for each of those IDs to retrieve the file name (...
1
vote
1answer
1k views

Internet Explorer 11 issue with SPServices

I have created js file which have spservices common function which I am using in my page. Below is the code for one of the function which will use for Add/Delete/Update by sending appropriate ...
1
vote
4answers
18k views

Get value from drop down using jQuery (lookup column)

I feel like this should be an easy one but am having trouble finding the answer here and via Google. Using jQuery, how do I retrieve the currently selected value from a dropdown in an EditForm/...
1
vote
3answers
7k views

SPServices <today /> not returning correct results

This is the chunch of code that I am working with. I am trying to get only the events (normal/all day/recurring) to show, and it is returning all items for the whole week. Any ideas? $(...
1
vote
5answers
5k views

Error while adding SharePoint web service reference

I got stuck up with the following error, while trying to add reference for the web service Lists.asmx in sharepoint 2010 from VS.NET 2010. The document at the url http://sp2010/_vti_bin/Lists....
1
vote
2answers
206 views

Does IIS reset is required after disabling SharePoint Services

I would like to stop the SharePoint services ( Workflow Timer Service, Web Application service) on Application servers where central admin and search services are hosted. What are the pre steps and ...
1
vote
3answers
787 views

script runs too soon

I have a little trouble with running a script. It seems the script runs too soon and therefore doesn't work. My goal is a cascading dropdown menu of which various examples can be found on the ...
1
vote
2answers
216 views

Best way to implement “.exists”-type functionality to prevent duplicates?

I'm moving files with spservices (the jquery plugin) and was wondering if there was a good way to check to see if a file with the same name already exists so I can append an underscore or something ...
1
vote
3answers
3k views

Autocomplete with multiple values .from a list

I need to implement a lookup column to a big list, I will probably use SPServices, but so far all examples I have seen is for only one value, and I need it to be multiple values. I need to be able ...
1
vote
2answers
7k views

SPServices: How would I add Ascending=False to CAML in GetListItems

How would I use SPServices GetListItems and still be able to add Ascending=False to the CAMLViewFields? I haven't used this for long and I am just wondering if this is possible? Thanks as always!
1
vote
2answers
6k views

How can I retrieve list items from a subfolder using spservices?

I have a document library with subfolders containing images. I'd like to traverse the subfolders and grab the URLs of those images so that I can display them on my little js web app I'm whipping up. ...
1
vote
2answers
970 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 Type='...
1
vote
1answer
746 views

SPServices simple query does not work

I have the following code and it does not work. Apparently it's all right. The List name and the URL. Can anyone help me find the syntax error? PS: I use Sharepoint Foundation 2010 $()....
1
vote
2answers
7k views

How to display list on application (aspx) page by visual studio?

I have created list and application page in visual studio for sharepoint.Now I have to show that list on that application page. I have option of using SPServices. But is there anything I can do with C#...