GetAttributeValue
Overview
Returns the value from the specified attribute or sendable data extension fieldSyntax
GetAttributeValue(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | The specified attribute or sendable data extension field |
Example
This example retrieves the email address for the contact and writes it into the HTTP Response header:
<script runat=server>
var contactEmail = Platform.Variable.GetAttributeValue('EmailAddr');
Platform.Response.Write(contactEmail);
</script>