This project has moved and is read-only. For the latest updates, please go here.

SPServices 0.2.6

Rating: No reviews yet
Downloads: 290
Released: Aug 26, 2009
Updated: Aug 27, 2009 by sympmarc
Dev status: Beta Help Icon

Recommended Download

Source Code jquery.SPServices-0.2.6.js
source code, 12K, uploaded Aug 27, 2009 - 290 downloads

Release Notes

Changes to Options

Standardized the option names to match the MSDN documentation. Specifically:
  • listname --> listName

async: true, // (Optional) Allow the user to force async

Bug Fixes

Object Required error - GetListItems on filtered column Title is required

New Operations

Web Service Operation Options MSDN Documentation
Lists GetAttachmentCollection [webURL], listname, ID Lists.GetAttachmentCollection Method
Versions DeleteAllVersions fileName Webs.DeleteAllVersions Method
DeleteVersion fileName, fileVersion Webs.DeleteVersion Method
GetVersions fileName Webs.GetVersions Method
RestoreVersion fileName, fileVersion Webs.RestoreVersion Method

New Function



The SPCascadeDropdowns function lets you set up cascading dropdowns on SharePoint forms. What this means is that you can enforce hierarchical relationships between column values. The function uses the GetListItems operation of the Lists Web Service to refresh the allowable values based on relationships which are maintained in reference lists. By implementing this function, you can remove all of the coding requirements to manage the hierarchical relationships (once it is in place) and let your users manage the content.

Currently, the function only works if there are fewer than 20 options in the dropdowns. As you may know, for some reason SharePoint changes the control it uses if there are 20 or more options. We’ll get that logic into the function soon, but we wanted to make this simpler logic available.


	relationshipList: "",		// The name of the list which contains the parent/child relationships
	relationshipListParentColumn: "",	// The name of the parent column in the relationship list
	relationshipListChildColumn: "",	// The name of the child column in the relationship list
	parentColumn: "",			// The name of the parent column in the form
	childColumn: ""			// The name of the child column in the form


	relationshipList: "Regions",
	relationshipListParentColumn: "Country",
	relationshipListChildColumn: "Title",
	parentColumn: "Country",
	childColumn: "Region"


  • Relationship list contains two columns: Title (which represents childColumn) and parentColumn
  • The dropdown for childColumn is a lookup into relationshipList's Title column

Reviews for this release

No reviews yet for this release.