<?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 communicating between custom widget and OOTB table widget in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/communicating-between-custom-widget-and-ootb-table/m-p/1608682#M18611</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am building a custom widget that makes a selection on the map. To have the corresponding rows highlighted in the OOTB table widget how do I go about doing this?&lt;/P&gt;&lt;P&gt;Can I use&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MessageManager.getInstance().publishMessage(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;new DataRecordsSelectionChangeMessage(props.widgetid, ds.records, [props.dataSource.id])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;or do I need to extend the current table widget to listen to a new message I send from my custom widget?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 23 Apr 2025 19:44:45 GMT</pubDate>
    <dc:creator>wanderer1</dc:creator>
    <dc:date>2025-04-23T19:44:45Z</dc:date>
    <item>
      <title>communicating between custom widget and OOTB table widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/communicating-between-custom-widget-and-ootb-table/m-p/1608682#M18611</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am building a custom widget that makes a selection on the map. To have the corresponding rows highlighted in the OOTB table widget how do I go about doing this?&lt;/P&gt;&lt;P&gt;Can I use&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MessageManager.getInstance().publishMessage(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;new DataRecordsSelectionChangeMessage(props.widgetid, ds.records, [props.dataSource.id])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;or do I need to extend the current table widget to listen to a new message I send from my custom widget?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Apr 2025 19:44:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/communicating-between-custom-widget-and-ootb-table/m-p/1608682#M18611</guid>
      <dc:creator>wanderer1</dc:creator>
      <dc:date>2025-04-23T19:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: communicating between custom widget and OOTB table widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/communicating-between-custom-widget-and-ootb-table/m-p/1608785#M18618</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/422231"&gt;@wanderer1&lt;/a&gt;&amp;nbsp;,you can try select the record by dataSource.selectRecordById(recordId, record) or dataSource.selectRecordsByIds(recordIdArray, recordArray).&lt;/P&gt;&lt;P&gt;The table will hightlight these records automatically.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 03:10:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/communicating-between-custom-widget-and-ootb-table/m-p/1608785#M18618</guid>
      <dc:creator>Allen_Zhang</dc:creator>
      <dc:date>2025-04-24T03:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: communicating between custom widget and OOTB table widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/communicating-between-custom-widget-and-ootb-table/m-p/1608792#M18619</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/832963"&gt;@Allen_Zhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is what I have tried doing and it does select on the map, but not in the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dataSource&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;query&lt;/SPAN&gt;&lt;SPAN&gt;({ &lt;/SPAN&gt;&lt;SPAN&gt;objectIds&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; [ &lt;/SPAN&gt;&lt;SPAN&gt;"1"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"2"&lt;/SPAN&gt;&lt;SPAN&gt;], &lt;/SPAN&gt;&lt;SPAN&gt;returnGeometry&lt;/SPAN&gt;&lt;SPAN&gt; :&lt;/SPAN&gt; &lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt; }).&lt;/SPAN&gt;&lt;SPAN&gt;then&lt;/SPAN&gt;&lt;SPAN&gt;((&lt;/SPAN&gt;&lt;SPAN&gt;qr&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN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&gt;</description>
      <pubDate>Thu, 24 Apr 2025 03:52:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/communicating-between-custom-widget-and-ootb-table/m-p/1608792#M18619</guid>
      <dc:creator>wanderer1</dc:creator>
      <dc:date>2025-04-24T03:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: communicating between custom widget and OOTB table widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/communicating-between-custom-widget-and-ootb-table/m-p/1608793#M18620</link>
      <description>&lt;P&gt;Was missing the second argument. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 04:03:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/communicating-between-custom-widget-and-ootb-table/m-p/1608793#M18620</guid>
      <dc:creator>wanderer1</dc:creator>
      <dc:date>2025-04-24T04:03:56Z</dc:date>
    </item>
  </channel>
</rss>

