AddListColumn
Adds a new column to the specified list.
Input
Name | Type | Description |
List | String | The name of the list on the SharePoint server. |
ColumnName | String | The name of the column to add. |
DisplayName | String | The display name of the column to add. |
DefaultValue | String | The default value of the column to add. |
ColumnType | String | The data type of the column to add. The valid options are defined by the FieldTypes available in the SharePoint API: https://docs.microsoft.com/en-us/previous-versions/office/sharepoint-csom/ee540543(v=office.15). |
MaxLength | String | The values' maximum length of the column to add. |
PrimaryKey | String | A Boolean value indicating whether the column should be primary key. |
ReadOnly | String | A Boolean value indicating whether the column is read only. |
Required | String | A Boolean value indicating whether the column is required. |
Result Set Columns
Name | Type | Description |
Success | Boolean | Indicates whether the operation was successful or not. |