Configuration

These operations allow you to set or remove Configurator values using the command line.

Set Config

This operation adds a site-scoped or list-scoped Configurator option to the system.

Name

Description

Required

list

The name of the SharePoint list.

One of list or listtype is required

listtype

The numeric value for the list type. The selected list will be matched on this type value instead of the list's name.

One of list or listtype is required

name

The name of the Configurator key.

Yes

url

The URL of the site that contains the SharePoint list.

Yes

value

The value to associate with the Configurator key.

Yes

The following example sets the display of the form default buttons to render (or not render) for a given form:

svadm -o setconfig -url http://MySharePoint/MyForms -list "My Form" -name "FormDefaultButtons" -value "false"

Remove Config

This operation removes a site- or list-scoped Configurator option.

Name

Description

Required

list

The name of the list from which to remove the configuration item.

No

name

The configuration item’s name to remove.

Yes

url

The URL of the site from which to remove the configuration item.

Yes

Central Administration Remove Config

The following example removes the AdHocRouterEnabled configuration item from the My Documents list:

svadm -o removeconfig -url http://server/site -list "My Documents" -name AdHocRouterEnabled

Previous Topic

Next Topic