<?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 Re: How can I symbolize my data based on a field in a related table  in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52479#M616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My recommendation would be to put a field in the feature table.&amp;nbsp; I would also use a domain with values that would suggest what types of maintenance is required: "None, Inspection, Service, Replacement, etc."&amp;nbsp; You can then symbolize on this field. When the crew has completed the inspection, they select "None" and the symbol changes to the default.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Mar 2018 00:59:16 GMT</pubDate>
    <dc:creator>RandyBurton</dc:creator>
    <dc:date>2018-03-07T00:59:16Z</dc:date>
    <item>
      <title>How can I symbolize my data based on a field in a related table</title>
      <link>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52474#M611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a sewer manhole feature that is related to a manhole inspections table. I would like to symbolize the feature using a field in the related table.&lt;/P&gt;&lt;P&gt;I cannot see of a way to go this in the symbology tab of the feature properties dialogue box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 23:53:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52474#M611</guid>
      <dc:creator>NeilMillward</dc:creator>
      <dc:date>2018-03-05T23:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I symbolize my data based on a field in a related table</title>
      <link>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52475#M612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some questions to try and clear up some doubts:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What cardinality do you have between the features and the table: is it 1:1 or 1:n or m:n?&lt;/LI&gt;&lt;LI&gt;What data would you like to visualize? (numeric or categorical or something else)&lt;/LI&gt;&lt;LI&gt;How would you like to visualize it? (statistical aggregation of numeric data in case of 1:n or perhaps a predominant value of categorical data in case of 1:n)&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 23:55:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52475#M612</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-03-06T23:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I symbolize my data based on a field in a related table</title>
      <link>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52476#M613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The related table is 1:M relationship that I would like to symbolize by a field called "Inspected". This is just a text field that only contains yes or no text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This are the properties.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/398271_Manhole_Relationship_Class.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to be able to show the inspected manholes in green and the others on red but in the symbology tab if I choose to symbolize by category I do not have access to the fields in the related table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 00:13:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52476#M613</guid>
      <dc:creator>NeilMillward</dc:creator>
      <dc:date>2018-03-07T00:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I symbolize my data based on a field in a related table</title>
      <link>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52477#M614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fact that you have 1:M cardenality could mean that a single manhole could have multiple values for the field inspected. Is that the case? If so, how would you want to visualize that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 00:35:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52477#M614</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-03-07T00:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I symbolize my data based on a field in a related table</title>
      <link>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52478#M615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that is the case. This is a collector app for our sewer field inspection crew. They just need to be able to see which manholes they have or have not inspected. So I guess there could be more than one inspection on a manhole but it may have "yes" in the inspected field multiple times if they have inspected it more than once.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like I might have to place this field in the feature table instead of the related table.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 00:53:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52478#M615</guid>
      <dc:creator>NeilMillward</dc:creator>
      <dc:date>2018-03-07T00:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I symbolize my data based on a field in a related table</title>
      <link>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52479#M616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My recommendation would be to put a field in the feature table.&amp;nbsp; I would also use a domain with values that would suggest what types of maintenance is required: "None, Inspection, Service, Replacement, etc."&amp;nbsp; You can then symbolize on this field. When the crew has completed the inspection, they select "None" and the symbol changes to the default.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 00:59:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52479#M616</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2018-03-07T00:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I symbolize my data based on a field in a related table</title>
      <link>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52480#M617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/34565"&gt;Randy Burton&lt;/A&gt;&amp;nbsp;. It would be better to send the workers into the field with a field that&amp;nbsp;initially will say that a manhole needs to be inspected. The field worker can set it to "inspected" or perhaps even "maintenance required" or something similar and draw the&amp;nbsp;geometries on that field to have a visual indication of what still needs to be done. This is also better in case you want to configure a dashboard and show some metrics. It is better to have that status at the feature level and not (only) in the related table.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 11:44:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52480#M617</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-03-07T11:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I symbolize my data based on a field in a related table</title>
      <link>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52481#M618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to everyone for their help. I will move my inspected field to the feature table as suggested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 16:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52481#M618</guid>
      <dc:creator>NeilMillward</dc:creator>
      <dc:date>2018-03-07T16:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I symbolize my data based on a field in a related table</title>
      <link>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52482#M619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just finished creating a model which symbolizes SMH Inspections based on when the inspection was entered into the related table. It is based on a field in the SMH Feature, exactly like what Randy&amp;nbsp;was talking about above, but joined to the Inspection Table and run using a Python script in Windows Task Scheduler. I populate that field with a "Yes" to indicate it was inspected within the last month (Green Diamond), which is hidden and not editable&amp;nbsp;by field staff. When a month elapses, the yes will change back to &amp;lt;Null&amp;gt; and the symbology will change back to a Red Diamond.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the basic outline:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/399547_SMH Inspection Model.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The first 4 tools clear any of the existing "Yes"(s) in the Feature Class and allow it to be populated with the most recent data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You then join the SMH Inspection FC and the Inspection Table. You MUST make the FC a Table View first however, or the tool will not run when called in Python.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Inspection Table must be made into a Query Table so you can pull the records within the last month. Here's what that looks like:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/399598_pastedImage_7.png" style="width: 620px; height: 315px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure to enter in the time you want in the Expression. I will ultimately use the 'created_date' field. This will pull all records in the last 30 days.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Join to the FC Table View and keep only matching records.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field Calculate the designated field in the FC with a value (Yes for me)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove the Join.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to get this to run automatically, open IDLE and enter the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy

&lt;SPAN class="comment token"&gt;#Copy Toolbox Path Properties&amp;gt;Location&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ImportToolbox&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"C:\Users\USER NAME\AppData\Roaming\ESRI\Desktop10.5\ArcCatalog\DATABASE NAME.sde\TOOLBOX NAME (do not include .tbx)"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;#Copy FC Path Properties&amp;gt;Name,&amp;nbsp; You must assign an Alias to the Toolbox&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ToolboxALIAS&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ModelName&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"C:\Users\USER NAME\AppData\Roaming\ESRI\Desktop10.5\ArcCatalog\DATABASE NAME.sde\FEATURE CLASS NAME"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;#This is the first parameter at the beginning of the model&lt;/SPAN&gt;


&lt;SPAN class="comment token"&gt;#You may need to change the backslashes to forward slashes&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Completed"&lt;/SPAN&gt;
‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Run at your convenience with Windows Task Scheduler.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this is more than what you want&amp;nbsp;so you can definitely eliminate the time part of it if you just want to see that it was inspected at some point. I just put this all together since others may find it useful and I literally just finished it so it's still fresh in my mind.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:01:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-can-i-symbolize-my-data-based-on-a-field-in-a/m-p/52482#M619</guid>
      <dc:creator>FredK</dc:creator>
      <dc:date>2021-12-10T22:01:21Z</dc:date>
    </item>
  </channel>
</rss>

