Applies to:
- Winshuttle Foundation
CreateColumn
This operation creates a SharePoint column for a given list.
Usage
The following example creates an Originator column in My List:
svadm -o createcolumn -url http://server/site -list "My List" -name "Originator" -type person
Options
Name |
Description |
Required |
-list |
The name of the list. |
One of list or listtype is required |
-listtype |
The numeric value for the list type. The list that you want to add the column to will be matched on this type value instead of the list's name. The first list matched with the given type will be modified. |
One of list or listtype is required |
-name |
The name of the column. |
Yes |
-type |
The type of the column. Must be one of person, single-text, multiple-text, bool, date, or choice. |
Yes |
-url |
The URL of the site that contains the SharePoint list. |
Yes |
-values |
The comma-separated list of the values associated with the item for those types where it is relevant. |
No |