update_autonumber_format
Modify the AutoNumber format for a Dataverse column to control how future sequential values are generated, using customizable placeholders for prefixes, sequences, dates, and random strings.
Instructions
Updates the AutoNumberFormat of an existing AutoNumber column. This changes how future values will be generated but does not affect existing records.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
autoNumberFormat | Yes | New AutoNumber format using placeholders like "PREFIX-{SEQNUM:4}-{RANDSTRING:3}-{DATETIMEUTC:yyyyMMdd}" | |
columnLogicalName | Yes | Logical name of the AutoNumber column to update | |
description | No | New description for the column | |
displayName | No | New display name for the column | |
entityLogicalName | Yes | Logical name of the table containing the AutoNumber column | |
maxLength | No | New maximum length (ensure enough room for format expansion) |
Input Schema (JSON Schema)
{
"properties": {
"autoNumberFormat": {
"description": "New AutoNumber format using placeholders like \"PREFIX-{SEQNUM:4}-{RANDSTRING:3}-{DATETIMEUTC:yyyyMMdd}\"",
"type": "string"
},
"columnLogicalName": {
"description": "Logical name of the AutoNumber column to update",
"type": "string"
},
"description": {
"description": "New description for the column",
"type": "string"
},
"displayName": {
"description": "New display name for the column",
"type": "string"
},
"entityLogicalName": {
"description": "Logical name of the table containing the AutoNumber column",
"type": "string"
},
"maxLength": {
"description": "New maximum length (ensure enough room for format expansion)",
"maximum": 4000,
"minimum": 1,
"type": "number"
}
},
"required": [
"entityLogicalName",
"columnLogicalName",
"autoNumberFormat"
],
"type": "object"
}