<?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 WAB Delete Confirmation in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-delete-confirmation/m-p/864929#M12240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add a confirmation dialog box to appear when a user clicks either the:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;delete button from the feature popup or&lt;/LI&gt;&lt;LI&gt;delete icon from the editor widget&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've had a look at the JS api hoping their might have been an event but haven't made any progress.&lt;/P&gt;&lt;P&gt;Has anyone implemented a confirmation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hamish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2016 01:12:04 GMT</pubDate>
    <dc:creator>HamishKingsbury1</dc:creator>
    <dc:date>2016-02-10T01:12:04Z</dc:date>
    <item>
      <title>WAB Delete Confirmation</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-delete-confirmation/m-p/864929#M12240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add a confirmation dialog box to appear when a user clicks either the:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;delete button from the feature popup or&lt;/LI&gt;&lt;LI&gt;delete icon from the editor widget&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've had a look at the JS api hoping their might have been an event but haven't made any progress.&lt;/P&gt;&lt;P&gt;Has anyone implemented a confirmation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hamish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 01:12:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-delete-confirmation/m-p/864929#M12240</guid>
      <dc:creator>HamishKingsbury1</dc:creator>
      <dc:date>2016-02-10T01:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Delete Confirmation</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-delete-confirmation/m-p/864930#M12241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should be built in functionality. Why is this not built in and why is it so difficult to implement? I can't find the click event to intercept to add my own confirm dialog. Has anybody been successful in doing this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 22:38:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-delete-confirmation/m-p/864930#M12241</guid>
      <dc:creator>NNDCDNNDCD</dc:creator>
      <dc:date>2016-10-04T22:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Delete Confirmation</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-delete-confirmation/m-p/864931#M12242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The issue is that there is not just some event that you can listen for in the JS API so it becomes pretty difficult to listen for a feature delete. Adding a event listener to the popup would not be that difficult but the delete button on the edit toolbar in the edit widget is a whole other situation. If you could just hit the delete key on the keyboard (by accident) then I would see the real need for a confirmation dialog but the fact that a user has to click on the delete button should mean that the user does want to delete the feature and a confirmation would just add a additional nuance step (in my opinion).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 12:47:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wab-delete-confirmation/m-p/864931#M12242</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-10-05T12:47:13Z</dc:date>
    </item>
  </channel>
</rss>

