<?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: Code sharing in Experience Builder Custom Widgets</title>
    <link>https://community.esri.com/t5/experience-builder-custom-widgets/code-sharing/m-p/1677768#M658</link>
    <description>&lt;P&gt;Hi, I’m experiencing the same problem. Have you solved it?&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jan 2026 10:23:53 GMT</pubDate>
    <dc:creator>MatejKutik</dc:creator>
    <dc:date>2026-01-14T10:23:53Z</dc:date>
    <item>
      <title>Code sharing</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/code-sharing/m-p/1456558#M307</link>
      <description>&lt;P&gt;Hello! I am trying to use code sharing in my project (&lt;A title="https://developers.arcgis.com/experience-builder/guide/share-code-between-widgets/#shared-entry)." href="https://developers.arcgis.com/experience-builder/guide/share-code-between-widgets/#shared-entry)." target="_blank" rel="noreferrer noopener"&gt;https://developers.arcgis.com/experience-builder/guide/share-code-between-widgets/#shared-entry).&lt;/A&gt; I am using the shared entry method. My folder structure is as follows,&lt;BR /&gt;widgets/&lt;BR /&gt;  shared-code/&lt;BR /&gt;    entry1.ts&lt;BR /&gt;    lib/&lt;BR /&gt;      entry1/&lt;BR /&gt;        myCustomButton.tsx&lt;BR /&gt;        translations/&lt;BR /&gt;          default.ts&lt;BR /&gt;          sv.js&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am able to import 'myCustomButton' using "import { sampleFunction } from 'widgets/shared-code/entry1'" as instructed in the guide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, i have two problems.&lt;BR /&gt;1. The translation file 'sv.js' never runs.&lt;BR /&gt;2. The entry file 'entry1.ts' is not generated on build. &lt;/P&gt;&lt;P&gt;Does anyone know how i solve these problems?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 09:56:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/code-sharing/m-p/1456558#M307</guid>
      <dc:creator>majae</dc:creator>
      <dc:date>2024-05-13T09:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Code sharing</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/code-sharing/m-p/1677768#M658</link>
      <description>&lt;P&gt;Hi, I’m experiencing the same problem. Have you solved it?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2026 10:23:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/code-sharing/m-p/1677768#M658</guid>
      <dc:creator>MatejKutik</dc:creator>
      <dc:date>2026-01-14T10:23:53Z</dc:date>
    </item>
  </channel>
</rss>

