Arcade functions and "Feature Info" widget

2359
9
Jump to solution
12-06-2019 08:53 AM
MatthiasDufour
New Contributor III

Hi, 

I just tested the "Feature Info" widget with a Feature Set in a Web Map.
My layer has multiple Arcade expressions for popup window.
Some use "FeatureSetByName by $map".
The result of these expressions is not visible in the Web Experience. But it is visible in the Map Viewer.
Is there a bug or any Arcade functions do not work yet ?
Thanks for your help

Matthias

1 Solution

Accepted Solutions
WeiYing1
Esri Contributor

We've logged an issue to fix this. Thanks for your feedback!

View solution in original post

9 Replies
WeiYing1
Esri Contributor

Matthia, 

Did you try fresh the experience builder app after you configure the popup? Is the arcade expression customized in popup or already exist in feature attribute? 

I cannot repro this problem. Is that possible that you share a data that can present the problem? 

Some comments: 

1. If you are configuring the popup from Map View, you have to save the map so that the configuration saved to the feature layer.

2. Refresh Experience Builder app to catch the configuration 

3. The custom expression will be listed along with other attributes 

0 Kudos
MatthiasDufour
New Contributor III

Hi,ello
Here is the link to the Web Map:
https://arcg.is/1Sjf0P
And the link to the ArcGIS Experience:
https://experience.arcgis.com/stemapp/19a953d19bc24b198b5ca137f5686222
Expressions that do not work, are in page steps

0 Kudos
WeiYing1
Esri Contributor

Thanks! 

If I am seeing right, some of the expression are displayed but some are not? 

Those expression 11-17 with $map are all not displayed. Am I right? 

0 Kudos
MatthiasDufour
New Contributor III

Hi 

Thank you for your answer.

It's exact.

Only expressions with $Map do not work.

0 Kudos
WeiYing1
Esri Contributor

We've logged an issue to fix this. Thanks for your feedback!

BrittanyBurson
Occasional Contributor III

Hi @WeiYing1 

I'm running into this issue in our Enterprise 10.8.1 Experience Builder. Has it been fixed yet for Enterprise and if so, at what version? Is there a bug number I can follow? Any workarounds?

BrittanyBurson_0-1626470341567.png

Thank you

KellyArmstrong
Occasional Contributor II

@WeiYing1 

I am currently having this issue.  I'm on Enterprise 10.8.1

0 Kudos
BrittanyBurson
Occasional Contributor III

Hi @KellyArmstrong 

I currently have a case open with Esri Support on this. We seem to have confirmed the issue is present in 10.8.1, not in AGOL, and I am waiting to hear if it is fixed in Enterprise 10.9. If I hear anything, or am given a bug number, I will report back here.

As an FYI it appears to be an issue in the Dashboard "Details" pane as well in 10.8.1.

LarryMcEvoy70
New Contributor II

Was this ever resolved I'm running into a similar issue where by a complex expression that runs an intersect between two layers then loops through each intersect to calculate the total atrea of intersection fails to populat in the info widget but a simple count of the intersect result will populate. 

0 Kudos