AMPscript
Variable GetValue
Variable SetValue
Validate Your Server-Side JavaScript using WSProxy
Retrieves the value of a specified variable
Variable.GetValue(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Name of variable |
This sample code retrieves the value of the specified variable.
1Variable.GetValue("@myAmpVariable");