<?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: How to register a custom Data Action in ArcGIS Experience Builder 1.18 in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-register-a-custom-data-action-in-arcgis/m-p/1657581#M21112</link>
    <description>&lt;P&gt;Hi, when registering the action, please set the name to ‘export’.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShengdiZhang_0-1760409505085.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141918iC1D7C467DA6283C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShengdiZhang_0-1760409505085.png" alt="ShengdiZhang_0-1760409505085.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Oct 2025 02:38:35 GMT</pubDate>
    <dc:creator>ShengdiZhang</dc:creator>
    <dc:date>2025-10-14T02:38:35Z</dc:date>
    <item>
      <title>How to register a custom Data Action in ArcGIS Experience Builder 1.18</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-register-a-custom-data-action-in-arcgis/m-p/1657048#M21096</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m trying to add a &lt;STRONG&gt;new export option (“Export to Tab”)&lt;/STRONG&gt; that should appear &lt;STRONG&gt;inside the Map Popup’s Data Action list&lt;/STRONG&gt; — alongside the existing actions such as &lt;EM&gt;Export CSV&lt;/EM&gt;, &lt;EM&gt;Export GeoJSON&lt;/EM&gt;, etc.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MadhubalaK_1-1760092232860.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141785i2DD9AB433C7B5E56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MadhubalaK_1-1760092232860.png" alt="MadhubalaK_1-1760092232860.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I understand that data actions can be managed via the DataActionManager class in jimu-core/lib/data-action-manager.&lt;BR /&gt;I attempted to register a new DataAction dynamically like this:&lt;/P&gt;&lt;P&gt;import { DataActionManager } from 'jimu-core';&lt;/P&gt;&lt;P&gt;const manager = DataActionManager.getInstance();&lt;/P&gt;&lt;P&gt;await manager.registerAction({&lt;BR /&gt;id: 'export-tab',&lt;BR /&gt;label: 'Export to Tab',&lt;BR /&gt;icon: 'export',&lt;BR /&gt;uri: '../data-actions/export-to-tab'&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And my export-to-tab.ts looks like this:&lt;/P&gt;&lt;P&gt;import { AbstractDataAction, DataRecordSet, DataLevel } from 'jimu-core';&lt;/P&gt;&lt;P&gt;export default class ExportToTabAction extends AbstractDataAction {&lt;BR /&gt;id = 'export-tab';&lt;BR /&gt;label = 'Export to Tab';&lt;BR /&gt;icon = 'export';&lt;/P&gt;&lt;P&gt;async isSupported(dataSets: DataRecordSet[], dataLevel: DataLevel, widgetId: string): Promise&amp;lt;boolean&amp;gt; {&lt;BR /&gt;return dataSets?.length &amp;gt; 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;async onExecute(dataSets: DataRecordSet[], dataLevel: DataLevel, widgetId: string): Promise&amp;lt;boolean&amp;gt; {&lt;BR /&gt;console.log('Export to Tab clicked:', dataSets);&lt;BR /&gt;return true;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;The registration runs without any error, but my new &lt;STRONG&gt;“Export to Tab” option does not appear in the popup’s Data Action list&lt;/STRONG&gt; when clicking on a feature in the map.&lt;BR /&gt;When I log manager.getActions(), I can see the built-in ones (like Export CSV, Export GeoJSON, etc.), but not my custom action.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 10:39:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-register-a-custom-data-action-in-arcgis/m-p/1657048#M21096</guid>
      <dc:creator>MadhubalaK</dc:creator>
      <dc:date>2025-10-10T10:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to register a custom Data Action in ArcGIS Experience Builder 1.18</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-register-a-custom-data-action-in-arcgis/m-p/1657268#M21103</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/614301"&gt;@MadhubalaK&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Please try using ActionClass instead of uri.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShengdiZhang_0-1760149985004.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141847i5F9008F0D8F0ED5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShengdiZhang_0-1760149985004.png" alt="ShengdiZhang_0-1760149985004.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shengdi&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2025 02:34:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-register-a-custom-data-action-in-arcgis/m-p/1657268#M21103</guid>
      <dc:creator>ShengdiZhang</dc:creator>
      <dc:date>2025-10-11T02:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to register a custom Data Action in ArcGIS Experience Builder 1.18</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-register-a-custom-data-action-in-arcgis/m-p/1657380#M21106</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/54255"&gt;@ShengdiZhang&lt;/a&gt;&amp;nbsp;, Thank you for your reply.&lt;/P&gt;&lt;P&gt;I have added the ActionClass instead of the URI. Now, the &lt;STRONG&gt;Export to Tab&lt;/STRONG&gt; option appears in the existing Action List.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MadhubalaK_0-1760353883740.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141877i0220AB0D0C63474E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MadhubalaK_0-1760353883740.png" alt="MadhubalaK_0-1760353883740.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, I want to add the &lt;STRONG&gt;Export to Tab&lt;/STRONG&gt; option to the already existing &lt;STRONG&gt;Export Options&lt;/STRONG&gt; instead of the general Action List.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;I want to add it &lt;STRONG&gt;directly into the Export Options dropdown/panel&lt;/STRONG&gt;, so that users can see it alongside the other export choices.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MadhubalaK_1-1760354483222.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141878i400A24ECBCF024AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MadhubalaK_1-1760354483222.png" alt="MadhubalaK_1-1760354483222.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Could you guide me on how to integrate the ActionClass specifically into the Export Options rather than the general Actions?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 11:28:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-register-a-custom-data-action-in-arcgis/m-p/1657380#M21106</guid>
      <dc:creator>MadhubalaK</dc:creator>
      <dc:date>2025-10-13T11:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to register a custom Data Action in ArcGIS Experience Builder 1.18</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-register-a-custom-data-action-in-arcgis/m-p/1657581#M21112</link>
      <description>&lt;P&gt;Hi, when registering the action, please set the name to ‘export’.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShengdiZhang_0-1760409505085.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141918iC1D7C467DA6283C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShengdiZhang_0-1760409505085.png" alt="ShengdiZhang_0-1760409505085.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 02:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-register-a-custom-data-action-in-arcgis/m-p/1657581#M21112</guid>
      <dc:creator>ShengdiZhang</dc:creator>
      <dc:date>2025-10-14T02:38:35Z</dc:date>
    </item>
  </channel>
</rss>

