AMPscript
Add
Remove
Retrieve
Update
Validate Your Server-Side JavaScript using WSProxy
Updates the content area and returns a status
Update(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Attributes of content area to change |
This sample code updates the Name attribute of the content area to the specified value:
1var obj = ContentAreaObj.Init('testca');
2var status = obj.Update({"Name" : "Name Updated By SSJS" });