AMPscript
Add
Fields.Add
Fields.Retrieve
Fields.UpdateSendableField
Retrieve
Validate Your Server-Side JavaScript using WSProxy
Updates a data extension field used as part of a send from a current value to a new value
Fields.UpdateSendableField(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Attributes of content area to change |
This sample code updates the subscriber key value in a field to a new value:
1var updateDE = DataExtension.Init('sendableDataExtension');
2var status = updateDE.Fields.UpdateSendableField("DifferentSubKey", "Subscriber Key");