<?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 Domains, code, labels? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/domains-code-labels/m-p/26667#M1320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt; I've added a domain list of values to a field in a hosted feature layer.&lt;/P&gt;&lt;P&gt;1 - Larry's Landscaping&lt;/P&gt;&lt;P&gt;2 - Pete's Plumbing&lt;/P&gt;&lt;P&gt;3 - Ricks Roofing&lt;/P&gt;&lt;P&gt;4 - Cal's Construction&lt;/P&gt;&lt;P&gt;5 - Other&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When editing/adding features, the codes are in a dropdown. After adding the feature,&amp;nbsp;I am expecting to see the "label" in the attribute table, not the "code". I found this below on Esri - &lt;A href="https://doc.arcgis.com/en/arcgis-online/manage-data/define-attribute-lists-and-ranges.htm"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline; "&gt;https://doc.arcgis.com/en/arcgis-online/manage-data/define-attribute-lists-and-ranges.htm&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm expecting to see "Larry's Landscaping" in the attribute table, not "1". Am I wrong to think this? How do I see the label?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="padding: 0px; text-align: left; color: #4c4c4c; text-transform: none; line-height: 1.55rem; text-indent: 0px; letter-spacing: normal; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15.93px; font-style: normal; font-weight: 400; margin-top: 0px; margin-bottom: 1.55rem; margin-left: 0.77rem; word-spacing: 0px; list-style-position: inside; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;LI style="margin: 0.38rem 0px 0.38rem 1.5rem; list-style-position: outside;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Code&lt;/SPAN&gt;—The code is stored in the attribute table and must be supported for the data type set for the field. For example, if the field is an integer field, you cannot have a code that uses alphabetical characters. In some cases, the code value is an abbreviated form of the information. For example, for the materials field in the trash bin example, the codes might be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;PL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;AL&lt;/SPAN&gt;.&lt;/LI&gt;&lt;LI style="margin: 0.38rem 0px 0.38rem 1.5rem; list-style-position: outside;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Label&lt;/SPAN&gt;—The label is a unique text value that appears in the values list and attributes table. For the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;PL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;code, the label is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;plastic&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;AL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;code, the label is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;aluminum&lt;/SPAN&gt;. The label also allows you to show more information than the data type for the field allows. For example, if the trash bin layer also has an integer field that stores bin height, the code for a 1 meter bin would be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;1&lt;/SPAN&gt;, but you can set the corresponding label to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;1 m&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;1 meter&lt;/SPAN&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2020 13:11:08 GMT</pubDate>
    <dc:creator>larrycamp</dc:creator>
    <dc:date>2020-03-25T13:11:08Z</dc:date>
    <item>
      <title>Domains, code, labels?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/domains-code-labels/m-p/26667#M1320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt; I've added a domain list of values to a field in a hosted feature layer.&lt;/P&gt;&lt;P&gt;1 - Larry's Landscaping&lt;/P&gt;&lt;P&gt;2 - Pete's Plumbing&lt;/P&gt;&lt;P&gt;3 - Ricks Roofing&lt;/P&gt;&lt;P&gt;4 - Cal's Construction&lt;/P&gt;&lt;P&gt;5 - Other&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When editing/adding features, the codes are in a dropdown. After adding the feature,&amp;nbsp;I am expecting to see the "label" in the attribute table, not the "code". I found this below on Esri - &lt;A href="https://doc.arcgis.com/en/arcgis-online/manage-data/define-attribute-lists-and-ranges.htm"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline; "&gt;https://doc.arcgis.com/en/arcgis-online/manage-data/define-attribute-lists-and-ranges.htm&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm expecting to see "Larry's Landscaping" in the attribute table, not "1". Am I wrong to think this? How do I see the label?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="padding: 0px; text-align: left; color: #4c4c4c; text-transform: none; line-height: 1.55rem; text-indent: 0px; letter-spacing: normal; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15.93px; font-style: normal; font-weight: 400; margin-top: 0px; margin-bottom: 1.55rem; margin-left: 0.77rem; word-spacing: 0px; list-style-position: inside; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;LI style="margin: 0.38rem 0px 0.38rem 1.5rem; list-style-position: outside;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Code&lt;/SPAN&gt;—The code is stored in the attribute table and must be supported for the data type set for the field. For example, if the field is an integer field, you cannot have a code that uses alphabetical characters. In some cases, the code value is an abbreviated form of the information. For example, for the materials field in the trash bin example, the codes might be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;PL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;AL&lt;/SPAN&gt;.&lt;/LI&gt;&lt;LI style="margin: 0.38rem 0px 0.38rem 1.5rem; list-style-position: outside;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Label&lt;/SPAN&gt;—The label is a unique text value that appears in the values list and attributes table. For the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;PL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;code, the label is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;plastic&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;AL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;code, the label is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;aluminum&lt;/SPAN&gt;. The label also allows you to show more information than the data type for the field allows. For example, if the trash bin layer also has an integer field that stores bin height, the code for a 1 meter bin would be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;1&lt;/SPAN&gt;, but you can set the corresponding label to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;1 m&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace;"&gt;1 meter&lt;/SPAN&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 13:11:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/domains-code-labels/m-p/26667#M1320</guid>
      <dc:creator>larrycamp</dc:creator>
      <dc:date>2020-03-25T13:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Domains, code, labels?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/domains-code-labels/m-p/26668#M1321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also have this issue. My survey was published using the web designer. I am using the answers to domain-related questions on a layout using Dynamic Text in ArcGIS Pro and they display the code instead of the label.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, as the submitters are filling out the form, they're seeing the label to the drop-downs and such, but when I look at the attribute table for the service in ArcGIS Pro, the survey is passing the coded value and not the label. Thus, my handsome Pro layout needs constant data editing to ensure proper display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else encountered this and is there a fix?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Larry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2020 13:56:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/domains-code-labels/m-p/26668#M1321</guid>
      <dc:creator>LarryGaudieri1</dc:creator>
      <dc:date>2020-06-25T13:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Domains, code, labels?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/domains-code-labels/m-p/1117260#M42988</link>
      <description>&lt;P&gt;You're not wrong, why would the code be the default?&amp;nbsp; Makes no sense.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 15:11:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/domains-code-labels/m-p/1117260#M42988</guid>
      <dc:creator>KeithAddison1</dc:creator>
      <dc:date>2021-11-16T15:11:00Z</dc:date>
    </item>
  </channel>
</rss>

