The view concept is the same as the ArcGIS Maps SDK for JavaScript, however in ArcGIS Experience Builder, the view is wrapped as Jimu
to ensure a consistent extensibility model when creating widgets, message/actions, etc.
To create a Jimu
object, a widget can use the Jimu
method. A Jimu
object has these main properties:
view
: the map/scene view object.datasource
: the data source (webmap/webscene) that creates the viewId map
: the widget that creates the objectWidget Id jimu
: the layer view object wrapperLayer Views
In Experience Builder, the Map widget creates the Jimu
object. If a widget needs to use the Jimu
object, it can use the Map
component in the setting page to select a map widget. After it gets the map widget ID, the widget can use <Jimu
to get the created Jimu
object. The widget can use the Jimu
component in the setting page to select the Jimu
object as well.