<?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: Text Widget - Dynamic Content in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/text-widget-dynamic-content/m-p/1628186#M19606</link>
    <description>&lt;P&gt;Note that fields used in the widget formatting profile are not automatically added to the used fields list. If you don't use the "quality" field elsewhere, the Arcade script may run incorrectly, resulting in incorrect output.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jun 2025 06:15:45 GMT</pubDate>
    <dc:creator>ShengdiZhang</dc:creator>
    <dc:date>2025-06-30T06:15:45Z</dc:date>
    <item>
      <title>Text Widget - Dynamic Content</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/text-widget-dynamic-content/m-p/1606728#M18511</link>
      <description>&lt;P&gt;I want to include dynamic content in a text widget in Experience Builder.&lt;/P&gt;&lt;P&gt;I have a feature layer with 1000+ records. I have a field 'quality' with 10 unique values.&lt;/P&gt;&lt;P&gt;I want the dynamic content to display "Values not unique" when no filtering is applied. If filtering is applied (using filter widget), and the filtered records contain only one unique in the the field 'quality', then I want the dynamic content to display the unique value, if not then display "Values not unique".&lt;/P&gt;&lt;P&gt;Is there a way to accomplish this?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 22:19:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/text-widget-dynamic-content/m-p/1606728#M18511</guid>
      <dc:creator>subu</dc:creator>
      <dc:date>2025-04-16T22:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Text Widget - Dynamic Content</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/text-widget-dynamic-content/m-p/1628133#M19603</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/520361"&gt;@subu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The text widget supports Arcade expression in the June 2025 AGOL release.&lt;/P&gt;&lt;P&gt;You can use a similar Arcade script like this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var ds = $dataSources["dataSource_id"].layer;

var queryStr = $dataSources["dataSource_id"].queryParams.where;

if (IsEmpty(queryStr)) {
  return "Values not unique.";
}

else {
  ds = Filter(ds, queryStr);

  var distinctValue = Distinct(ds, 'field_name');

  if (Count(distinctValue) &amp;gt; 1) {
    return "Values not unique.";
  }
  else {
    return First(distinctValue).field_name;
  }
}&lt;/LI-CODE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shengdi&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 03:30:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/text-widget-dynamic-content/m-p/1628133#M19603</guid>
      <dc:creator>ShengdiZhang</dc:creator>
      <dc:date>2025-06-30T03:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Text Widget - Dynamic Content</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/text-widget-dynamic-content/m-p/1628186#M19606</link>
      <description>&lt;P&gt;Note that fields used in the widget formatting profile are not automatically added to the used fields list. If you don't use the "quality" field elsewhere, the Arcade script may run incorrectly, resulting in incorrect output.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 06:15:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/text-widget-dynamic-content/m-p/1628186#M19606</guid>
      <dc:creator>ShengdiZhang</dc:creator>
      <dc:date>2025-06-30T06:15:45Z</dc:date>
    </item>
  </channel>
</rss>

