<?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>idea Use letter instead of integer as subtype field/code in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/use-letter-instead-of-integer-as-subtype-field/idi-p/1382977</link>
    <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.2.2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;A subtype can only be created using an integer field, not a text field:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (4).png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94917iF7678B578BA7DBEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image (4).png" alt="image (4).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/create-modify-and-delete-subtypes.htm#:~:text=are%20no%20available-,integer%20fields,-to%20use%20as" target="_self"&gt;Create and manage subtypes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You cannot create subtypes if there are no available &lt;STRONG&gt;integer&lt;/STRONG&gt; fields to use as the subtype field. If this is the case and you want to create subtypes, open the Fields view and &lt;STRONG&gt;add an integer field&lt;/STRONG&gt; on which to base the subtypes.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;When using a table that has a subtype in a SQL Expression or other scripts (database view, Python, etc.), we only see the integer codes, not the textual descriptions. The integers are difficult to work with since there's no way to know what the number pertains to, without investigation.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Related:&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/569244"&gt;@MErikReedAugusta&lt;/a&gt;&amp;nbsp;in&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/best-practices-with-using-domains/m-p/1379623/highlight/true#M78457" target="_self"&gt;Best practices with using domains?&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I abhor the numeric-code&lt;/STRONG&gt;-with-text-alias approach to Domains.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;I'm aware that it's possible to bring subtype descriptions into a script by adding extra logic. But it's a nuisance to and adds extra complexity (for example, &lt;A href="https://gis.stackexchange.com/questions/434582/select-subtype-and-a-subtype-fields-domain-names-using-sql" target="_self"&gt;Select subtype and a subtype field's domain names using SQL&lt;/A&gt;). And that doesn't help us with SQL Expressions in Pro like Select By Attributes or definition queries (when writing SQL, not using the query builder).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'd rather just have subtype codes that are meaningful, such as:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;R | Road&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;S | Sidewalk&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;B | Bridge&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Could subtypes be enhanced to allow letters as codes, not just integers?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Feb 2024 19:51:52 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2024-02-19T19:51:52Z</dc:date>
    <item>
      <title>Use letter instead of integer as subtype field/code</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/use-letter-instead-of-integer-as-subtype-field/idi-p/1382977</link>
      <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.2.2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;A subtype can only be created using an integer field, not a text field:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (4).png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94917iF7678B578BA7DBEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image (4).png" alt="image (4).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/create-modify-and-delete-subtypes.htm#:~:text=are%20no%20available-,integer%20fields,-to%20use%20as" target="_self"&gt;Create and manage subtypes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You cannot create subtypes if there are no available &lt;STRONG&gt;integer&lt;/STRONG&gt; fields to use as the subtype field. If this is the case and you want to create subtypes, open the Fields view and &lt;STRONG&gt;add an integer field&lt;/STRONG&gt; on which to base the subtypes.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;When using a table that has a subtype in a SQL Expression or other scripts (database view, Python, etc.), we only see the integer codes, not the textual descriptions. The integers are difficult to work with since there's no way to know what the number pertains to, without investigation.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Related:&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/569244"&gt;@MErikReedAugusta&lt;/a&gt;&amp;nbsp;in&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/best-practices-with-using-domains/m-p/1379623/highlight/true#M78457" target="_self"&gt;Best practices with using domains?&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I abhor the numeric-code&lt;/STRONG&gt;-with-text-alias approach to Domains.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;I'm aware that it's possible to bring subtype descriptions into a script by adding extra logic. But it's a nuisance to and adds extra complexity (for example, &lt;A href="https://gis.stackexchange.com/questions/434582/select-subtype-and-a-subtype-fields-domain-names-using-sql" target="_self"&gt;Select subtype and a subtype field's domain names using SQL&lt;/A&gt;). And that doesn't help us with SQL Expressions in Pro like Select By Attributes or definition queries (when writing SQL, not using the query builder).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'd rather just have subtype codes that are meaningful, such as:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;R | Road&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;S | Sidewalk&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;B | Bridge&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Could subtypes be enhanced to allow letters as codes, not just integers?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 19:51:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/use-letter-instead-of-integer-as-subtype-field/idi-p/1382977</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-02-19T19:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Use letter instead of integer as subtype field/code</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/use-letter-instead-of-integer-as-subtype-field/idc-p/1382981#M28557</link>
      <description>&lt;P&gt;I always use same text on both sides. This would be key, to support text.&amp;nbsp; (so 0, 1, 2 doesn't end up in stuff, for example Views not supporting domains, in third party apps, making def queries more sane, etc)&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 18:21:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/use-letter-instead-of-integer-as-subtype-field/idc-p/1382981#M28557</guid>
      <dc:creator>Kevin_MacLeod</dc:creator>
      <dc:date>2024-02-15T18:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Use letter instead of integer as subtype field/code</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/use-letter-instead-of-integer-as-subtype-field/idc-p/1384026#M28580</link>
      <description>&lt;P&gt;Absolutely seconded!! (or fourthed, as the case may be, going by the current Kudos?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have OFTEN railed against this artificial limitation with our own data.&amp;nbsp; To be fair, I'm sure there could be many datasets out there for which this would be an untenable memory sink.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;But to be&amp;nbsp;equally fair&lt;/EM&gt;, there are plenty of datasets for which it's not.&amp;nbsp; Let us make that call as users and schema designers, because we know our data.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 14:18:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/use-letter-instead-of-integer-as-subtype-field/idc-p/1384026#M28580</guid>
      <dc:creator>MErikReedAugusta</dc:creator>
      <dc:date>2024-02-19T14:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Use letter instead of integer as subtype field/code</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/use-letter-instead-of-integer-as-subtype-field/idc-p/1402038#M29133</link>
      <description>&lt;P&gt;Throwing my vote in here!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 16:20:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/use-letter-instead-of-integer-as-subtype-field/idc-p/1402038#M29133</guid>
      <dc:creator>LanceKirby2</dc:creator>
      <dc:date>2024-03-28T16:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Use letter instead of integer as subtype field/code</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/use-letter-instead-of-integer-as-subtype-field/idc-p/1664891#M36639</link>
      <description>&lt;P&gt;This needs to happen ASAP!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 13:27:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/use-letter-instead-of-integer-as-subtype-field/idc-p/1664891#M36639</guid>
      <dc:creator>Nicauldron</dc:creator>
      <dc:date>2025-11-11T13:27:15Z</dc:date>
    </item>
  </channel>
</rss>

