<?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: Character limit of the question &amp;quot;Label&amp;quot; field? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1285406#M49039</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/8487"&gt;@MichaelBishopp&lt;/a&gt;&amp;nbsp; It looks like we got lost in translation. This link may be helpful to you:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-saphana/enterprise-geodatabase-limits.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-saphana/enterprise-geodatabase-limits.htm&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2023 19:55:59 GMT</pubDate>
    <dc:creator>IsmaelChivite</dc:creator>
    <dc:date>2023-05-03T19:55:59Z</dc:date>
    <item>
      <title>Character limit of the question "Label" field?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1284653#M48994</link>
      <description>&lt;P&gt;I am trying to determine the character limit of the label field in a question of a Survey123 survey.&amp;nbsp; I believe it is probably 256 characters, but wanted to check and see if anyone knows the exact character limit of this field.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 11:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1284653#M48994</guid>
      <dc:creator>MichaelBishopp</dc:creator>
      <dc:date>2023-05-02T11:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Character limit of the question "Label" field?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1284704#M49002</link>
      <description>&lt;P&gt;I can't give you an answer for a specific character limit off the top of my head, but I know I've used extremely long blocks of text using HTML to create a table to display in the survey (it was a null field type though, not sure if that would overwrite any kind of character limit?)&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 14:04:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1284704#M49002</guid>
      <dc:creator>Katie_Clark</dc:creator>
      <dc:date>2023-05-02T14:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Character limit of the question "Label" field?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1284838#M49006</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/8487"&gt;@MichaelBishopp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I agree with&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/232739"&gt;@Katie_Clark&lt;/a&gt;&amp;nbsp;, you can make Survey123 question labels really long.&amp;nbsp; Just for fun, today I created a label with 133,000 characters, and it did work fine in both the mobile and web apps. The text is longer anyone would every want to read! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In practice, what bites you is not the limit on the Survey123 labels, but the limit on the ArcGIS field alias. When you publish a survey, the label of the question is used to populate the field alias. That is where you are going to get errors, while publishing. So here are a few recommendations:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Specify the field alias using the &lt;EM&gt;bind::esriFieldAlias&lt;/EM&gt; column in your XLSForm (limit is 255 characters).&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Set the &lt;EM&gt;bind::esriFieldType&lt;/EM&gt;&amp;nbsp;value to &lt;EM&gt;null&lt;/EM&gt; (like&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/232739"&gt;@Katie_Clark&lt;/a&gt;&amp;nbsp;did)&lt;/LI&gt;&lt;LI&gt;If the &lt;EM&gt;label&lt;/EM&gt; belongs to a &lt;EM&gt;note&lt;/EM&gt; question type, do not specify a value in the &lt;EM&gt;name&lt;/EM&gt; column&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 03 May 2023 21:21:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1284838#M49006</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2023-05-03T21:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Character limit of the question "Label" field?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1284847#M49008</link>
      <description>&lt;P&gt;Thanks for elaborating,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;Just clarifying, is that a typo in your second bullet point? It's &lt;EM&gt;bind::esriFieldType&lt;/EM&gt; value to &lt;EM&gt;null&lt;/EM&gt;, correct? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 17:53:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1284847#M49008</guid>
      <dc:creator>Katie_Clark</dc:creator>
      <dc:date>2023-05-02T17:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Character limit of the question "Label" field?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1284857#M49009</link>
      <description>&lt;P&gt;Maybe I’m misunderstanding, but I don’t think you’all understand the question. The Label is NOT a database field value, but a field name. I realized that the limitation is the length allowed by Esri’s Datastore’s Postgres database configured NAMEDATALEN. Since this is hidden from us, I will assume the length limit is 63 bytes.&lt;BR /&gt;Bing Search (ChapGPT)&lt;BR /&gt;The search results indicate that the limit of the field name length in a PostgreSQL database is **63 bytes**¹²⁴. This means that identifiers such as table names, column names, constraint names, etc. are limited to a maximum length of 63 bytes. Identifiers longer than 63 bytes can be used, but they will be truncated to the allowed length¹⁴. The limit is determined by the value of **NAMEDATALEN**, which is 64 by default²⁵. NAMEDATALEN can be changed in the source code before building PostgreSQL, but this is not recommended³.&lt;BR /&gt;Source: Conversation with Bing, 5/2/2023&lt;BR /&gt;(1) &lt;A href="https://til.hashrocket.com/posts/8f87c65a0a-postgresqls-max-identifier-length-is-63-bytes#:~:text=In%20PostgreSQL%2C%20identifiers%20%E2%80%94%20table%20names%2C%20column%20names%2C,us%20of%20what%20they%20will%20be%20truncated%20to" target="_blank" rel="noopener"&gt;https://til.hashrocket.com/posts/8f87c65a0a-postgresqls-max-identifier-length-is-63-bytes#:~:text=In%20PostgreSQL%2C%20identifiers%20%E2%80%94%20table%20names%2C%20column%20names%2C,us%20of%20what%20they%20will%20be%20truncated%20to&lt;/A&gt;.. &lt;A href="https://bing.com/search?q=field+name+length+postgres" target="_blank" rel="noopener"&gt;https://bing.com/search?q=field+name+length+postgres&lt;/A&gt;.&lt;BR /&gt;(2) How long can PostgreSQL table names be? - Stack Overflow. &lt;A href="https://stackoverflow.com/questions/27865770/how-long-can-postgresql-table-names-be" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/27865770/how-long-can-postgresql-table-names-be&lt;/A&gt;.&lt;BR /&gt;(3) PostgreSQL's Max Identifier Length Is 63 Bytes - Today I Learned. &lt;A href="https://til.hashrocket.com/posts/8f87c65a0a-postgresqls-max-identifier-length-is-63-bytes" target="_blank" rel="noopener"&gt;https://til.hashrocket.com/posts/8f87c65a0a-postgresqls-max-identifier-length-is-63-bytes&lt;/A&gt;.&lt;BR /&gt;(4) PostgreSQL: Documentation: 7.0: Names. &lt;A href="https://www.postgresql.org/docs/7.0/syntax525.htm" target="_blank" rel="noopener"&gt;https://www.postgresql.org/docs/7.0/syntax525.htm&lt;/A&gt;.&lt;BR /&gt;(5) Increasing Postgres column name length - Stack Overflow. &lt;A href="https://stackoverflow.com/questions/63511001/increasing-postgres-column-name-length" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/63511001/increasing-postgres-column-name-length&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 20:24:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1284857#M49009</guid>
      <dc:creator>MichaelBishopp</dc:creator>
      <dc:date>2023-05-03T20:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Character limit of the question "Label" field?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1285406#M49039</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/8487"&gt;@MichaelBishopp&lt;/a&gt;&amp;nbsp; It looks like we got lost in translation. This link may be helpful to you:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-saphana/enterprise-geodatabase-limits.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-saphana/enterprise-geodatabase-limits.htm&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 19:55:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1285406#M49039</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2023-05-03T19:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Character limit of the question "Label" field?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1285425#M49043</link>
      <description>&lt;P&gt;I realized that the "Label" field is actually creating an alias for this field name (it is shortened automatically by Esri for the actual field name).&amp;nbsp; So the alias field name length max is 255 based on&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;URL share.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 20:26:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/character-limit-of-the-question-quot-label-quot/m-p/1285425#M49043</guid>
      <dc:creator>MichaelBishopp</dc:creator>
      <dc:date>2023-05-03T20:26:30Z</dc:date>
    </item>
  </channel>
</rss>

