Show TOC

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

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

The refresh property is then available in the CHIP API object. It provides the method chip.refresh.attachRefresh() to learn when a refresh is requested.

Example:

Code Example
var oChipApi = this.getView().getViewData().chip;
oChipApi.refresh.attachRefresh(function (){
  // do refresh now
});