Select to view content in your preferred language

Version 1.16 of Experience Builder Developer Edition is Now Available

1584
1
12-09-2024 07:01 PM
Jianxia
Esri Regular Contributor
4 1 1,584

Version 1.16 of Experience Builder developer edition is now available for download. In addition to picking up new features – Express mode, Accordion widget, Subtype group layers for modeling utility network data – and other highly anticipated enhancements from the November 2024 release of ArGIS Experience Builder in ArcGIS Online, version 1.16 reduces the size of downloaded apps, adds four code samples, and documents more APIs and components in API Reference and Storybook. Let’s dive into them.

Reduce the app size

Prior to this release, the dynamic load modules, which are used by Analysis, Business Analyst, and Feature Report widgets, were compiled in the widgets/chunks folder when the app was downloaded. In this release, these modules are directly compiled into the folder where the widget uses them, such as widgets/analysis/chunks folder. As a result, the size of downloaded apps is reduced by 50% when these widgets are not presented in the app.

Code samples

Four new code samples are added. The sample below demonstrates the difference between the Load and Query method when fields from data are selected or deselected. Specifically, the Load method queries and stores records in the data source instance so these records can be shared with widgets. The Query method only retrieves records without storing them. See How to use fields for details.

load vs. Query.gif

The Use coding components sample demonstrates how to use Coding components from ArcGIS Maps SDK for JavaScript in a widget. It loads the coding components from CDN and uses the Arcade editor component from the package to render the Arcade editor. The widget shares the same experience as you would edit Arcade expressions in Map Viewer.

coding components.png

The other two samples are about data sources. The Output data source without original data sources sample searches GitHub issues and uses returned data to generate an output data source. The Runtime data source without saving to config sample dynamically creates a data source based on a service URL. It is a simplified version of the Add Data widget.

Documents

More APIs are added to jimu-core in API Reference, including appActions, extensionSpec, UrlManager. Taking appActions as an example, it shows action methods such as opening and closing widgets in the app.

API reference.png

 

 

 

 

 

 

 

 

 

 

In addition, more components are added to Storybook, including AlertPopup, FloatingPanel, MultiRangeSlider, PageNumber, and MobilePanel.

Storybook.png

Breaking changes

There are breaking changes in Jimu libraries that may affect your apps. For example, you now must use SessionManager.getInstance().getMainSession()?.token to get the token. The ExtentChangeMessage class renames the property of interacive to interactive due to a typo. The DataRecordsSelectionChangeMessage class adds a new required property of dataSourceIds. Both JimuLayerViewSelector and JimuLayerViewSelectorDropdown from jimu-ui change the property of defaultSelectedValues to selectedValues. Make sure to check these changes out before upgrading your apps.

For more information about the 1.16 release, see What’s new. You can reach us with any questions at experiencebuilder@esri.com.

Thank you,

The ArcGIS Experience Builder Team

Subscribe to our newsletter to receive the latest ArcGIS Experience Builder updates, news, and content.

1 Comment
Contributors
About the Author
Product Manager for ArcGIS Experience Builder and ArcGIS Web Appbuilder. She likes camping and hiking.