TreeNode.getNodeInLayer Method [AX 2012]

Retrieves a version of the tree node from a specified layer.

public TreeNode getNodeInLayer(UtilEntryLevel layer, [boolean old])

Run On

Called

Parameters

layer
Type: UtilEntryLevel Enumeration
The layer for the new node.
old
Type: boolean
The value specifying whether or not the node should be retrieved from the layer file in the old model store; optional.

Return Value

Type: TreeNode Class
The new TreeNode.

This method throws an exception if the method is not supported for the tree node. Use the TreeNode.TreeNodeType().isGetNodeInLayerSupported method to determine if the method is supported.

Community Additions

ADD
Show: