Hi there,
I've got an Experience mainly consisting of a map that has one specific polygon feature layer for fire restrictions. The feature layer has a "Restriction Level" field, which contains the domain values Level 1, Level 2, and Level 3. In Map Viewer, there is always a filter (definition query) on this feature layer so that only polygons of one domain value are visible at a time, reflecting whatever level is in effect. To change the active level, I just change this filter in Map Viewer. Then headings on the Experience use Dynamic Content pull the first (random) polygon to list the domain value I've chosen to show, and ta-da, the map title now says, and the map itself now shows, Level 1 fire restrictions.
The feature layer has a nicely formatted popup that appears on the map when you click on polygons in the Experience, to tell you if fires are permitted or restricted in a given area. HOWEVER, the Experience also has a sidebar where I want to describe the specific rules for Level 1, Level 2, and Level 3. Ideally they'd have some formatting (numbered lists with some bold text). I want this sidebar to only list the rules for the level domain value that is currently showing on the map, though. How could I go about doing this? I can't just put the rules in a popup and connect to the popup because the popup is being used for something else. When I connect the text widget to the fire restriction layer data, I haven't had luck doing anything more complex with Dynamic Content that might let me show specific text under specific domain conditions. I thought there was recently some Arcade capabilities added in Experience Builder, but if I try to do Arcade in the Expression field, it just says the expression is invalid.
Do you have any ideas on how I might pull this off? Copilot ran me in circles with various nonexistent settings; I need a smart human!