<?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: SQL Expression Builder for the query widget is not loading unique values in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/sql-expression-builder-for-the-query-widget-is-not/m-p/1684733#M22485</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/766971"&gt;@Ke_Xu&lt;/a&gt;&amp;nbsp;Is there any update on this topic?&lt;/P&gt;&lt;P&gt;Current Experience Builder in ArcGIS Online (February 2026) has the same issue.&amp;nbsp;&lt;SPAN&gt;CHAR_LENGTH its only valid in service that use&amp;nbsp;ArcGIS SQL syntax. According to the following article, if all layers in the service come from the same datasource location and this location is a Enterprise Database, the service use RBDMS Sintax for layer queries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/es/pro-app/latest/help/mapping/navigation/sql-reference-for-elements-used-in-query-expressions.htm" target="_self" rel="nofollow noopener noreferrer"&gt;SQL reference for query expressions used in ArcGIS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Other possibility is that ArcGIS Server has been configured to avoid standardized queries&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/server/latest/administer/windows/about-standardized-queries.htm" target="_self" rel="nofollow noopener noreferrer"&gt;About standardized queries&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Feb 2026 16:24:50 GMT</pubDate>
    <dc:creator>DanielGarcia</dc:creator>
    <dc:date>2026-02-17T16:24:50Z</dc:date>
    <item>
      <title>SQL Expression Builder for the query widget is not loading unique values</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/sql-expression-builder-for-the-query-widget-is-not/m-p/1565159#M16310</link>
      <description>&lt;P&gt;When configuring the SQL Expression Builder for the query widget, the unique values are not loading for any of the string fields. They are not loading in the SQL Expression Builder, or in the Query widget. The unique values are loading for other field types such as integer and date fields.&amp;nbsp; I am building this query for a feature service table published from a sde and it has around 400,000 features.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WR_TYPE is a string field, unique values will not load:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NateWold1_1-1733411048239.png" style="width: 579px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/120949i865E00870B9565C7/image-dimensions/579x97?v=v2" width="579" height="97" role="button" title="NateWold1_1-1733411048239.png" alt="NateWold1_1-1733411048239.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;VERS is an integer field, unique values do load:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NateWold1_0-1733410983393.png" style="width: 576px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/120948i54408C8BFEB46765/image-dimensions/576x101?v=v2" width="576" height="101" role="button" title="NateWold1_0-1733410983393.png" alt="NateWold1_0-1733410983393.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 19:45:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/sql-expression-builder-for-the-query-widget-is-not/m-p/1565159#M16310</guid>
      <dc:creator>NateWold1</dc:creator>
      <dc:date>2024-12-06T19:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Expression Builder for the query widget is not loading unique values</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/sql-expression-builder-for-the-query-widget-is-not/m-p/1566101#M16392</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/594372"&gt;@NateWold1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you share your service with me so I can take a look?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Ke&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 02:06:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/sql-expression-builder-for-the-query-widget-is-not/m-p/1566101#M16392</guid>
      <dc:creator>Ke_Xu</dc:creator>
      <dc:date>2024-12-09T02:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Expression Builder for the query widget is not loading unique values</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/sql-expression-builder-for-the-query-widget-is-not/m-p/1566215#M16401</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/766971"&gt;@Ke_Xu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Here is the service. Thank you for taking a look. Our GIS Server is at version 11.1.&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.dnrc.mt.gov/arcgis/rest/services/WRD/WRQS/FeatureServer/0" target="_blank" rel="noopener"&gt;Layer: Public Versions (ID: 0)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nate&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 16:02:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/sql-expression-builder-for-the-query-widget-is-not/m-p/1566215#M16401</guid>
      <dc:creator>NateWold1</dc:creator>
      <dc:date>2024-12-09T16:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Expression Builder for the query widget is not loading unique values</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/sql-expression-builder-for-the-query-widget-is-not/m-p/1571595#M16690</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/594372"&gt;@NateWold1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;This is a known issue we currently have, related to CHAR_LENGTH() in the query expression. I will keep you updated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ke&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Dec 2024 11:31:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/sql-expression-builder-for-the-query-widget-is-not/m-p/1571595#M16690</guid>
      <dc:creator>Ke_Xu</dc:creator>
      <dc:date>2024-12-29T11:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Expression Builder for the query widget is not loading unique values</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/sql-expression-builder-for-the-query-widget-is-not/m-p/1669182#M21807</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/766971"&gt;@Ke_Xu&lt;/a&gt;&amp;nbsp; &amp;nbsp;Any update or patches on this?&amp;nbsp; &amp;nbsp;I am seeing the issue in Enterprise 11.3 running ExB&amp;nbsp;&lt;SPAN&gt;1.14&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Looking at he REST request, I can see the CHAR_LENGTH being used on a MS SQL box when LEN should be used.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 19:07:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/sql-expression-builder-for-the-query-widget-is-not/m-p/1669182#M21807</guid>
      <dc:creator>atimmins</dc:creator>
      <dc:date>2025-11-28T19:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Expression Builder for the query widget is not loading unique values</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/sql-expression-builder-for-the-query-widget-is-not/m-p/1684733#M22485</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/766971"&gt;@Ke_Xu&lt;/a&gt;&amp;nbsp;Is there any update on this topic?&lt;/P&gt;&lt;P&gt;Current Experience Builder in ArcGIS Online (February 2026) has the same issue.&amp;nbsp;&lt;SPAN&gt;CHAR_LENGTH its only valid in service that use&amp;nbsp;ArcGIS SQL syntax. According to the following article, if all layers in the service come from the same datasource location and this location is a Enterprise Database, the service use RBDMS Sintax for layer queries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/es/pro-app/latest/help/mapping/navigation/sql-reference-for-elements-used-in-query-expressions.htm" target="_self" rel="nofollow noopener noreferrer"&gt;SQL reference for query expressions used in ArcGIS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Other possibility is that ArcGIS Server has been configured to avoid standardized queries&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/server/latest/administer/windows/about-standardized-queries.htm" target="_self" rel="nofollow noopener noreferrer"&gt;About standardized queries&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2026 16:24:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/sql-expression-builder-for-the-query-widget-is-not/m-p/1684733#M22485</guid>
      <dc:creator>DanielGarcia</dc:creator>
      <dc:date>2026-02-17T16:24:50Z</dc:date>
    </item>
  </channel>
</rss>

