getNode (name, callback, argument, levelsUp, nodesToDescendInto)
Retrieves a navigation node
Parameter |
Description |
---|---|
name |
The ID of the navigation node to retrieve |
callback |
A callback function to return the result. The callback function receives the following parameters:
|
argument (optional) |
Any JavaScript object. The object is passed to the callback function. |
levelsUp (optional) |
Number of levels to move up from the current node |
nodesToDescendInto (optional) |
Array of nodes to pass through starting from the node specified by the levelsUp parameter |
Return Value
None; the result is returned asynchronously through the callback function.
Example
EPCM.getSAPTop().LSAPI.AFPPlugin.model.getNode(node.getName(), function_name, {arg1:value1, arg2:value2});