Als punten een startdatum en einddatum hebben in de attributentabel, is het dan mogelijk om ze te symboliseren als actief of inactief in AGOL op basis van de huidige datum? <\/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.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.