I have a customer with a Java App that utilizes a tree to navigate to the appropriate screen. We're trying to use ExpandNode but are running into difficulties. We're attempting to use the Node_ID but that doesn't seem to work.
Any ideas?
I have a customer with a Java App that utilizes a tree to navigate to the appropriate screen. We're trying to use ExpandNode but are running into difficulties. We're attempting to use the Node_ID but that doesn't seem to work.
Any ideas?
Depending on the type of tree you might want to use expandNode, or clickNode, or doubleClickNode to expand the node.
You pass in the path to the node, not the Node_id
e.g. if a tree with a root node Music, and childnodes, Jazz, Rock, Classical
and if you wish to expand node Rock, your command would be "Music/Rock"
You could also expand nodes by the index of the node; in that case your command would be "0/1" (the index of the node)
In the tree I have, the nodes look like this:
Network Objects
- Network Inventory
- Networks
- Nodes
- Cards
- Ports
When I use Network Objects/Network Inventory/Cards in the expandNode, nothing happens. If I use 0/0/2, I get an error from the customer's application for "Exception performing action".
I've also tried to put double quotes around the nodes but that doesn't seem to work either.
Thoughts?
No one has followed this question yet.