Last active
July 25, 2019 05:00
-
-
Save katydorjee/05be47455211c4c198023e4f43ed960a to your computer and use it in GitHub Desktop.
Server side javascript - Add Data to a Data Extension.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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