VersionControl.onAfterItemRenamed Method [AX 2012]

Renames an AOT element in the version control system.

public boolean onAfterItemRenamed(str oldTreeNodePath, TreeNode newTreeNode)

Run On

Client

Parameters

oldTreeNodePath
Type: str
The path of the old tree node.
newTreeNode
Type: TreeNode Class
The new instance of the tree node.

Return Value

Type: boolean
true if renaming is successful; otherwise, false.

This method is called when the tree node and corresponding file have already been renamed.

Community Additions

ADD
Show: