I'm new to Arcade and need to know if something is possible in conditional visibility expression. I have a domain list for Hydrant Manufacturers and one for Hydrant Models and fields for Manufacturer and Models exist in my Fieldmaps form. Domains are text type. Each manufacturer has only a subset of all of models in the domain list that are affiliated. I want to be able to filter the list of models visible based on a particular manufacturer chosen from the domain list. Can conditional visibility statement be used for this purpose to filter visible domain choices of model based on a selected manufacturer? This is what I have so far. if (DomainName($feature,"MANUFACTURER")=='AMERICAN FOUNDRY') { return 'DRY TOP';} ELSE if (DomainName($feature,"MANUFACTURER")=='AMERICAN DARLING') { return ['B-62-B', 'B-50-B', 'B-80-B'] } //add additional manufacturers, and affiliated model domain choices American Foundry manufacturer choice works and returns text DRY TOP but that is the only choice for that manufacturer. Other manufacturers should have array of model choices to chose from but not the entire model domain list. Possible to do with arcade expression?
... View more