<?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: Subtypes and Domains in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417920#M23848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ok, I am stuck again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;I next add a field to the feature called UAOF and point to the domain I created above.&amp;nbsp; Finally, I begin an edit session on the feature.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;What data type did you use for this UAOF field?&amp;nbsp; Long Integer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Feb 2013 17:56:10 GMT</pubDate>
    <dc:creator>LeoDonahue</dc:creator>
    <dc:date>2013-02-14T17:56:10Z</dc:date>
    <item>
      <title>Subtypes and Domains</title>
      <link>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417916#M23844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to understand how use domains within a subtype (if that's possible).&amp;nbsp; I apologize for my ignorance but I'm just learning about geodatabases, domains, subtypes, etc. etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, I have a feature class (fiber optic cable) that has a subtype (buried or aerial).&amp;nbsp; I'd like to further define the type of cable to indicate ownership (such as: owned, leased, shared, etc.).&amp;nbsp; So, a particular cable might be "Buried - Owned" while another might be "Aerial - Leased".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I tried to add a domain listing about 20 different types of ownership.&amp;nbsp; Then I tried to assign that domain to a new field I added called "Ownership".&amp;nbsp; When I try to edit the feature, the Ownership field is &amp;lt;Null&amp;gt; and is not connected to the domain.&amp;nbsp; After reading up on this, it looks like since the feature has a subtype, then I can't have another coded value domain for my ownership.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In very simple terms &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; can anyone explain to me how to accomplish this?&amp;nbsp; Can a feature have more than one field assigned a domain?&amp;nbsp; What if there are subtypes assigned to that feature?&amp;nbsp; Should I just add more coded values to the domain for the subtype?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Man, this is confusing terminology &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; Thansk for any advice or help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 13:22:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417916#M23844</guid>
      <dc:creator>DaveAugspurger</dc:creator>
      <dc:date>2013-02-14T13:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Subtypes and Domains</title>
      <link>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417917#M23845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dave - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The short answer to your question is - yes, each subtype can have it's own domain.&amp;nbsp; One attribute field will be an integer and used for your subtype.&amp;nbsp; Another attibute field (text, integer, float, etc.) will be for your attribute domain.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The long answer is:&amp;nbsp; In the Catalog window in ArcMap, right click the feature class and click properties.&amp;nbsp; Select the Subtypes tab to build your subtypes based upon a short or long integer field type.&amp;nbsp; On the lower right of the Subtypes panel, you'll click the Domains button to build attribute domains.&amp;nbsp; You can build a specific attribute domain for aerial or buried if you wish or just one big attribute domain for both - depends on the attributes.&amp;nbsp; Make sure your attribute domain field type&amp;nbsp; (text, integer, float, etc.) matches the attribute field type (text, integer, float, etc.)&amp;nbsp; After you build the domain(s), click OK and return to the subtype panel.&amp;nbsp; At the top of the Subtype panel, select the first subtype - aerial or buried and then navigate towards the bottom of the subtype panel - you'll see "Default attributes and domains" - and for the ownership field, click the domain box to apply the specific domain to the subtype.&amp;nbsp; Repeat this for the 2nd subtype.&amp;nbsp; Click OK.&amp;nbsp; Now you have a specific domain for a specific subtype.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This workflow is described here:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Associating_default_values_and_domains_with_tables_and_feature_classes/001s00000009000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Associating_default_values_and_domains_with_tables_and_feature_classes/001s00000009000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert LeClair&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri-Denver&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 14:31:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417917#M23845</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2013-02-14T14:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Subtypes and Domains</title>
      <link>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417918#M23846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, that does help.&amp;nbsp; I was able to stumble my way to this conclusion but having it spelled out helps a lot.&amp;nbsp; I was able to create an Aerial and a Buried domain, each with basically the exact same coded values.&amp;nbsp; I can see where this would be a good place to separate options and may tackle that next.&amp;nbsp; Right now, I am populating the fields using the field calculator and entering the coded value...working well I think (I have about 1500 features).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 14:45:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417918#M23846</guid>
      <dc:creator>DaveAugspurger</dc:creator>
      <dc:date>2013-02-14T14:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Subtypes and Domains</title>
      <link>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417919#M23847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I am stuck again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to add the Domain mentioned in my first post and then populate the fields with the "drop-down" selection which was associated with the coded values in the domain I created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I want to add a few more domains with coded values.&amp;nbsp; The simplest one is whether or not a feature is within a particular "zone".&amp;nbsp; I have about 8 zones related to certain highways.&amp;nbsp; So, I right-click on the sde file and select Properties.&amp;nbsp; Then, I go to Domain tab.&amp;nbsp; At the bottom of the list of Domains I create a new Domain called UAOF (my zones) in the first empty space.&amp;nbsp; I then select Long Integer and Coded Values.&amp;nbsp; In the Coded Values table I enter 1-8 and a description of each type.&amp;nbsp; I hit apply and exit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I next add a field to the feature called UAOF and point to the domain I created above.&amp;nbsp; Finally, I begin an edit session on the feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, when I go to edit a field under the new UAOF field, I click an empty field and only get the flashing cursor bar....I don't get the drop-down list of my coded values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas as to why this is happening?&amp;nbsp; I've tried several times now and the results are the same each time.&amp;nbsp; I must be missing something as this seems like it should be pretty easy.&amp;nbsp; Help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 16:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417919#M23847</guid>
      <dc:creator>DaveAugspurger</dc:creator>
      <dc:date>2013-02-14T16:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Subtypes and Domains</title>
      <link>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417920#M23848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ok, I am stuck again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;I next add a field to the feature called UAOF and point to the domain I created above.&amp;nbsp; Finally, I begin an edit session on the feature.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;What data type did you use for this UAOF field?&amp;nbsp; Long Integer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 17:56:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417920#M23848</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-02-14T17:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Subtypes and Domains</title>
      <link>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417921#M23849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I figured it out.&amp;nbsp; I had to go into the SubType and assign the domains to both subtypes.&amp;nbsp; That seemed to do the trick.&amp;nbsp; So much to learn....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 18:23:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417921#M23849</guid>
      <dc:creator>DaveAugspurger</dc:creator>
      <dc:date>2013-02-14T18:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Subtypes and Domains</title>
      <link>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417922#M23850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yet another road block.&amp;nbsp; I finally figured out how to create domains and get them assigned under subtypes but quickly hit another hurdle I'm unable to figure out after dozens of efforts and fruitless internet searches.&amp;nbsp; I don't think I'm unsmart but it seems like every time I run a new "tool" it fails because I didn't have every last thing absolutely perfect...and the help files are a tad thin (to be nice).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, my most recent and current problem:&amp;nbsp; I have to create a domain called "Owner" that will have about 200 records of various owner names.&amp;nbsp; That data is in an excel spreadsheet.&amp;nbsp; Ideally, I could import this table and save me from having to type in all 200 of these coded values...right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To do so, I've tried using teh "Table to Table" tool to convert the spreadsheet (saved as CSV) into a DBF.&amp;nbsp; That seems to work and gives me a DBF that ArcGIS can read.&amp;nbsp; When I try to use the "Table To Domain" tool I get the following error:&lt;/SPAN&gt;&lt;SPAN style="color: #d70019; font-size: 2;"&gt;&amp;nbsp; ERROR &lt;/SPAN&gt;&lt;SPAN style="color: #600000; font-size: 2;"&gt;999999&lt;/SPAN&gt;&lt;SPAN style="color: #d70019; font-size: 2;"&gt;: Error executing function.&lt;BR /&gt;The value being added to the CodedValueDomain already exists. [domain name: Owner, code name: ]&lt;BR /&gt;Failed to execute (TableToDomain).&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:#000000;"&gt;I've tried changing the field formats in the DBF, importing into a new Domain and existing Domain, and several other stabs at it this.&amp;nbsp; Nothing seems to work.&amp;nbsp; I'm sure it's probably something simple and I just have to have my data all perfect but for a non-database administrator this is way above my pay grade...maybe I am unsmart.&amp;nbsp; So, what does the error above tell me I'm doing wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 12:04:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417922#M23850</guid>
      <dc:creator>DaveAugspurger</dc:creator>
      <dc:date>2013-02-15T12:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Subtypes and Domains</title>
      <link>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417923#M23851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I still don't know why it wouldn't work the way I was trying but I figured out a solution.&amp;nbsp; I was able to bring the table into ArcMap, then export it to another table, then use that table with the "Table To Domain" tool.&amp;nbsp; That worked....glad it's Friday :-0&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 15:37:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/subtypes-and-domains/m-p/417923#M23851</guid>
      <dc:creator>DaveAugspurger</dc:creator>
      <dc:date>2013-02-15T15:37:42Z</dc:date>
    </item>
  </channel>
</rss>

