<?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 How can I add a domain to a field for all subtypes? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-can-i-add-a-domain-to-a-field-for-all-subtypes/m-p/161341#M12324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to automate adding a domain to a field. I need to do this a bunch of times with multiple feature classes that have multiple subtypes. Is there a wildcard I can use for the subtype parameter to grab all of them? Another method I'm not thinking of?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://http//resources.arcgis.com/en/help/main/10.2/index.html#//00170000001w000000"&gt;Assign Domain To Field (Data Management) &lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 19:23:15 GMT</pubDate>
    <dc:creator>RobBlash</dc:creator>
    <dc:date>2015-07-15T19:23:15Z</dc:date>
    <item>
      <title>How can I add a domain to a field for all subtypes?</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-add-a-domain-to-a-field-for-all-subtypes/m-p/161341#M12324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to automate adding a domain to a field. I need to do this a bunch of times with multiple feature classes that have multiple subtypes. Is there a wildcard I can use for the subtype parameter to grab all of them? Another method I'm not thinking of?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://http//resources.arcgis.com/en/help/main/10.2/index.html#//00170000001w000000"&gt;Assign Domain To Field (Data Management) &lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 19:23:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-add-a-domain-to-a-field-for-all-subtypes/m-p/161341#M12324</guid>
      <dc:creator>RobBlash</dc:creator>
      <dc:date>2015-07-15T19:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add a domain to a field for all subtypes?</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-add-a-domain-to-a-field-for-all-subtypes/m-p/161342#M12325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are willing to look thru my script, and ignore all the stuff that is strictly for my project, I can send you the .py script I use.&amp;nbsp; I will follow you, and if you follow my I can send it email.&amp;nbsp; Too busy to clean it up for general use.&amp;nbsp; But I routinely run a set of scripts to copy my master SDE to a fgdb and pre-process it for Server.&amp;nbsp; One of the steps is reapplying domains and subtypes.&amp;nbsp; It might give you all the info you need.&amp;nbsp; (ig nore this message if someone gives you are cleaner answer).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 20:50:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-add-a-domain-to-a-field-for-all-subtypes/m-p/161342#M12325</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2015-07-15T20:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add a domain to a field for all subtypes?</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-add-a-domain-to-a-field-for-all-subtypes/m-p/161343#M12326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using the ListSubtypes function of the data access module to gather the subtypes for the needed table or feature class?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;List Subtypes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-data-access/listsubtypes.htm"&gt;http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-data-access/listsubtypes.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The describe objects may also be useful for this workflow. You should be able to compile a tool that can parse out the subtype names needed and implement your workflow to process them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GDB Table Properties&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-functions/gdb-table-properties.htm"&gt;http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-functions/gdb-table-properties.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 22:55:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-add-a-domain-to-a-field-for-all-subtypes/m-p/161343#M12326</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2015-07-15T22:55:49Z</dc:date>
    </item>
  </channel>
</rss>

