Hello all,
I am in the process of creating a dictionary for a symbolization in ArcGIS Pro. The dictionary should compose a symbol from different attribute information from different subsymbols. The database model should consist of attributes, a subtype and domains.
My problem is that I don't know how to access the field name of the subtype from Arcade. I have tried all ways (e.g. Domain(features, fieldName, subtype?), DomainCode(inputFeature, fieldName, value?, subtype?), SubtypeCode(inputFeature),...). None of them works. On a trial basis, I also tried these functions in the Expression Builder in Pro. But there it can't find $Map, $Datastore and $layer. In the screenshot you can see one option I tried. It works fine on a database schema without subtypes.
I am grateful for any help.
// Variablen für den Typ (als Nummer)
var _taktische_formation = $feature.Typ == '0';
var _fahrzeug = $feature.Typ == '1';
var _person = $feature.Typ == '2';