Update

Overview 

Updates the content area and returns a status

Syntax 

Update(1)

Function Properties 

OrdinalTypeDescription
1stringRequiredAttributes of content area to change

Example 

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" });