<?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 Using components from shared-code in widget setting in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/using-components-from-shared-code-in-widget/m-p/1611927#M18796</link>
    <description>&lt;P&gt;Hello everyone, I'm trying to import a component declared in the shared-code folder to my widget setting file but i always end up with this error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Load module error. &lt;SPAN class=""&gt;&lt;SPAN&gt;TypeError: window.require is not a function&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My question is : is it already possible to consume components from the shared-code folder in the setting file of a widget ? if so how can I achieve that ?&lt;/P&gt;&lt;P&gt;I am using ExB 1.17&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 May 2025 12:39:08 GMT</pubDate>
    <dc:creator>WalaZargouni</dc:creator>
    <dc:date>2025-05-06T12:39:08Z</dc:date>
    <item>
      <title>Using components from shared-code in widget setting</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/using-components-from-shared-code-in-widget/m-p/1611927#M18796</link>
      <description>&lt;P&gt;Hello everyone, I'm trying to import a component declared in the shared-code folder to my widget setting file but i always end up with this error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Load module error. &lt;SPAN class=""&gt;&lt;SPAN&gt;TypeError: window.require is not a function&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My question is : is it already possible to consume components from the shared-code folder in the setting file of a widget ? if so how can I achieve that ?&lt;/P&gt;&lt;P&gt;I am using ExB 1.17&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 12:39:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/using-components-from-shared-code-in-widget/m-p/1611927#M18796</guid>
      <dc:creator>WalaZargouni</dc:creator>
      <dc:date>2025-05-06T12:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using components from shared-code in widget setting</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/using-components-from-shared-code-in-widget/m-p/1612665#M18841</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/779545"&gt;@WalaZargouni&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can you check if you are using import and export correctly?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShengdiZhang_1-1746669800526.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/131739iBE1E0190CB11D2AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShengdiZhang_1-1746669800526.jpeg" alt="ShengdiZhang_1-1746669800526.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShengdiZhang_0-1746669792440.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/131738i72A9EEDD95C4EAC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShengdiZhang_0-1746669792440.png" alt="ShengdiZhang_0-1746669792440.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shengdi&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 02:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/using-components-from-shared-code-in-widget/m-p/1612665#M18841</guid>
      <dc:creator>ShengdiZhang</dc:creator>
      <dc:date>2025-05-08T02:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using components from shared-code in widget setting</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/using-components-from-shared-code-in-widget/m-p/1612684#M18844</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/54255"&gt;@ShengdiZhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes i'm doing the import and export just like that and it works fine when i use the exported components in other places other than setting.tsx&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 06:22:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/using-components-from-shared-code-in-widget/m-p/1612684#M18844</guid>
      <dc:creator>WalaZargouni</dc:creator>
      <dc:date>2025-05-08T06:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using components from shared-code in widget setting</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/using-components-from-shared-code-in-widget/m-p/1613096#M18870</link>
      <description>&lt;P&gt;Can you add the &lt;SPAN&gt;&lt;STRONG&gt;settingDependency: "jimu-arcgis"&lt;/STRONG&gt; in the menifest.json?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 03:03:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/using-components-from-shared-code-in-widget/m-p/1613096#M18870</guid>
      <dc:creator>JunshanLiu</dc:creator>
      <dc:date>2025-05-09T03:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using components from shared-code in widget setting</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/using-components-from-shared-code-in-widget/m-p/1613148#M18874</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/109676"&gt;@JunshanLiu&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I did that and it solved my problem, thank you&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 07:26:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/using-components-from-shared-code-in-widget/m-p/1613148#M18874</guid>
      <dc:creator>WalaZargouni</dc:creator>
      <dc:date>2025-05-09T07:26:44Z</dc:date>
    </item>
  </channel>
</rss>

