hello!
I am hoping someone might have a solution/workaround to this. I want to be able to use two (non-numeric) fields to dictate symbology in AGOL. Initially, I tried an arcade expression like the one seen in this article, however, doing this with two text fields acts like it works in the viewer, but ends up returning an error.
Followed by:
Which inevitably means that this does not work.
___________________________
Is there another way to write an arcade expression that returns a number based on two (text field) statuses?
I have tried a When(IIf() method along with variables for each combination of category and status, which didn't work because of booleans.
Here is a bit of information on the data I am working with:
- The two fields are
1. Issue Category which is a single select option in a survey123 web form
2. Status which was added as a field after the survey but is entered through a list/domain. The only options are open/closed.
Each issue category needs to have an open and closed status. We have set up SVG symbols with either a red or green background with an icon to identify information.
Currently, we found a workaround to set the symbology in ArcGIS Pro and then upload a web map. This is fine for now, but it limits the ability to quickly change symbology if necessary.
If anyone has done something like this before or has any guidance, anything is appreciated!!
Thank you!
This is on our roadmap to support in map viewer. Currently we will support reading in these maps styled from Pro but we dont have an authoring experience for these multifield types based renderers.
Super! I posted this as an idea as well. https://community.esri.com/t5/arcgis-online-ideas/idea-allow-symbology-from-two-fields-when-one-or/i...
could that status change to something so that people know it might be implemented in the future?
Did see this implemented in the recent update. Do you know where this functionality is in the roadmap?
Didn't see this!
Not there yet but in the backlog its not planned for the next update. If you have an example project that can be shared where this is being used I can attach it to the ticket.