Hello Everyone,
I'm working out of ArcGIS Online, Dashboards, and Arcade to try and show points with varying transparency based on pre-set date fields and their relation to today's date, (not as of this posting but a constant that stays with the date of viewing. In Arcade I believe the 'TODAY' expression covers this by updating the value to the date as time progresses naturally).
I have two fields I'm working out of, InspectionDate and OneYear, (InspectionDate+12months). What I need to do is have the layer become less transparent as the date becomes closer to the date shown in the OneYear field under the custom transparency expression tab in AGOL. EG, a red flag symbolized point begins to show within oen month of the set OneYear date is roughly my goal. It should act as a visually graduated reminder to go and reinspect each point as time nears the one year since InspectionDate. Neither InspectionDate nor OneYear are variables and are set values. In theory the symbology should reset after the date passes. I've tried bringing in the fields as numbers or converting to numbers and percents with no change or progress. I don't have any great screenshots to share unfortunately, when not leaving blank results the transparency is frozen.
How can I bring in these fields and use Arcade to change transparency on a points layer if nothing else? Any input is greatly appreciated and hope this helps others in their projects.
Kind regards & God bless,
Jansen
City of Rio Rancho, NM
Records & GIS Section