Si los puntos tienen una fecha de inicio y una fecha de fin en la tabla de atributos, ¿es posible simbolizarlos como activos o inactivos en AGOL según la fecha actual?<\/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.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.