Hi EB community,
I am beginning my Arcade journey. I do not have a background in coding. I've found tutorials on ArcGIS Learn for Arcade..
I specifically want to use Arcade for conditional visibility in the smart forms in Field Maps, not necessarily for pop-ups or labelling.
Does anyone have a cheat sheet for commonly used expressions?
For example, currently I know how to do $feature()==(), but I'd like to know how to use a conditional expression if any of two answers are true or false. I think false is $feature()!=().
Solved! Go to Solution.
For checking if two conditions are met you can do:
$feature["attribute1"] == "Some Value" && $feature["attribute2"] == "Some other value"
For checking if one of two conditions are met you can do:
$feature["attribute1"] == "Some Value" || $feature["attribute2"] == "Some other value"
For checking if two conditions are met you can do:
$feature["attribute1"] == "Some Value" && $feature["attribute2"] == "Some other value"
For checking if one of two conditions are met you can do:
$feature["attribute1"] == "Some Value" || $feature["attribute2"] == "Some other value"
This video has some relevant info at 13:00 and 30:00.
Thank you both for your help. Have made notes of this for next time.