<?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: ViewInTable Data Action in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/viewintable-data-action/m-p/1579445#M17129</link>
    <description>&lt;P&gt;I've figured out how to trigger AddToTable data action, which would work for ViewInTable as well, they are pretty much the same just one is on Data Source level and another is on Records level. For CSVLayer I think you first need to make DataSource from it, then you can easily getRecords() to get records and pass all required parameters to onExecute. See code here:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-experience-builder-questions/adding-tables-and-layers-to-table-widget/m-p/1579319#M17125" target="_blank"&gt;Solved: Re: Adding Tables and Layers to Table Widget progr... - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2025 09:22:29 GMT</pubDate>
    <dc:creator>SerjStol</dc:creator>
    <dc:date>2025-01-28T09:22:29Z</dc:date>
    <item>
      <title>ViewInTable Data Action</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/viewintable-data-action/m-p/1344472#M9094</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am developing a custom ExB widget. The widget creates a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html" target="_self"&gt;CSVLayer&lt;/A&gt; and adds it to the map. I would also like to add it to the attribute table.&lt;/P&gt;&lt;P&gt;After a lot of hunting and pecking, I managed to get a hold of the "viewInTable" data action but I can't get it executed. I believe I need to somehow cast the CSVLayer as a &lt;A href="https://developers.arcgis.com/experience-builder/api-reference/jimu-core/DataRecordSet/" target="_blank" rel="noopener"&gt;DataRecordSet.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Does anybody have a working example of this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jill&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 15:47:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/viewintable-data-action/m-p/1344472#M9094</guid>
      <dc:creator>JillianStanford</dc:creator>
      <dc:date>2023-11-01T15:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: ViewInTable Data Action</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/viewintable-data-action/m-p/1575744#M16908</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/86115"&gt;@JillianStanford&lt;/a&gt;&amp;nbsp;did you ever figure this out? I want to programatically add Tables from hosted feature layer directly to Table Widget, similar to Add To Table Data Action.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 12:43:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/viewintable-data-action/m-p/1575744#M16908</guid>
      <dc:creator>SerjStol</dc:creator>
      <dc:date>2025-01-15T12:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: ViewInTable Data Action</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/viewintable-data-action/m-p/1575839#M16915</link>
      <description>&lt;P&gt;I cobbled something together that worked for my specific use case. I posted it here - &lt;A href="https://community.esri.com/t5/arcgis-experience-builder-questions/custom-widget-output-datasource/m-p/1381931#M10865" target="_blank"&gt;https://community.esri.com/t5/arcgis-experience-builder-questions/custom-widget-output-datasource/m-p/1381931#M10865&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 15:47:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/viewintable-data-action/m-p/1575839#M16915</guid>
      <dc:creator>JillianStanford</dc:creator>
      <dc:date>2025-01-15T15:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: ViewInTable Data Action</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/viewintable-data-action/m-p/1579445#M17129</link>
      <description>&lt;P&gt;I've figured out how to trigger AddToTable data action, which would work for ViewInTable as well, they are pretty much the same just one is on Data Source level and another is on Records level. For CSVLayer I think you first need to make DataSource from it, then you can easily getRecords() to get records and pass all required parameters to onExecute. See code here:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-experience-builder-questions/adding-tables-and-layers-to-table-widget/m-p/1579319#M17125" target="_blank"&gt;Solved: Re: Adding Tables and Layers to Table Widget progr... - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 09:22:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/viewintable-data-action/m-p/1579445#M17129</guid>
      <dc:creator>SerjStol</dc:creator>
      <dc:date>2025-01-28T09:22:29Z</dc:date>
    </item>
  </channel>
</rss>

