Select to view content in your preferred language

Attempting to Symbolize Features in a Web Map Based on Related Records

307
0
06-01-2023 04:00 PM
Labels (1)
CSchwartz614
New Contributor

Hi all, 

I'm brand new to Arcade and haven't used any other programming languages before, so bear with me. I am attempting to write a script that will symbolize a valve feature based on data from it's related records. I want to symbolize valves that have been turned in the last calendar year a different color than valves that have not been turned yet. Our organization is Enterprise and generally doesn't host our feature layers. The related table is our W_Valves_Maint table, and I want to symbolize my valves feature based on that field. I have the DATEDIFF part of the function down, and have created a most_recent_turned field in my valves feature layer, but when I try to create an attribute expression to feed data from my related table into my table I'm wanting to symbolize, I don't have the featuresetbyrelationshipname function available. Can someone help point me in the right direction?

Thanks for your time

0 Kudos
0 Replies