What's new 1.6
Samples
Several new samples have been added. See below to access some of the newest samples:
- Control the widget state—This widget demonstrates how to control another widget's state programmatically.
- Use calcite components—This sample demonstrates how to use Calcite components in a custom widget.
- Filter feature layer—This widget demonstrates how to filter a feature layer data source programmatically.
Builder updates
ArcGIS Experience Builder includes several new features and enhancements listed below.
- Builder—Create an experience with an auto-populated map directly from Map Viewer or a map or scene item page.
- Data source—The layer order in an experience now honors the layer order saved in the map or scene.
- Templates—Provides two new default templates that use Fly Controller widgets in a fullscreen (Voyage) and scrolling page (Vacation), plus corresponding public app templates to demonstrate each with sample data.
- Windows—Provides two new templates to deliver additional guidance, information, or data in a window.
- Screen groups—Supports moving the entire screen group to the pending list for custom layouts. Provides a blank screen template without a panel.
- Performance—Improves the performance of loading and searching data sources when adding data.
- Download—The downloaded app will now be built and minified for better performance. Each time the app is downloaded a new ID is generated to prevent caching issues during deployment.
Developer documentation updates
- Added Frequently Asked Questions (FAQ).
- Added more component stories to the Storybook. See the below list:
- Index:
Card
andPagination
- Advanced:
- jimu-ui/advanced/data-source-selector:
DataSourceSelector
andFieldSelector
- jimu-ui/advanced/expression-builder:
ExpressionBuilder
andExpressionBuilderPopup
- jimu-ui/advanced/setting-components:
LinkSetting
,LinkSettingPopup
,MapWidgetSelector
andSidePopper
- jimu-ui/advanced/data-source-selector:
- Icons:
Icons
andDeprecated icons
- Index:
Widgets
Widget configuration includes several usability improvements. For example, some settings such as the Action tab and auto layout options only appear now for applicable widgets and layouts. In addition, the following widgets were updated:
- Edit (beta) widget (new)—Allows creating, updating, or deleting features in 2D or 3D data sources or map widgets. Editing directly in a map widget allows modifying attributes and geometry.
- Oriented Imagery widget (new)—Allows interacting with and visualizing imagery that is taken from any angle—including oblique, street-side, inspection, and 360-degree images—in a 2D map or 3D scene.
- Search widget (new)—Placed anywhere on the map or page, use this widget configured with specific layers and locators so users can find features, records, or locations. You can define how and where to display search results in your app.
- Chart widget—Supports line charts, area charts, and four different notations for displaying numerical values, including standard, compact, scientific, and engineering.
- Filter widget—Allows zooming and panning to features on the map after applying the filter.
- List widget—Changing the Regular state layout now automatically updates the Selected and Hover states to match. Allows excluding the Last update label that indicates when the data was refreshed in the app.
- Query widget—Supports querying data sources based on the geometry of selected features. You can specify spatial relationship rules and end users can set a buffer distance at runtime. Allows you to customize results, such as which fields to display and meaningful names based on a custom expression from the data. Drawn graphics can now remain in the map until users manually clear them.
- Survey widget—You can now allow users to view and edit survey responses.
- Table widget—Supports scene layers with an associated feature layer and improves responsive display of tabs on mobile devices or when there's a lot of data. When allow editing is set, you can now specify which fields are editable.
- Text widget—Allows you to customize the content and style of the placeholder text when editing a template.
- Widget Controller—You can now turn off tooltips to avoid duplicating tool labels. You can also move and remove widgets by default.
Breaking changes
Import modules in JSAPI
- In previous versions, we use this type of statement to import JSAPI modules:
import * as Legend from 'esri/widgets/Legend'
, now we need to import like the following:import Legend from 'esri/widgets/Legend'
.
Widget manifest
excludeActions
is moved fromWidgetManifestProperties
toWidgetManifest
.
jimu-ui
JimuMapViewSelector
componentJimuMapViewSelector
is deprecated, useMapWidgetSelector
instead.JimuMapViewSelectorProps
is deprecated, useMapWidgetSelectorProps
instead.
Icon
componentSVGIconProps
is changed toIconComponentProps
.- Type of
size
is changed fromnumber | string
to's' | 'm' | 'l' | number
. options
is deprecated, usecurrentColor
instead.
Icons in
jimu-ui/lib/icons
are deprecated, use icons fromjimu-icons
instead. More details, see Icons storySymbolSelector
- The
SymbolSelector
component contains a popper now. - Prop
intl
is removed. - Add new prop
jimuSymbolType
.
- The
Tree
andList
component- In previous versions, the default padding of tree or list item is
sm
, now a newsize
prop is added, the default value ofsize
isdefault
.
- In previous versions, the default padding of tree or list item is
Chart
component- Prop
arcgisChartsJSAxisLabelSelectionComplete
is removed. config.series[i].multipleBarType
is changed tostackedType
.- Chart ref(ChartInstance):
ChartInstance.addSelectionEventListeners
,ChartInstance.removeSelectionEventListeners
,ChartInstance.enableSelection
andChartInstance.enableZoom
are removed, useChartInstance.setActionMode
instead.
- Prop
UserProfile
component- Prop
userThumbnail
,theme
andintl
are removed. - Prop
saveStatus
is changed toisAppSaved
. - Add new prop:
helpUrl
.
- Prop
DataSourceRemoveWarningPopup
component- Props
beforeRemoving
andafterRemoving
are changed tobeforeRemove
andafterRemove
.
- Props
AdvancedSelect
component- Add
AdvancedSelectItem
prop. - Add
useCodedValues
for dynamic case,true
to display codedValues if exists,false
to display dynamic values. - Prop
values?: ImmutableArray<ClauseValuePair>
is changed toselectedValues?: AdvancedSelectItem[]
. - Prop
codedValues?: CodedValue[]
is changed tostaticValues?: AdvancedSelectItem[]
. - Prop
excludeValues?: ImmutableArray<ClauseValuePair>
is changed toexcludeValues?: AdvancedSelectItem[]
. - Props
field
anddataSource
are changed toOptional
, instead ofRequired
. They only work for dynamic case.
- Add
App config
- Prop
sharedThemeVariables
is moved to fromappConfig.customTheme
to the root ofappConfig
.
jimu-core
ThemeProvider
,styled
,Global
andThemeContext
are deprecated, import them fromjimu-theme
instead.SessionManager
- Method
getMainPortal
is removed, you can get main portal info from state. - Method
initSession
does not require parameter. - Method
useTheme
is deprecated, use it fromjimu-theme
instead. - Method
withTheme
is deprecated, use it fromjimu-theme
instead. ThemeManager
- Method
clearAllThemeCustomVariables
is removed. - Method
getRawThemeVariables
is removed. - Method
getComponentStyles
is removed. - Method
getSharedThemeJson
is removed. - Method
registerJimuThemeStyleModule
is changed toregisterStyles
, and it is moved tojimu-theme
. - Method
getGlobalStyles
is moved tojimu-theme
.
- Method
themeUtils
themeUtils
is removed, its methods are moved tojimu-theme
andjimu-core/sharedThemeUtils
.- Method
getThemeNameFromUri
is removed. - Method
lighten
is removed. - Method
valueOf
is removed. - Method
pathOf
is removed. - Method
varsOf
is removed. - Method
darken
is removed. - Method
isCSSVar
is removed. - Method
colorappendSharedTheme
is removed. - Method
withStyles
is moved tojimu-theme
. - Method
withBuilderStyle
is moved tojimu-theme
. - Method
withTheme
is moved tojimu-theme
. - Method
withBuilderTheme
is moved tojimu-theme
. - Method
getBuilderThemeVariables
is moved tojimu-theme
. - Method
color
is changed togetThemeColorValue
, and it is moved tojimu-theme
. - Method
getMappedShareThemeVariables
is changed tocreateSharedThemeVariables
andcreateCustomSharedThemeVariables
, and it is moved tojimu-core/sharedThemeUtils
.
- Type
clearAllThemeCustomVariables
is removed. - Variable
COMPONENT_CATEGORIES
is removed. - Interface
ThemeOrgSharedColors
is changed toSharedThemeElementsVariables
. - Type
SharedThemeJson
is changed toSharedThemeJson
. - Type
IMThemeOrgSharedColors
is changed toIMSharedThemeElementsVariables
. - Type
IMSharedThemeJson
is changed toIMSharedThemeVariables
.
jimu-for-builder
GuideManager
is moved fromjimu-for-builder
tojimu-core
.
Previous releases
- Version 1.5 July 2021
- Version 1.4 May 2021
- Version 1.3 January 2021
- Version 1.2 November 2020
- Version 1.1 July 2020