Show TOC

Accessing the "navigation" ContractLocate this document in the navigation structure

As a prerequisite, you have to consume the navigation contract in the CHIP definition XML.

The navigation property is then available in the CHIP API object. It provides the method chip.navigation.navigateToUrl(), which allows you to navigate to a URL.

Example:

Code Example
var oChipApi = this.getView().getViewData().chip;
oChipApi.navigation.navigateToUrl("http://www.sap.com");