<?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 Is there a way to update a domain, when a Feature Class is updated? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-way-to-update-a-domain-when-a-feature/m-p/589128#M25917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have create a Feature class, of shape polyline. I have then used the geoprocessing tool "Table to Domain" to take this list of polylines and allow it to be consumed by another table or feature class in my gdb as a domain value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The challenge I now have, is when a new polyline is added to the original or source feature class, how do I get the domain to update with this new value? Is there a setting I forgot to check when creating the domain originally? A python script I need to write? Workflow manager? Or just not doable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2019 16:55:59 GMT</pubDate>
    <dc:creator>CharlesQuadrini</dc:creator>
    <dc:date>2019-02-19T16:55:59Z</dc:date>
    <item>
      <title>Is there a way to update a domain, when a Feature Class is updated?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-way-to-update-a-domain-when-a-feature/m-p/589128#M25917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have create a Feature class, of shape polyline. I have then used the geoprocessing tool "Table to Domain" to take this list of polylines and allow it to be consumed by another table or feature class in my gdb as a domain value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The challenge I now have, is when a new polyline is added to the original or source feature class, how do I get the domain to update with this new value? Is there a setting I forgot to check when creating the domain originally? A python script I need to write? Workflow manager? Or just not doable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2019 16:55:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-way-to-update-a-domain-when-a-feature/m-p/589128#M25917</guid>
      <dc:creator>CharlesQuadrini</dc:creator>
      <dc:date>2019-02-19T16:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to update a domain, when a Feature Class is updated?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-way-to-update-a-domain-when-a-feature/m-p/589129#M25918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/344127"&gt;Charles Quadrini&lt;/A&gt;‌ this should be possible through the field settings if you are looking for the fields to automatically populate upon creation.&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/associating-default-values-and-domains-with-tables.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/associating-default-values-and-domains-with-tables.htm"&gt;Associating default values and domains with tables and feature classes—ArcGIS Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After re-reading your question, I wasn't sure if you are looking for the field to be updated automatically or the domain list to be updated automatically?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2019 18:54:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-way-to-update-a-domain-when-a-feature/m-p/589129#M25918</guid>
      <dc:creator>ChristianWells</dc:creator>
      <dc:date>2019-02-19T18:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to update a domain, when a Feature Class is updated?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-way-to-update-a-domain-when-a-feature/m-p/589130#M25919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;I am looking for the domain to be updated automatically when a new row is added to the feature class by drawing a new polyline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that clearer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2019 19:22:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-way-to-update-a-domain-when-a-feature/m-p/589130#M25919</guid>
      <dc:creator>CharlesQuadrini</dc:creator>
      <dc:date>2019-02-19T19:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to update a domain, when a Feature Class is updated?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-way-to-update-a-domain-when-a-feature/m-p/589131#M25920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That helps to clarify, however, I don't know of a way to make it automatically update domain without running a script to check for new values and update the domain as needed. Once the 'Table to Domain' tool is ran, the Geodatabase stores the values as metadata and is no longer connected to the original table/feature class used to create the domain.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're looking for an automated method, one way could be to set up a Python file through Windows Task Scheduler. You could have it run during off hours to avoid creating Geodatabase locks. Here's a breakdown of how you could do this via Python:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Connect to the Geodatabase and query the domain using the 'Domain to Table' tool&lt;OL&gt;&lt;LI&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/domain-to-table.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/domain-to-table.htm"&gt;Domain To Table—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Find all of the current values in the domain and store as a Python list or iterate through the rows&lt;OL&gt;&lt;LI&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-data-access/searchcursor-class.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-data-access/searchcursor-class.htm"&gt;SearchCursor—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Connect to the polyline table and query the field used by the domain&lt;/LI&gt;&lt;LI&gt;Find all of the current values in the field and store as a Python list&lt;OL&gt;&lt;LI&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-data-access/searchcursor-class.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-data-access/searchcursor-class.htm"&gt;SearchCursor—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Compare the lists via Python and find the new values from the polyline&lt;/LI&gt;&lt;LI&gt;Use the appropriate (Coded Value vs Range) geoprocessing tool to update the domain values&lt;OL&gt;&lt;LI&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/add-coded-value-to-domain.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/add-coded-value-to-domain.htm"&gt;Add Coded Value To Domain—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/set-value-for-range-domain.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/set-value-for-range-domain.htm"&gt;Set Value For Range Domain—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you find this helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 00:26:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-way-to-update-a-domain-when-a-feature/m-p/589131#M25920</guid>
      <dc:creator>ChristianWells</dc:creator>
      <dc:date>2019-02-20T00:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to update a domain, when a Feature Class is updated?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-way-to-update-a-domain-when-a-feature/m-p/1376808#M78182</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/312576"&gt;@CharlesQuadrini&lt;/a&gt;&amp;nbsp; ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you find the solution?&lt;BR /&gt;If you find the solution, what is the solution?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 22:41:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-way-to-update-a-domain-when-a-feature/m-p/1376808#M78182</guid>
      <dc:creator>TamerAssaf</dc:creator>
      <dc:date>2024-01-31T22:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to update a domain, when a Feature Class is updated?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-way-to-update-a-domain-when-a-feature/m-p/1376826#M78189</link>
      <description>&lt;P&gt;This isn’t my area of expertise, but you could look into web hooks.&lt;/P&gt;&lt;P&gt;What kind of geodatabase? If you are using an enterprise GDB (or maybe a mobile GDB) the you could query using SQL to compare the FC values against the domain values. But you’d still need to use most of&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/98956"&gt;@ChristianWells&lt;/a&gt;&amp;nbsp;steps above, like a scheduled task and Python to insert a new value into the domain.&lt;/P&gt;&lt;P&gt;Related ideas:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/data-management-ideas/use-sde-table-as-domain-table/idc-p/1297198" target="_self"&gt;Use SDE table as Domain Table&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/use-database-view-as-domain/idi-p/1297213" target="_self"&gt;Use database view as domain&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 31 Jan 2024 23:38:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-there-a-way-to-update-a-domain-when-a-feature/m-p/1376826#M78189</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-01-31T23:38:30Z</dc:date>
    </item>
  </channel>
</rss>

