| Bug-ID-Nummer |
BUG-000120493 |
| Eingereicht | March 2, 2019 |
| Zuletzt geändert | June 5, 2024 |
| Gilt für | ArcGIS Online |
| Gefunden in Version | N/A |
| Betriebssystem | Windows OS |
| Betriebssystemversion | 10.0 64 Bit |
| Status | Will Not Be Addressed
Das Entwicklungsteam hat das Problem bzw. die Anforderung sorgfältig geprüft und ist zu dem Schluss gekommen, es nicht zu beheben bzw. keine weiteren Schritte zu unternehmen. Weitere Erläuterungen finden Sie ggf. im Abschnitt "Zusätzliche Informationen" des jeweiligen Problems.
|
Zusätzliche Informationen
According to https://developers.arcgis.com/arcade/guide/logic/
"For more complex expressions, we suggest you explicitly list all field attributes that will be used in the execution of the script at the top of the expression. This will ensure the profile, app, and map all request the appropriate fields so the expression executes properly."
This is a known limitation with dynamically optimizing queries and field declaration. When writing expressions it is always best to declare the field first to ensure that it behaves accordingly.
For example:
$feature.COLLEGE;
$feature.POPULATION;
Round(($feature.COLLEGE / $feature.POPULATION) * 100, 2);
Workaround
Add description in the field instead.
Or
Declare the field at the start of the expression so that it gets requested.
For example:
$feature.Domain //the field name of the domain
DomainName($feature, "Domain")
Schritte zur Reproduzierung