GetAttributeValue

Overview

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

Syntax

GetAttributeValue(1)

Function Properties

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>
Last Updated: Jun 8, 2021