Select to view content in your preferred language

ArcGIS Field Maps arcade editor Concatenate

1416
11
Jump to solution
04-19-2023 01:57 AM
GIS_Ecologist
Occasional Contributor

Good morning Community,

I have been working with ArcGIS for a number of year but have only just started to venture into creating my own more complicated content. Specifically survey forms and asset inspection reports.

 

I am using Field Maps to create a asset inspection reporting system. My result is to change the symbology based on if the asset has been inspected. I have already defined a symbology that needs to be viewed by the field workers. 

 

The solution to this is to create a new field with a concatenated input and define the symbology based on this. I have the following fields;

$feature.CUT_REGIME
$feature.Parcel_State
 
I would like the end result to read
 
$feature.CUT_REGIME ' - ' $feature.Parcel_State
 
if $feature.Parcel_State is blank/empty then I would like it to read 'incomplete'
 
I see that this may be a simple piece of Arcade for someone and would really appreciate some help.
 
Thanks very much.
 
At the moment i have managed to put the following together but it is not working.
 
Concatenate($feature.CUT_REGIME,
IsEmpty(
// Returns true(' - ','Incomplete')
// Returns false(' - ',$feature.Parce_State')
))));
0 Kudos
11 Replies
Jake_S
by Esri Contributor
Esri Contributor

Hector,

This may be what you are looking for then. 

if(IsEmpty($feature.Status)){
    return $feature.SCC_ID
}
return $feature.SCC_ID + '-' + $feature.Status
GIS_Ecologist
Occasional Contributor

Hi Jake,

 

Thanks very much for your help.

 

This expression worked for my need. appreciate the help.

 

kind regards,

 

Hector

0 Kudos