State

Interface

The redux store state.

Properties

appConfig
appConfig: IMAppConfig

The app config JSON

appId
appId: string

For online/portal edition, appId is the itemId. For dev edition, appId is like 1,2,3. For download and deployed out app, the appId is null. When use ?config=<> to load app, the app id is the config url.

appPath
appPath: string

The current path in URL, includes page/p1

clientId optional
clientId: string

OAuth2 app id

dataSourcesInfo
dataSourcesInfo: ImmutableObject<{ [dsId: string]: IMDataSourceInfo }>

dataSourcesInfo

jimuMapViewsInfo
jimuMapViewsInfo: ImmutableObject<{ [jimuMapViewId: string]: IMJimuMapViewInfo }>

jimuMapViewsInfo

portalSelf
portalSelf: any

The response of portal self call

portalUrl optional
portalUrl: string

The portal url that the app will connect to, without the ending slash, looking like this: http://esridevbeijing.maps.arcgis.com http://abc.com/portal

If appConfig has portalUrl, it will be copied to this property, or we'll get portalUrl through other logic, such as from browser URL, from user Input, etc.

portalUrl can be null although the portalUrl in app config will always be set in builder for now.

queryObject
queryObject: ImmutableObject<UrlParameters>

The parsed object of the location.search

theme
theme: IMThemeVariables

The theme variables

userLocaleChanged
userLocaleChanged: boolean

When user locale change, we'll let user refresh

widgetsRuntimeInfo
widgetsRuntimeInfo: IMRuntimeInfos

widgetsRuntimeInfo

widgetsState
widgetsState: ImmutableObject<{ [widgetId: string]: any }>

widgetsState

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.