Version 2.16 of Web AppBuilder for ArcGIS Developer Edition has been released and is available for download at the ArcGIS for Developers site. This update includes the new enhancements that were part of the Web AppBuilder for ArcGIS Online release in March. Visit the blog post What’s New for Web AppBuilder (March 2020) for more details.
In the SDK documentation, the FilterManager class under the Framework reference has added a new public method getFilterExp(layerId, excludeWidgetId). It gets the filter expressions that have been applied to a layer from all widgets unless excluded. With this function, when you define a filter expression in a widget, you could make other widgets honor it, when applicable. For example, you may have an expression in a Filter widget to show cities by a state while an expression in a Query widget to query a city by its name with List values of Values filtered by previous expressions. When the Filter widget turns on for a specific state, the Query widget would then show the drop down list of cities related to that state only instead of all the cities in the country.
For more information on this release, see What’s new in version 2.16.
The Web AppBuilder for ArcGIS team