Excel Add-In for Microsoft SharePoint

Build 24.0.8963

AddListColumn

Adds a new column to the specified list.

Input

Name Type Description
ListName String The display of the list on SharePoint.
ColumnDisplayName String The display name 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).
ColumnInternalName String The name of the column to add.
IsRequired String A Boolean value indicating whether the column is required.
EnforceUniqueValues String A Boolean value indicating whether to enforce unique values for the column.
DisplayAfterCreation String A Boolean value indicating whether to display the added field on SharePoint UI. Default value is true.
LookupListId String The Id of the list where the Field you want to lookup is located.
LookupFieldName String The Display name that you want to Lookup

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation was successful or not.
ErrorCode Integer The error code in case the procedure is not executed successfully.
ErrorMessage String The error message in case the procedure is not executed successfully.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.8963