Hi all, i need show attribute in popup. I have arcade script and that work in map viewer, but in Field Maps not work. Field maps write error with error code 22.
can someone help me?
Thank you.
Here is error:
The name of the expression: expr0
Expression title: taxon_tid
Error domain: com.esri.arcgisruntime.ArcGISRuntimeException
Error code: 22
Error description: Check getCause() for further error information.
I have layer with name "bio body verej" and i need in popup attribute "tid" from layer "nazev taxonu bod".
var ogc_fid=$feature.ogc_fid
var taxon_fs=FeatureSetByName($map, "Nazev taxonu bod",["ogc_fid","tid"])
var taxon_fs_filter=Filter(taxon_fs, "ogc_fid=@ogc_fid")
var tid_filter=First(taxon_fs_filter)
return tid_filter.tid
Solved! Go to Solution.