ItemByName method: NodeTemplate collection
Syntax
ItemByName(NodeName)
Description
The ItemByName method returns the NodeTemplate object with the name NodeName.
Parameters
| Parameter | Description |
|---|---|
|
NodeName |
Specify the name of an existing NodeTemplate object in the collection. If you specify an invalid name, the object is NULL. |
Returns
A NodeTemplate object if successful, NULL otherwise.
Example
&MyNodeTemplate = &MyPortal.NodeTemplates.ItemByName("HRMS");