<?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: Accessing files from other widgets in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/accessing-files-from-other-widgets/m-p/1334847#M8559</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your response. I was able to resolve this issue by using the dispatch function and making some modifications to the client files to create reusable code.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2023 08:51:15 GMT</pubDate>
    <dc:creator>JonathanAttard</dc:creator>
    <dc:date>2023-10-04T08:51:15Z</dc:date>
    <item>
      <title>Accessing files from other widgets</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/accessing-files-from-other-widgets/m-p/1329015#M8317</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm currently working on creating a Disclaimer widget. The goal is to make this widget easily reusable, allowing other widgets to toggle it on/off and change its description. Essentially, I want one Disclaimer widget to be linked to multiple other widgets.&lt;/P&gt;&lt;P&gt;To formalize this widget, I plan to export an interface and a `setting.tsx` file. However, I've run into an issue where I can't access the interface and `setting.tsx` file from other widgets.&lt;/P&gt;&lt;P&gt;Is there a way to make these Disclaimer files accessible in a manner similar to how we import libraries like `jimu-ui` or `jimu-core`?&lt;/P&gt;&lt;P&gt;Additionally, I'm curious about how to access the functions for showing or hiding the Disclaimer widget once it's linked.&lt;/P&gt;&lt;P&gt;I'd greatly appreciate any guidance or suggestions on how to achieve this or any other alternatives. Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 10:12:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/accessing-files-from-other-widgets/m-p/1329015#M8317</guid>
      <dc:creator>JonathanAttard</dc:creator>
      <dc:date>2023-09-15T10:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing files from other widgets</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/accessing-files-from-other-widgets/m-p/1329057#M8322</link>
      <description>&lt;P&gt;If I understand your goals correctly, you want to trigger something like a modal to appear whenever certain widgets do certain things. I would set up my Disclaimer widget to be triggered by a message action in the widget that triggers it. This would require adding a line of code to the triggering widget similar to this:&amp;nbsp;MutableStoreManager.getInstance().updateStateValue('idOfDisclamerWidget', 'messageName', message) So, that may not meet your reusability requirement, but the Disclaimer widget could be triggered to do multiple things based on the message received.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 13:35:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/accessing-files-from-other-widgets/m-p/1329057#M8322</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2023-09-15T13:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing files from other widgets</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/accessing-files-from-other-widgets/m-p/1334847#M8559</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your response. I was able to resolve this issue by using the dispatch function and making some modifications to the client files to create reusable code.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 08:51:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/accessing-files-from-other-widgets/m-p/1334847#M8559</guid>
      <dc:creator>JonathanAttard</dc:creator>
      <dc:date>2023-10-04T08:51:15Z</dc:date>
    </item>
  </channel>
</rss>

