Overview
Updates a template and returns a status
Syntax
Update(1)
Function Properties
<!--complex table-->| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Attributes regarding template to change |
Examples
This sample code updates the Name attribute of the template to the specified value:
var myTemplate = Template.Init('myTemplateCK');
var status = temp.Update({ "TemplateName" : "Edited Template" });