Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save katydorjee/05be47455211c4c198023e4f43ed960a to your computer and use it in GitHub Desktop.
Save katydorjee/05be47455211c4c198023e4f43ed960a to your computer and use it in GitHub Desktop.
Server side javascript - Add Data to a Data Extension.html
<script runat="server">
Platform.Load("core","1");
var DE = DataExtension.Init('<Data Extension name>');
var AddRows = {
Field1: 'Value1',
Field2: 'Value2',
Field3: 'Value3'
};
var status = DE.Rows.Add(AddRows);
Platform.Response.Write(status);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment