Skip to content

Instantly share code, notes, and snippets.

@zuzannamj
Created September 6, 2022 09:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zuzannamj/86adc3532b302a835992b27f337317cd to your computer and use it in GitHub Desktop.
Save zuzannamj/86adc3532b302a835992b27f337317cd to your computer and use it in GitHub Desktop.
<script runat="server">
Platform.Load("core","1.1.1");
// set the value of a firstName variable
var firstName = "John";
// pass the value to an AMPscript @firstName variable
Variable.SetValue("@firstName", firstName);
</script>
firstName: %%=v(@firstName)=%%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment