AMPscript
GetValue
SetValue
Validate Your Server-Side JavaScript using WSProxy
Returns the value from the specified AMPscript variable in the current script context
GetValue(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | AMPscript variable from which to return the value |
1<script runat=server>
2 var example = Platform.Variable.GetValue('@AMPscriptValue');
3</script>