So.. I am trying to configure a web map (used in an Experience Builder Dashboard) to display dynamic symbology based on a time slider time setting. So far, I have the arcade expression below, but it doesn't seem to be picking up on the time slider time and I would like for the projects to show up in a cumulative fashion (not disappear when the time slider is changed). Any help would be very much appreciated!
var time = Now()
if (time >= $feature.projectstartdate && time < $feature.projectenddate){
if (time >= $feature.planningstartdate && time < $feature.planningenddate) {return 'Planning';}
else if (time >= $feature.designstartdate && time < $feature.designenddate) {return 'Design';}
else if (time >= $feature.constructionstartdate && time < $feature.constructionenddate) {return 'Construction';}
}
else if (time > $feature.projectenddate){
return 'Project Complete';
}
else {
return 'Project Not Started';
}
Amanda Bishop, GISP