See what's new for the latest release.
Samples
Several new samples have been added, which include the following: how to use assets in a widget, how to utilize the extension for App extension point to translate the strings in app config, and how to write unit tests for a widget. See below to access some of the newest samples:
Builder updates
ArcGIS Experience Builder includes several new features and enhancements listed below.
- Data sources—When setting a data source throughout your app, you can now search sublayers.
- Pages—In scrolling pages, you can set links on widgets to scroll to a particular block on the page or return to the top of the page.
- Outline—When you point to a widget in the outline, it's highlighted on the canvas.
- Layout—You can now set an aspect ratio when using either the pixel or percent unit.
Developer documentation updates
- Updated and expanded Jimu-UI documentation through the Storybook page
- Added guide for using assets in custom widgets
- Added guide for using Extension Points
- Added guide for unit testing
- Updates to API Documentation to show subclasses and parent classes in a consistent way
- Added API Documentation page search/find
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:
- Chart widget—The Chart widget now includes a button to clear the selection.
- Feature Info widget—The Feature Info widget now supports scene layers.
- Fly Controller widget—You can configure a new fly mode to plan routes by adding multiple points and paths to fly through.
- List widget—Customize the size of list items for different screen sizes.
- Survey widget—When selecting existing surveys, you can select a draft survey from the list and organization administrators can select surveys owned by other members.
- Table widget—When configuring fields for the sheet, you can now clear the selection and drag selected fields to reorder them. Tables with search enabled now show search suggestions when users type in the search box.
- Text widget—The Text widget has a new font size unit for vw (view width). You can now set a link for the entire widget instead of just specific words.
Breaking changes
General
- The typescript build target is changed from
es5toes6 - Unit tests for widgets that use
enzymedon't work anymore, need to refactor to
const render = widgetRender();
const Widget = wrapWidget(_Widget);jimu-core
- DataSource's
makemethod is removed. The selected record ids in URL parameters will be loaded when selection data view is ready.Sure Selected Records
jimu-ui
TextcomponentInput - Prop
validandinvalidare removed - Add two new props:
checkandValidity On Change checkValidity On Accept - The type
texeareais removed from the text input. A new component for text area is added,Text.Area
- Prop
Tabscomponent- Combine
tabs,: boolean underline : boolean,pills : booleanintotype : 'underline' | 'tabs' | 'pills'. - Remove props
active : booleananddefaultfromActive : boolean Tabcomponent, instead, usevalueand: string defaultto specify theValue : string idof the tab to be selected. - Rename
ontoTab Select on.Change - Remove prop
oninClose Tabcomponent, you should use it inTabscomponent.
- Combine
Alertcomponent- Rename
istoOpen open. - Rename
colortotype, the four types of'warning','error','info', and'success'are supported. - Rename
toggletoon.Close - Remove props
close,Class Name close,Aria Label fade,tag,transitionandinner.Ref
- Rename
Alertcomponent propPopup cancleis renamed toLabel cancelLabel Fieldcomponent propSelector placeis renamed toHolder placeholder.Draggablecomponent propenableis renamed toUser Select Hack disableUser Select When Dragging UsercomponentProfile user,Thumbnail themeandintlprops are removedsaveis changed toStatus isApp Saved - Add new prop:
helpUrl
Dropdowncomponent propMenu alightmentis changed toalignmentWidgetcomponent propPlaceholder typeis renamed toiconSize Sidecomponent propPopper toggleand proptriggerare required.
jimu-arcgis
Jimu,Map View JimuandLayer View Jimucomponents, theLayer View Component datasourceis changed toId dataSource Id
Previous releases
- Version 1.4 May 2021
- Version 1.3 January 2021
- Version 1.2 November 2020
- Version 1.1 July 2020