Good Afternoon,
I am learning to use the Advanced formatting functionality but seem to hit a snag. I am trying to calculate using the following
var feature_area = Area(Geometry($datapoint), 'square-meters');
return {
textColor: '',
backgroundColor: '',
separatorColor:'',
selectionColor: '',
selectionTextColor: '',
attributes: {
feature_area: feature_area
}
}
but get an error "Unable to parse script. Check your syntax.". I am sure that it's a user error 🙂
Solved! Go to Solution.
According to Advanced Formatting - ArcGIS Dashboards ,
"Geometry functions are not supported."
You might want to calculate the area for the layer at feature layer/ web map level, if required. And then use the respective field here in the expression of the list or indicator.
According to Advanced Formatting - ArcGIS Dashboards ,
"Geometry functions are not supported."
You might want to calculate the area for the layer at feature layer/ web map level, if required. And then use the respective field here in the expression of the list or indicator.