NodeRename function

Syntax

NodeRename(oldNodeName, newNodeName) 

Description

Use the NodeRename function to rename a node. All node names are uppercase.

Parameters

Parameter Description

oldNodeName

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

newNodeName

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

Returns

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

Example

&Rslt = NodeRename("QEM_TEST_NODE", "QE_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.