Select to view content in your preferred language

Map Viewer Attribute Expression in Experience Builder Widgets

777
3
04-11-2024 08:14 AM
Status: Open
Labels (3)
JonathonMerrick
Occasional Contributor

Attribute Expressions in Map Viewer are incredibly powerful and extremely useful. Unfortunately, bringing those wonderfully calculated and formatted attribute expressions into widgets in Experience Builder currently doesn't seem possible.

Your only options for "Connecting to data" are the raw attributes from layers in your web map. The only place within Experience Builder that your attribute expressions appear is in the map pop-up and Feature Info widget.

Map Viewer Attribute Expressions should appear in the "connect to data" list for ALL EXB widgets.

EXAMPLE:

I created an attribute expression called "Mill Calculation" in my web map in Map Viewer and want to connect the text widget in EXB to it.

MapViewer_AttExpr.png

 

 

 

 

 

 

^ "Mill Calculation" Attribute Expression in Map Viewer ^

Unfortunately, in the "connect to data" list for the text widget, none of my glorious Attribute Expressions are available.

Screenshot 2024-04-11 102813.png

 

 

 

 

 

 

 

 

 

 

 

For what it's worth, I was unable to use attribute expressions in the following EXB widgets:

  • Table
  • Text (<<<<< If I could only have one, this one would be it.)
  • Query
  • Filter

A possible work-around for this is to re-create the attribute expression in the Dynamic Content, Expression tab. I tried this and unfortunately, Arcade expressions are not supported here, but I guess that's a whole different idea...

Screenshot 2024-04-11 111204.png

 

 

3 Comments
KevinN_CSJ

I personally need expressions to be available in the Table widget, but I agree all ExB widgets should be able to see the attribute expressions created in the web map

JohnLovette1

This is a nearly critical change to facilitate the transition from WAB to EB and ESRI has been talking about making the change for almost 5 years. Is this functionality on the road map for EB?

jzcgis
by

Had a great use case for this today but found out it is not possible. How is this still not implemented?!