Select to view content in your preferred language

Utilitiy Trace Widget Result DrillDown

722
7
02-08-2024 11:19 AM
RachappaBellappa1
Emerging Contributor

Hi

We created a Named trace configuration and from the Exp Builder App we can see the named trace in the trace type dropdown. We are able to execute the trace successfully and in results tab all the features are grouped and displayed. If i have 10 feature groups one or two throws errors and rest of them works fine.

For some features when i try to drill down, it doesn't work which will make the widget non responsive. In developer tools i see some error cannot read properties of undefined(reading 'attributes') which is pointing to UtilityNetworkTrace.js file, Please find attached screenshots

 

RachappaBellappa1_0-1707419722007.png

RachappaBellappa1_1-1707419961776.png

 

 

@AlixVezina , @RobertKrisher @GelisaJoseph Any thoughts?

Tags (2)
0 Kudos
7 Replies
AlixVezina
Esri Regular Contributor

Hi @RachappaBellappa1 , are there any non-spatial objects amongst the features returned in the list? Which version of Enterprise are you using?

If the features returning the error are non-spatial objects, we have fixed this issue starting at Enterprise 11.2.

0 Kudos
RachappaBellappa1
Emerging Contributor

Hi @AlixVezina The highlighted Gas Service Points are point feature and not non spatial objects. I am using Enterprise 11.1. Also tested this with Developer Edition 1.12 but still same error. Initially i thought group layer might be causing the issue so republished webmap by removing the group and tested but same issue is occurring.

0 Kudos
PrevinWong1
Esri Contributor

In the developer console where you highlighted yellow, can you click the link to UtilityNetworkTrace.js and then add a breakpoint at the line (click the line numbers to the left to get a blue dot)

Run your app again and get the this part where it would have broke.  Hover over the part in the code immediate before the ".attributes", and please paste the result here.

0 Kudos
RachappaBellappa1
Emerging Contributor

For all other working features queryFeatureById seems to return results (c) whereas for GasFacilities (a) it has 17 records and i was able to check it in console but it doesn't return results.

RachappaBellappa1_0-1707499062728.png

 

0 Kudos
PrevinWong1
Esri Contributor

In developer tools, can you go to the network tab and see the REST request it makes once you click on the arrow to drill down on the results.  Take the REST request and try to run it in another tab in your browser.  Does it return any results?

0 Kudos
RachappaBellappa1
Emerging Contributor

Sorry for the late reply below are my findings,

a)It looks like it doesn't support layer group, I republished the webmap by removing the layer group and one of the layer seems to be working fine

b) But i am still trying to figure out one more layer which is behaving same although that layer is not inside 

0 Kudos
PrevinWong1
Esri Contributor

Were you able to successful get results when tracing from REST endpoint?  Did you figure out point B in you comment above?

0 Kudos