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:
CardandPagination - Advanced:
- jimu-ui/advanced/data-source-selector:
DataandSource Selector FieldSelector - jimu-ui/advanced/expression-builder:
ExpressionandBuilder ExpressionBuilder Popup - jimu-ui/advanced/setting-components:
Link,Setting Link,Setting Popup MapandWidget Selector SidePopper
- jimu-ui/advanced/data-source-selector:
- Icons:
IconsandDeprecated 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/, now we need to import like the following:Legend' import Legend from 'esri/widgets/.Legend'
Widget manifest
excludeis moved fromActions WidgettoManifest Properties Widget.Manifest
jimu-ui
-
JimucomponentMap View Selector Jimuis deprecated, useMap View Selector Mapinstead.Widget Selector Jimuis deprecated, useMap View Selector Props Mapinstead.Widget Selector Props
-
IconcomponentSVGis changed toIcon Props Icon.Component Props - Type of
sizeis changed fromnumber | stringto's' | 'm' | 'l' | number. optionsis deprecated, usecurrentinstead.Color
-
Icons in
jimu-ui/lib/iconsare deprecated, use icons fromjimu-iconsinstead. More details, see Icons story -
SymbolSelector - The
Symbolcomponent contains a popper now.Selector - Prop
intlis removed. - Add new prop
jimu.Symbol Type
- The
-
TreeandListcomponent- In previous versions, the default padding of tree or list item is
sm, now a newsizeprop is added, the default value ofsizeisdefault.
- In previous versions, the default padding of tree or list item is
-
Chartcomponent- Prop
arcgisis removed.Charts JS Axis Label Selection Complete config.series[i].multipleis changed toBar Type stacked.Type - Chart ref(ChartInstance):
Chart,Instance.add Selection Event Listeners Chart,Instance.remove Selection Event Listeners ChartandInstance.enable Selection Chartare removed, useInstance.enable Zoom Chartinstead.Instance.set Action Mode
- Prop
-
UsercomponentProfile - Prop
user,Thumbnail themeandintlare removed. - Prop
saveis changed toStatus is.App Saved - Add new prop:
help.Url
- Prop
-
DatacomponentSource Remove Warning Popup - Props
beforeandRemoving afterare changed toRemoving beforeandRemove after.Remove
- Props
-
AdvancedcomponentSelect - Add
Advancedprop.Select Item - Add
usefor dynamic case,Coded Values trueto display codedValues if exists,falseto display dynamic values. - Prop
values?is changed to: Immutable Array <Clause Value Pair > selected.Values? : Advanced Select Item[] - Prop
codedis changed toValues? : Coded Value[] static.Values? : Advanced Select Item[] - Prop
excludeis changed toValues? : Immutable Array <Clause Value Pair > exclude.Values? : Advanced Select Item[] - Props
fieldanddataare changed toSource Optional, instead ofRequired. They only work for dynamic case.
- Add
App config
- Prop
sharedis moved to fromTheme Variables appto the root ofConfig.custom Theme app.Config
jimu-core
Theme,Provider styled,GlobalandThemeare deprecated, import them fromContext jimu-themeinstead.SessionManager - Method
getis removed, you can get main portal info from state.Main Portal - Method
initdoes not require parameter.Session - Method
useis deprecated, use it fromTheme jimu-themeinstead. - Method
withis deprecated, use it fromTheme jimu-themeinstead. ThemeManager - Method
clearis removed.All Theme Custom Variables - Method
getis removed.Raw Theme Variables - Method
getis removed.Component Styles - Method
getis removed.Shared Theme Json - Method
registeris changed toJimu Theme Style Module register, and it is moved toStyles jimu-theme. - Method
getis moved toGlobal Styles jimu-theme.
- Method
themeUtils themeis removed, its methods are moved toUtils jimu-themeandjimu-core/shared.Theme Utils - Method
getis removed.Theme Name From Uri - Method
lightenis removed. - Method
valueis removed.Of - Method
pathis removed.Of - Method
varsis removed.Of - Method
darkenis removed. - Method
isis removed.CSS Var - Method
colorappendis removed.Shared Theme - Method
withis moved toStyles jimu-theme. - Method
withis moved toBuilder Style jimu-theme. - Method
withis moved toTheme jimu-theme. - Method
withis moved toBuilder Theme jimu-theme. - Method
getis moved toBuilder Theme Variables jimu-theme. - Method
coloris changed toget, and it is moved toTheme Color Value jimu-theme. - Method
getis changed toMapped Share Theme Variables createandShared Theme Variables create, and it is moved toCustom Shared Theme Variables jimu-core/shared.Theme Utils
- Type
clearis removed.All Theme Custom Variables - Variable
COMPONENTis removed._CATEGORIES - Interface
Themeis changed toOrg Shared Colors Shared.Theme Elements Variables - Type
Sharedis changed toTheme Json Shared.Theme Json - Type
IMis changed toTheme Org Shared Colors IM.Shared Theme Elements Variables - Type
IMis changed toShared Theme Json IM.Shared Theme Variables
jimu-for-builder
Guideis moved fromManager jimu-for-buildertojimu-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