Is it possible to determine if only one item or feature is selected in a map of list using Arcade? Ideally I'd like to change the display of one list according to how many features are selected on a second. Something like:
if( Count( selectedFeaturesInList1 ) == 1) { var returnString="One selected" } else { returnString="More than one selected" } return { textColor: '', backgroundColor: '', separatorColor:'', selectionColor: '', selectionTextColor: '', attributes: { attribute1: returnString, } }
Many thanks.
Hi Mark Painter ,
I'm afraid that Arcade has no access to the number selected features. But I can see that it would be nice to have. Could you create an https://community.esri.com/community/arcgis-ideas for this functionality?