Dear all,
I am using the list widget in Dashboards. The data I am using is from an expression. This expression uses FeatureSetByPortal Item and return a groupby.
but the result listed is the code and not the description of the domain.
Therefore I used advanced format with the following code (not all the vehicles are listed):
var CD = $datapoint.XFM
When (CD ==1, "Car",
CD==10,"Vessel",
CD==9,"Aircraft",
Null);
Return {
text color:''
attributes: {
attribute1: CD
}
}
And in the "Line Item template" I have: {expression/attribute1}
It keeps showing the domain value instead of the description. Besides that in the actions I cannot make it highlight in the map the selected feature...
can someone help?
cheers
P