NavigateToStateHash - cWebApp
Can be called to manually restore a specific application state
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| sStateHash | String | State hash string to restore |
| bReplace | Boolean | If True, the current state hash will be replaced and no new history item will be created |
Syntax
Procedure NavigateToStateHash String sStateHash Boolean bReplace
Call Example
Send NavigateToStateHash sStateHash bReplace
Description
This procedure can be called to manually restore a specific application state.
Sample
The example below shows how a specific state can be restored, navigating multiple levels at once. This will close views that are not in the provided state hash and navigate through multiple views. A new history item will be added unless True is passed to replace the current history item.
Send NavigateToStateHash "SalesPersons/Orders-BS/Order-2196" False