InsertItem method: NodeTemplate collection
Syntax
InsertItem(NodeName)
Description
The InsertItem method inserts the NodeTemplate object identified by NodeName into the NodeTemplate Collection.
This method is not executed automatically. It is executed only when the PortalRegistry is saved.
Parameters
| Parameter | Description |
|---|---|
|
NodeName |
Specify the name of the node template to insert. |
Returns
A reference to the new NodeTemplate object if the method executed successfully, NULL otherwise.
Example
&NewNodeTemplate = &MyPortal.NodeTemplates.InsertItem("CRM");