<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Attempting to Symbolize Features in a Web Map Based on Related Records in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/attempting-to-symbolize-features-in-a-web-map/m-p/1295211#M52552</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;Thanks for your time&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 23:00:44 GMT</pubDate>
    <dc:creator>CSchwartz614</dc:creator>
    <dc:date>2023-06-01T23:00:44Z</dc:date>
    <item>
      <title>Attempting to Symbolize Features in a Web Map Based on Related Records</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attempting-to-symbolize-features-in-a-web-map/m-p/1295211#M52552</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;Thanks for your time&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 23:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attempting-to-symbolize-features-in-a-web-map/m-p/1295211#M52552</guid>
      <dc:creator>CSchwartz614</dc:creator>
      <dc:date>2023-06-01T23:00:44Z</dc:date>
    </item>
  </channel>
</rss>

