AMPscript
Add
Retrieve
Update
Validate Your Server-Side JavaScript using WSProxy
Use these functions to interact with templates.
In your server-side JavaScript code, first load the core library using this syntax:
1Platform.Load("core", "1");To interact with a template via server-side JavaScript, you must first initialize the object. The code below initializes a list with the external key of ‘myTemplate’.
1var t = Template.Init('myTemplate');