<?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: Select by Widget in Experience Builder Custom Widgets</title>
    <link>https://community.esri.com/t5/experience-builder-custom-widgets/select-by-widget/m-p/1639090#M620</link>
    <description>&lt;P&gt;Hi, on the setting of the widget it is possible to made action by using selecting records and common ID's ?&lt;/P&gt;</description>
    <pubDate>Tue, 05 Aug 2025 08:35:31 GMT</pubDate>
    <dc:creator>JasonBOCQUET</dc:creator>
    <dc:date>2025-08-05T08:35:31Z</dc:date>
    <item>
      <title>Select by Widget</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/select-by-widget/m-p/1608347#M552</link>
      <description>&lt;P&gt;Hello, I have been trying to make a "select by" widget that looks similar and functions similar to the "Select by" tools we have in ArcGIS Pro. I have something working but I have questions on how to improve it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRIKE&gt;1.&amp;nbsp;The widget uses the dataSource.selectRecords method, but I don't see an option in that method for additional selection methods like "add to selection" or "remove from selection". Does anyone know of an alternative method? Right now, it'll just make a new selection.&amp;nbsp;&lt;/STRIKE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRIKE&gt;2. When using the select by location option, if no features or multiple features are selected in the Selecting Features, then the widget unions the geometry of all those features. This is because I can only pass in a single geometry in the selectRecords method. However, I am using the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-unionOperator.html" target="_self"&gt;unionOperator&lt;/A&gt;&amp;nbsp;from the JavaScript SDK and the returned results doesn't seem to work with the selectRecords because of type differences. selectRecords expects IGeometry and I am passing in __esri.GeometryUnion. To get around this, I have an ugly function that returns only the necessary fields based on the type of geometry. Does anyone know of a better way to get around this?&lt;/STRIKE&gt;&lt;BR /&gt;&lt;BR /&gt;The code is &lt;A href="https://github.com/Party-Pelican/exb-custom-widgets/tree/main/widgets/select-by" target="_self"&gt;here&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Update:&lt;BR /&gt;&lt;BR /&gt;I was able to solve the 2 issues above. Please let me know if there are ways of improving this. Hope someone finds this useful!&lt;BR /&gt;&lt;BR /&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6373153121112w960h540r143" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6373153121112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6373153121112w960h540r143');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6373153121112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 02:08:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/select-by-widget/m-p/1608347#M552</guid>
      <dc:creator>PartyPelican</dc:creator>
      <dc:date>2026-03-06T02:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Query Builder Widget</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/select-by-widget/m-p/1608736#M553</link>
      <description>&lt;P&gt;At least for #1 (I don't know about #2), you could return the selected records' OIDs from the layer(s) and store them, then get the OIDs from the subsequent query and add them to the variable where you stored the existing selected records' OIDs, and make a new selection from that. I'm not sure if there's a built-in add to selection parameter either.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 22:17:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/select-by-widget/m-p/1608736#M553</guid>
      <dc:creator>AndreLoerch</dc:creator>
      <dc:date>2025-04-23T22:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Select by Widget</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/select-by-widget/m-p/1639063#M619</link>
      <description>&lt;P&gt;Did you find the fix for #2?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 07:25:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/select-by-widget/m-p/1639063#M619</guid>
      <dc:creator>Forestkane</dc:creator>
      <dc:date>2025-08-05T07:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select by Widget</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/select-by-widget/m-p/1639090#M620</link>
      <description>&lt;P&gt;Hi, on the setting of the widget it is possible to made action by using selecting records and common ID's ?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 08:35:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/select-by-widget/m-p/1639090#M620</guid>
      <dc:creator>JasonBOCQUET</dc:creator>
      <dc:date>2025-08-05T08:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select by Widget</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/select-by-widget/m-p/1688871#M670</link>
      <description>&lt;P&gt;Are you looking to select other layers based on a specified field?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 02:09:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/select-by-widget/m-p/1688871#M670</guid>
      <dc:creator>PartyPelican</dc:creator>
      <dc:date>2026-03-06T02:09:07Z</dc:date>
    </item>
  </channel>
</rss>

