Select to view content in your preferred language

Get selected features in attribute table widget Web AppBuilder

55
0
Tuesday
ARROCAL
New Contributor

Hello;

I am developing a widget with Webappbuilder (WAB) and the ArcGIS 3X API.  This widget needs to get the features of a layer of a webmap that have been selected with the attribute table widget of WAB.

I have been testing:

1-FeatureLayer.getSelectedFeatures()

2-Event selection-complete

but with no results.

Any suggestions?

Would I have to modify the attribute table widget?

Would I have to communicate the 2 widgets with https://developers.arcgis.com/web-appbuilder/guide/communication-between-widgets.htm ?

Thanks

0 Kudos
0 Replies