Se os pontos têm uma data de início e uma data de término na tabela de atributos, é possível simbolizá-los como ativos ou inativos no AGOL com base na data atual? <\/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.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.