Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Navigation Tree Items and Help

NAVIGATIONTREE and HELP items share a special relationship in the WMC. When a user navigates to an item in the navigation tree, the HELP item with that has a sub path that is the same as the Navigation Path of the item is queried and the resulting content is used to populate the help pane. Therefore, to get help working for your component you should register a HELP such that it has a Navigation Path that is the same as the one used for the NAVIGATIONTREE item. e.g.

Complete Navigation Path of navigation tree item: NAVIGATIONTREE\ControlPanel\MyComponent

Complete Navigation Path of help item: HELP\NAVIGATIONTREE\ControlPanel\MyComponent

In order to ensure the paths match, you can get the navigation path for the tree item with NavGetItem and use the strFQN field as the path passed to NavInsertItem for the help item. The following example inserts an item under the Control Panel item in the tree and associates dynamic help with it.

  • No labels