
The history control is a list of recently accessed views. You can use this list to access any particular view in the list.
You can use the API detailed in this document to control the content of the history control. The API enables you to add elements into the history list or to clear the list of all element entries.
You have created a mobile application with multiple views.
You can implement the following function calls within a view controller.
Adding a History Element
If you wish to add a view element to the history list then you can use the following function call:
this.addHistoryItem( <TargetViewID> )
Where TargetViewID is an integer constants for the view. You can obtain the correct TargerViewID by using the method:
wdGet<WindowName>WindowController().<ViewName>
Clearing the History
If you wish to clear the history control of all existing elements and also disable the Back link, use the following function call:
this.clearHistory()