Show TOC Start of Content Area

Background documentation Relative Navigation  Locate the document in its SAP Library structure

You can trigger navigation to a navigation target that is relative to another navigation node by calling WDPortalNavigation.navigateRelative(). Relative navigation can help avoid problems that can occur when using absolute navigation and the specified navigation node is moved.

WDPortalNavigation.navigateRelative() takes the following main parameters:

      baseURL: Specifies the starting point for relative navigation. The base URL has the same format as the URL for absolute navigation.

Specify null to indicate the currently selected navigation node.

      levelsUp: Specifies how many levels in the navigation hierarchy to go up from the base URL.

      path: Specifies the path down the navigation hierarchy to go after going up the number of levels specified by levelsUp parameter from the base URL.

You can also specify other parameters, as described in Other Parameters in Absolute Navigation.

 

 

End of Content Area