GetAttributeValue

Returns the value from a specified attribute or sendable data extension field.

Syntax 

GetAttributeValue(1)

OrdinalTypeDescription
1stringRequired. The attribute or sendable data extension field to retrieve the value of.

Example 

This example retrieves the email address for a contact and outputs the value to the browser.

1<script runat="server">
2  var contactEmail = Platform.Recipient.GetAttributeValue('EmailAddr');
3  Platform.Response.Write(contactEmail);
4</script>