<?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 how can coordinates widget open a modal dialog in Experience Builder Custom Widgets</title>
    <link>https://community.esri.com/t5/experience-builder-custom-widgets/how-can-coordinates-widget-open-a-modal-dialog/m-p/1386664#M215</link>
    <description>&lt;P&gt;In coordinates widget exb\1.13\client\dist\widgets\arcgis\coordinates\src\runtime\widget.tsx,&lt;BR /&gt;after you click on the leftside "+", each map click will display the point's coordinates.&lt;BR /&gt;The original code&amp;nbsp; is in "if (canShowClient)" in async function&amp;nbsp;onMapClick (line 392).&lt;/P&gt;&lt;P&gt;I need to present a modal dialog (e.g. with something in it, e.g. radio buttons) just before displaying the coordinates, i.e. just after "if (canShowClient)".&lt;/P&gt;&lt;P&gt;From Jeffrey Thompson2 I learned that "esri way" is to import { Modal, ModalBody, ModalHeader } from 'jimu-ui',&lt;BR /&gt;as done in a few other widgets, but I don't yet know how to actually code it in coordinates widget.&lt;/P&gt;&lt;P&gt;Help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;(this is a much more "focused" wording of my previous general&amp;nbsp;&lt;A href="https://community.esri.com/t5/experience-builder-custom-widgets/how-to-show-dialog-box-with-either-radio-buttons/m-p/1378056" target="_blank" rel="noopener"&gt;question&lt;/A&gt;)&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2024 12:00:55 GMT</pubDate>
    <dc:creator>MichaelLev</dc:creator>
    <dc:date>2024-02-26T12:00:55Z</dc:date>
    <item>
      <title>how can coordinates widget open a modal dialog</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/how-can-coordinates-widget-open-a-modal-dialog/m-p/1386664#M215</link>
      <description>&lt;P&gt;In coordinates widget exb\1.13\client\dist\widgets\arcgis\coordinates\src\runtime\widget.tsx,&lt;BR /&gt;after you click on the leftside "+", each map click will display the point's coordinates.&lt;BR /&gt;The original code&amp;nbsp; is in "if (canShowClient)" in async function&amp;nbsp;onMapClick (line 392).&lt;/P&gt;&lt;P&gt;I need to present a modal dialog (e.g. with something in it, e.g. radio buttons) just before displaying the coordinates, i.e. just after "if (canShowClient)".&lt;/P&gt;&lt;P&gt;From Jeffrey Thompson2 I learned that "esri way" is to import { Modal, ModalBody, ModalHeader } from 'jimu-ui',&lt;BR /&gt;as done in a few other widgets, but I don't yet know how to actually code it in coordinates widget.&lt;/P&gt;&lt;P&gt;Help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;(this is a much more "focused" wording of my previous general&amp;nbsp;&lt;A href="https://community.esri.com/t5/experience-builder-custom-widgets/how-to-show-dialog-box-with-either-radio-buttons/m-p/1378056" target="_blank" rel="noopener"&gt;question&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 12:00:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/how-can-coordinates-widget-open-a-modal-dialog/m-p/1386664#M215</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2024-02-26T12:00:55Z</dc:date>
    </item>
  </channel>
</rss>

