# QNavigationModeResult object

Information note**STABLE.**   
  
This API is reliable and breaking changes are unlikely.

return

Return value from mode related navigation methods.

## Version history

Version history

| Version state | Details |
| --- | --- |
| Introduced | 2.1 |

## Properties

### success

Type: Boolean

Returns true if successful.

### mode

Type: String

The new mode. Can be one of:

* qlik.navigation.EDIT
* qlik.navigation.ANALYSIS

For more details, see [Members](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/NavigationAPI/NavigationAPI.htm#Members).

### error

Type: String

The error code if an error occurred, for example:

* MODENOTALLOWED

### errorMsg

Type: String

Error message, for example 'Mode not allowed'.