Tagged Questions

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

learn more… | top users | synonyms

0
votes
3answers
223 views

How do i return the manager name if the userID is provided?

Is it possible to retrieve the name of a user's manager using SPServices if the userID is entered? Ie: Either using a people picker field or a text field ("txtUserID) the userID is entered. Upon ...
0
votes
4answers
4k views

newform.aspx and People Picker field - set current user as default?

This is for SP2010. Got a list. One of the fields is a "Person or Group" type, with the results limited to members of an SP group. I've created a copy of NewForm.aspx in SharePoint Designer, and am ...
0
votes
2answers
654 views

How to reference an announcement list item?

When I look at the url at a given announcement list on e.g. a fresh team site, it is something like: ...
0
votes
1answer
459 views

Get User Profile Info from Preferred Name

I am trying to fetch the manager full name when a user name is populated in the people picker control. Here are the steps I am following: Added another control on page. The ...
0
votes
2answers
747 views

I have two ways to bind gridview one is server side one is client side spservices so which one is better faster and efficient

Server side SPWeb site = SPContext.Current.Web; SPList list = site.Lists["GridList"]; SPListItemCollection items = list.Items; DataTable dt = ...
1
vote
1answer
725 views

insert to sp list is not working with spservices

<script src="../../../_layouts/Gridwebpart/jquery-1.6.3.js" type="text/javascript"></script> <script src="../../../_layouts/Gridwebpart/jquery.SPServices-0.7.2BETA1.js" ...
0
votes
4answers
507 views

