Wenn Punkte in der Attributtabelle ein Start- und Enddatum haben, ist es möglich, sie in AGOL basierend auf dem aktuellen Datum als aktiv oder inaktiv zu symbolisieren? <\/P><\/BODY><\/HTML>
Yes, you can using Arcade.
In this map I am labeling by Start Date.
Add an Arcade Expression
A few ways of doing this, I took an "IF Else" approach.
var starttime = $feature.startdate;var endtime = $feature.enddatevar currenttime = Now()var status = ""if (starttime > currenttime){ status = "Befor Start Date"}else if(currenttime < endtime){ status = "Active"}Else{ status = "Past End Date"}return status
Click OK and Done
Symbolized by status variable.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.