Skip to content

$().SPServices.defaults

MrMEteo edited this page Apr 29, 2016 · 1 revision

Function

$().SPServices.defaults

Functionality

Using the defaults object, you can set the defaults for the remainder of the page life. This can be useful if you'd like to make many calls into the library for a single list or site. For a list of the available options, see the source code.

Syntax

$().SPServices.defaults.optionName = value;

Examples

$().SPServices.defaults.webURL = "http://sitecollection/siteA";  // URL of the target Web
$().SPServices.defaults.listName = "Site Parameters";  // Name of the list for list operations
Clone this wiki locally