Symbolising using Arcade for values not in the Feature Layer
I would like the ability to add Symbology options from an Arcade Expression even if they are not in the data. For instance the following Arcade statement has 8 potential symbology options. Currently only those that are existing in the underlying feature layer appear as a symbology option. E.g. If there is no instance of OperationalStatus == 'Planned' in the data the ability to symbolise this is not available.
var operationalStatus = $feature.OPERATIONALSTATUS;
var ownership = $feature.OWNERSHIP;
return When(
operationalStatus == "In Service", 1,
ownership == "PPP", 2,
operationalStatus == "OOS Abandoned", 3,
operationalStatus == "OOS Demolished", 4,
operationalStatus == "OOS Maintained", 5,
operationalStatus == "Planned", 6,
operationalStatus == "Disposed", 7,
999
);
In the example below the option to symbolise option 999 is not available because all values in the data are covered by the other parts of the statement.
