Table column definitions messages

A column is a container for a piece of data in a table. The term attribute and property (class property) are often used interchangeably with the term table column. Model-driven apps use the term column when they refer to table columns.

Table column messages

The following table lists the messages that you can use to perform actions on table columns.

Message Web API Operation SDK Assembly
CreateAttribute

Create table columns
POST to EntityMetadata Attributes collection-valued navigation property with JSON definition of column. More information: Create columns CreateAttributeRequest
DeleteAttribute

Delete table columns
DELETE to the URL of the column. DeleteAttributeRequest
DeleteOptionValue

Delete a choice from PicklistAttributeMetadata or StatusAttributeMetadata columns
DeleteOptionValue Action DeleteOptionValueRequest
InsertOptionValue

Add a choice to a PicklistAttributeMetadata column
InsertOptionValue Action" / InsertOptionValueRequest
InsertStatusValue

Add a choice to a StatusAttributeMetadata column
InsertStatusValue Action InsertStatusValueRequest
OrderOption

Changes the order of the choice presented in an PicklistAttributeMetadata column
OrderOption Action OrderOptionRequest
RetrieveAttribute

Retrieve a table column
Use the Web API query mentioned in Querying EntityMetadata columns to retrieve table columns. RetrieveAttributeRequest
UpdateAttribute

Update a table column
See Update tables UpdateAttributeRequest
UpdateStateValue

Update the label for a StateAttributeMetadata column
UpdateStateValue Action UpdateStateValueRequest

See also

Column definitions
Create auto-number column
Work with columns definitions
Sample: Dump column definitions information to a file