Fields.UpdateSendableField

Overview 

Updates a data extension field used as part of a send from a current value to a new value

Syntax 

Fields.UpdateSendableField(1)

Function Properties 

OrdinalTypeDescription
1stringRequiredAttributes of content area to change

Example 

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");