jquery 1.7.2 and spservices 0.7.0 syntax unrecognized error with .find(“[nodeName=z:row]” and .find(“[z:\\row,row]”

both .find("[nodeName=z:row]" and .find("[z:\\row,row]" give me syntax unrecognized on SharePoint 2007 IE 8 client trying this code that redirects me to the dispform given a match on title list ...
0
votes
1answer
1k 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!
0
votes
1answer
3k views

Get URL of image from Picture Library using CAML

How is it possible to get the URL of an image that is stored in a Picture Library using CAML? Currently, I've made a CAML Query and run it in the U2U CAML Query Builder, and am seeing values like ...
2
votes
1answer
1k views

Interesting trouble with getlistitems not returning list items

I'm a bit new to spservices, and I hope I'm not asking a question that's already been answered. I've checked and haven't been able to find one like it. I'm using GetListItems to retrieve url's and ...
1
vote
2answers
1k views

Cascading Dropdown for Lookup with more than 20 items

I have implemented cascading dropdown using SPCascadingDropdown (SPServices) it was working for lookup with 19 items . When the items count became more than 20 , the lookup column is displayed as ...
1
vote
2answers
3k views

SPServices GetListItems don't work most of time

I'm using SPService in a list for take some information from an other list. It works just sometimes... I need to refresh lot of time before it works .... Here is my code : <script ...
0
votes
2answers
781 views

childColumnStatic is undefined

I am getting the error "childColumnStatic" is undefined . I am trying to implement cascading dropdown using the below code. Here the column "profilesystem" contains more than 20 items. The below ...
1
vote
1answer
260 views

Filter a list by a value in a User's profile

I would like to replace the functionality of the Current User Filter of SharePoint Server 2010 enterprise. I think I might be able to use SPServices.SPGetCurrentUser but I am unsure if it is ...
1
vote
1answer
896 views

SP2010 Passing Value to New Item Form Modal using Client Object Model/SPD

Beginner. I have a list form that opens from page using SP.UI.ModalDialog. The form is to represent entries into a description list based on ID from parent list. The page has tabs that allow user to ...
1
vote
2answers
449 views

How To Get Site Title From URL in other web app

I have a situation where I need to retrieve the site title for a site in another web application using client side scripting. Client site JQuery SOAP calls to the "Webs" web service returns the ...
3
votes
2answers
8k views

SPService GetListItems with CAML : can't get example to work

enter code hereI am using an example I found on codeplex of SPServices with CamlQuery to try to get list item values with where clause on the ID. For whatever reason this doesn't seem to work for me; ...
0
votes
1answer
183 views

SPServices: Using variable as column name - possible?

When using SPServices, is it possible to use a variable to specify the column to be updated? res = lists.quickUpdateListItem('MyListHere', { ID: ReqD, columnVar : userName }); In the above ...
1
vote
1answer
344 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 ...
2
votes
1answer
5k views

jQuery & SP2010 : Upload document to library using jQuery?

I built a custom form that saves the data to multiple lists with on click; it works pretty well for its intended use (keeping the data related). Thing is I am totally new at jQuery and SPServices, but ...
0
votes
0answers
256 views

spcascade dropdowns

I am trying to implement the spcascade dropdown for achieving caascading. My cascading is achieved but somehow i get the following error on btn OK Click, Invalid postback or callback argument. Event ...
-1
votes
1answer
4k views

SPServices geting items from list

I need to get a number of fields from my list. I've got the ID but dont know how to get the Title, Created by, Customer Name. etc. Once I get these values I want to populate the form. Code so far ...
1
vote
2answers
1k views

Accessing list data from another site collection or web application using REST services?

I have a list (Links template) of URLs that is on a site collection and I was wondering if it is possible to include this list as a jQuery megamenu on another site - ideally another web application on ...
2
votes
1answer
5k views

SPServices: trying to learn how to use this and jquery, help with example

So I am trying to learn these both as I read nuthin but great things all over the place about them. So this is what I have from example on codeplex: <script type="text/javascript" ...
1
vote
1answer
418 views

CAML query and jQuery to retrieve last item's fields

I want to get list item fields where its the last item that the same user created. Then I want to populate the newform.aspx with some of these items. I'm mainly stuck with the query and how to write ...
1
vote
3answers
1k views

SPServices GetAllSubWebCollection

Ok, here is the scenario. I have a parent site with 3 sub-sites. When I am logged in as myself, "site owner; site collection admin" I can view the results of this query. When i log in as a ...
0
votes
3answers
886 views

SPServices SPGetQueryString from parent window

Not sure if it is possible using SPServices or not, or if I have to roll my own. I need to get the querystring from a parent window when using a modal to add/edit a document. Thoughts? I could use: ...
0
votes
1answer
1k views

Prepopulating a value in NewForm.aspx

I am sending a query string into NewForm.aspx. I have populated a drop down with that value. Everything works great in Chrome but Internet Explorer does not save the pre-populated value. The value ...
0
votes
2answers
1k 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 = ...
0
votes
3answers
2k views

SPServices IE Issue GetListItems

Ok, so here's the rundown. I have a site with three child sites, and I am trying to get a rollup of content from these three sites. Each site has the same list of "Initiatives" and on the parent ...
3
votes
3answers
501 views

jquery projects and visual studio best practices?

Just curious how others are handling their jquery related solutions. It's obviously very easy to add a Content Editor web part with a content link to a source file. That file could have your ...
0
votes
1answer
2k views

SPServices UpdateListItems Will Not Update Target List

I'm trying to copy items from a list in one site and update/paste them into a list in another site, but I can't get it to work. Please help. I have my references to jQuery and SPServices in the master ...
2
votes
1answer
686 views

How to use spservice for taxonomy terms in metadata administration

I have added terms in termset and need to loopthrough the terms in javascript to get the array of terms. so i used spservice. but not working function GetTerm() { var termStore = ...
1
vote
2answers
1k views

SPServices.SPComplexToSimpleDropdown Not Saving Value in IE

ok, first off this works in FF, Chrome and Safari, but does not work in IE. What I am doing is converting the complex dropdown to a simple dropdown using SPServices Auto-populating the projects ...
0
votes
1answer
336 views

SpServices Cannot Get Sub-Sites without Being Site Collection Admin

I am building a web part which is delegated by permissions. It is displayling members of the Members group and Owners group onto the page, and if a user does not have Members or Owners permissions, ...
2
votes
1answer
364 views

Client Side vs Server Side Querying: When to use each?

Relatively new to developing for Sharepoint, but building a website with a lot of functionality. The frontpage alone is making 5 queries to separate lists and has numerous javascript libraries ...
3
votes
1answer
2k 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
3answers
5k 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? ...
0
votes
2answers
3k 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
1answer
3k views

SharePoint 2010 Lookup Column - Autofill with the same Item

I am struggling with some issue. I need to automatically fill the value of a field (in Edit or New.aspx) based on other lookup column. Now I have list Lookup with Name and Surname columns In the ...
1
vote
3answers
2k views

Get attachments of list items with SPServices

How can I fetch the attachments (the URL, to be precise) of a list item with SPServices (the jQuery library)?
1
vote
1answer
145 views

SP2010: Kick-Off Workflow via a Windows Service

I know triggering workflows within SharePoint can be started manually/automatically? In the realm of being fired off automatically, I know capabilities of starting workflows if documents are added to ...
2
votes
1answer
7k views

How can I pass a Parameter via Query String to populate a lookup field on a New Item Form/DVWP?

I have two lists: List A: Products List B: Requirements I'd like to have a nice Create Requirement page launched from the Product Listing page. I have a DVWP/Multi-Item View displaying all ...
1
vote
0answers
189 views

SPServices to retrieve the last record of repeated section data inside Sharepoint library

I have a Infopath that contain 2 fields which I put it as a repeating section as shown in the picture below (for the time being - please ignore the error) How do I retrieve the last record of a ...
0
votes
2answers
438 views

Add Timespan to DateTime Column via SPServices (jquery)

I want to increase and decrease a DateTime column from a specific list with jquery and SPServices. Normaly I should first receive the original datatime and then add the timespan and after that save ...
3
votes
3answers
2k views

using jquery and search.asmx service search People in sharepoint 2010

Hi i use below code for Getting people Search. Using below code I am able to search but getting only user name and User my site url. I want all user profile Property.How I get all user Property using ...
1
vote
1answer
80 views

Send SP warning message on another user changes in a SharePoint item to SPServices

From my understanding from this post (http://sharepoint.stackexchange.com/questions/23597/best-practice-to-handle-items-modification-in-sharepoint-2007), SharePoint uses optimistic concurreny e.g. ...
2
votes
1answer
4k views

Parsing SPServices' GetListItems data

I'm using SPServices with jQuery to collect data from a Sharepoint 2010 list for use in a standalone Javascript powered web application. EDIT: I've found a little more out while investigating this - ...
1
vote
1answer
593 views

Sharepoint 2010 web front end servers and services configuration

I have a sharepoint insfrastructure where a document library is made available both locally and on the internet. I have a few web front end servers facing the public (in the DMZ) while having another ...
2
votes
0answers
185 views

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

I have a InfoPath 2007 form that contain 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 ...