Returns the navigation nodes in the selected path: from the selected node up to the top level (initial nodes) of the navigation hierarchy. For example, in the following navigation hierarchy, the method returns nodes C, B and A, in that order, as shown below.
None
An array of the NavigationNode objects that represents the selected path. The array contains the nodes from bottom to top: the currently selected node is the first element, and the top-level node in the selected path is the last element.
Syntax
var pathArray = EPCM.getSAPTop().LSAPI.AFPPlugin.model.getCurrentSelectedPath(); for(int = 0; i < pathArray.length; i++) { pathArray[i].getTitle(); }