Feature Info populating differently to popup

399
3
09-10-2022 04:38 PM
Labels (1)
LarryMcEvoy70
New Contributor II

I was of the understanding that the feature info pane was configured by the popup but i have an experience builder site that provides a small over view map and a lot of detail on intersections etc. in a html formatted popup the in the real application the popup is disabled as its two large and cumbersome for the popup box. There are a lot of arcade expressions involved and the popup seems to work perfectly. The issue I have experienced is that the Feature Info pane is not reflecting the popup the screen grab below illustrates. I reenabled the popup on the map to test and you can see the exclusion SMR field is populated in the popup but in the adjoining feature info pane I'm not getting a return. 

 

image.png

The Arcade code is simple enough just looping through all the features that intersect two layers extracting the id's of any intersected features and then calculating, summing and returning the area of intersection in hectares as per the screen grab below. 

It is interesting to note if I comment out from the for loop down as far as the first return and uncomment the second return the feature info pane populates as expected

I really need the area of intersection figure for the application to work otherwise it just means users will be measuring them themselves and inputting figures which is something that is prone to error and i would much prefer to avoid. If anyone has come across this or a similar issue and has a workaround I'd be grateful for a steer in the right direction 

 

image.png

 

 

0 Kudos
3 Replies
WeiYing1
Esri Contributor

Hi,

Thanks for sharing the problem. Sorry that ExB current version have not supported Arcade expression yet. I think that's why you are encountering this issue. It is on our road map to support Arcade expression. 

Unfortunately there is no good workaround yet. If there is some complex Arcade expression in the popup you may have to use popup directly. Or another way is you may try to develop a custom Popup widget that can stay out of map and show Arcade expression. 

Sorry for the inconvenience at the moment. We will try to support Arcade expression soon. 

Thanks,

Wei 

0 Kudos
Richard_Purkis
Esri Contributor

@WeiYing1 Would you be able to clarify exactly what isn't supported in ExB builder yet. Is it the use of Arcade for feature expressions in general? Is it the use of them in the feature info widget specifically? It would be great to confirm in case we need to raise it as an official enhancement.

Thanks

0 Kudos
LarryMcEvoy70
New Contributor II

Update this issue doesn't occur if WGS84 projection is used for the layers

0 Kudos