Hello,
I am developing a new functionality in Experience Builder based on extracting the selection of records that implements the Utility Network Trace widget implemented by ESRI to print them in an Excel. I've been trying to implement this functionality for a while but I can't seem to extract the results.
The Utility Network Trace widget, as you may know, is responsible for implementing a network connectivity analysis from a point marked on the map. Once the tool is executed, the records highlighted in blue appear on the map and it returns a list of the affected records. Well, as I cannot modify this widget because it comes coded as it is an ESRI widget, I have implemented another one that observes the changes in the map and uses the Utility Network Trace widget given by the ESRI JavaScript SDK. The result of the widget is a graph with the following values: attributes, geometry, popuptemplate and symbol. What could help me to get the valves and distribution networks that have been selected, is the geometry of the graph but even using the QueryFeatures of the Feature Layer does not work with that.
I understand that this functionality is not so crazy since the trace widget itself implemented by ESRI, shows a list with the affected records. Can someone help me?