Hello!
I have an experience builder app (https://experience.arcgis.com/experience/584b37573fb34b4381e76ae5dbc81a3b) that displays images from attachments in my traffic signal layer, which works just fine.
What I would like to do, is have our city logo fill the image widget when no features are selected.
I am pretty sure this is possible with actions and triggers and such, but I cannot figure it out.
Any help would be greatly appreciated.
Thanks,
John
Is a view one of the widgets? Are you saying the "Views Navigation" widget?
I am really just getting started with experience builder ... thanks for the reply!
Appears that you can only 1 image per view ... this should be a simple thing to do, just have a placeholder image (such as your logo) that displays when no records are selected
I can't figure it out
Thanks for your help though!
One view is the placeholder image, the other view is the Image Details widget. Set an action on the map so when you select a feature, it opens the image viewer-view. This will work, but I am not sure what the user experience will be.
I'm not super familiar with Image widget, but the Image widget doc Settings section says "You can set a dynamic URL using an attribute, expression, or Arcade." So maybe an Arcade expression to check if the image source is populated or not - if not, show the city logo. Also, if your input data is set to show the image for the "selected" feature, is there a no data/no selection option where you can add the city logo? see the "connect to data" part of the settings.
If that city logo is contained in any of your records, you can configure the “View for empty selection” in the data source settings as follows. Use the filter to point the empty to this record, and then you can see the desired effect:
If you're talking about adding a separate static image, we currently do not provide such a mechanism (ENH-000137935). But the image evolves Alt text and tooltip as well, so the data method is recommended. Let me know what your case is, and thanks for bringing this up.