NodeSaveAs function

Syntax

NodeSaveAs(oldNodeName, newNodeName) 

Description

Use the NodeSaveAs function to create a copy of the node specified by oldNodeName, and save it to the database as newNodeName. All node names are uppercase.

Parameters

Parameter Description

oldNodeName

Specify the name of the node that you want to copy, as a string.

newNodeName

Specify the name for the new node, as a string.

Returns

A Boolean value: True, the function completed successfully deleted, False otherwise.

Example

&Rslt = NodeSaveAs("PRODUCTION_NODE", "MY_TEST_NODE");
If Not &Rslt Then
   /* Do error processing */
End-if;

Event Considerations

PeopleSoft recommends using this function only in the SavePreChange event. This gives the user a chance to edit any other page fields before executing, which may be important because this function affects several tables.