I currently have five fields in the attribute table that I would like to represent on my AGOL map: 'Mark Called In', 'Mark Completed', 'Remark is Due', 'Remark Completed', and 'Service Complete'. We are utilizing these fields for different inspections that my organization is carrying out and would like these fields to be represented as the fields get populated using the collector app overtime.
I currently have this so far:
if (IsEmpty($feature.Mark_Called_In1)){
return 'MARK NOT CALLED IN'
}
else if ($feature.Mark_Called_In1 > 0){
return 'MARK CALLED IN'
}
else if (IsEmpty($feature.Mark_Completed1)){
return 'MARK NOT COMPLETED'
}
else if ($feature.Mark_Completed1){
return 'MARK COMPLETED'
}
However, this only returns symbology for the 'Mark Called In' and 'Mark Not Called In' fields. I would like to also add the three other fields to the script.
Any tips?
Thanks.