<?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: open custom-widget by mouse left/right click on a feature in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843424#M9617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;How to redirect the left click to not open the regular popup&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I thought that was pretty clear from my previous reply. The link I provided shows how to prevent the standard popup from appearing.&lt;/P&gt;&lt;P&gt;As far as making your popup show instead you just simply add a view click listener.&lt;/P&gt;&lt;P&gt;Setting it back to the default popup is as simple as undoing what you did to prevent it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Oct 2020 13:15:09 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2020-10-21T13:15:09Z</dc:date>
    <item>
      <title>open custom-widget by mouse left/right click on a feature</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843416#M9609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I use Web AppBuilder (Develper Edtion) 2.17, Launchpad Theme, on&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;3D&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;Scenes (ArcGIS API for javascript&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;4.16&lt;/STRONG&gt;&lt;/SPAN&gt;).&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Regularly mouse left click on a feaature opens feature default popup.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I don't want to change this, but how can I enable/disable an option that left click (or right click) on a feature will open my custom widget on that feature e.g. if I want to supply the user with query options on that feature?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2020 18:21:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843416#M9609</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2020-10-03T18:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: open custom-widget by mouse left click on scene</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843417#M9610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Dear&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-objectid="3101" data-objecttype="3" href="https://community.esri.com/people/rscheitlin" style="color: #287433; background-color: transparent; border: 0px; font-weight: inherit; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;Robert Scheitlin, GISP&lt;/A&gt;, no one has referred frm 3 Oct... Can you help, please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Oct 2020 08:57:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843417#M9610</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2020-10-18T08:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: open custom-widget by mouse left click on scene</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843418#M9611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#popup" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#popup"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#popup&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WAB 3D uses JS API 4.x so you just need to search the JS API space to find your answers sometimes.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/223665-webscene-how-to-prevent-the-identify-on-click-on-the-scene"&gt;https://community.esri.com/thread/223665-webscene-how-to-prevent-the-identify-on-click-on-the-scene&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2020 12:33:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843418#M9611</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-10-19T12:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: open custom-widget by mouse left/right click on a feature</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843419#M9612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I don't want to block or replace the default popup... I want that left-click on feature will still open the default popup, but that right-click on feature will open my custom-widget (or custom-popup) on that feature.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 06:48:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843419#M9612</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2020-10-20T06:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: open custom-widget by mouse left/right click on a feature</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843420#M9613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You are going to find very little info on adding a right click event to WAB as it is a very poor workflow choice. There is no right click on mobile, Apple is not a big supporter of right click, actually Windows is the main platform that uses right click. The few threads I have seen about adding right click to WAB normally they change their mind for a alternate workflow. But if that is your choice then the answer is just add a&amp;nbsp; view click listener and check the button property of the event.&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-click" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-click"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-click&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 12:17:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843420#M9613</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-10-20T12:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: open custom-widget by mouse left/right click on a feature</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843421#M9614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, Robert, for this very&amp;nbsp; important insight!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have to use the left click, and have to be able to "choose" by some button, which popup will be opened, the default popup, or my special popup (or custom-widget).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I program this "switch" which will be opened by the left click?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 19:26:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843421#M9614</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2020-10-20T19:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: open custom-widget by mouse left/right click on a feature</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843422#M9615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is completely up to you as the developer. Maybe a button in a widget or something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 19:32:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843422#M9615</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-10-20T19:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: open custom-widget by mouse left/right click on a feature</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843423#M9616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll make it clear what I ask: How to redirect the left click to not open the regular popup but my custom widget (and how to set it back to the regular popup, after I opened the custom widget)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2020 06:42:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843423#M9616</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2020-10-21T06:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: open custom-widget by mouse left/right click on a feature</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843424#M9617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;How to redirect the left click to not open the regular popup&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I thought that was pretty clear from my previous reply. The link I provided shows how to prevent the standard popup from appearing.&lt;/P&gt;&lt;P&gt;As far as making your popup show instead you just simply add a view click listener.&lt;/P&gt;&lt;P&gt;Setting it back to the default popup is as simple as undoing what you did to prevent it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2020 13:15:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-custom-widget-by-mouse-left-right-click-on-a/m-p/843424#M9617</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-10-21T13:15:09Z</dc:date>
    </item>
  </channel>
</rss>

