<?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: Custom eSearch Graphic Tool Not Resetting in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-esearch-graphic-tool-not-resetting/m-p/857126#M11467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct I meant print widget not eSearch.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Apr 2017 12:15:29 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-04-21T12:15:29Z</dc:date>
    <item>
      <title>Custom eSearch Graphic Tool Not Resetting</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-esearch-graphic-tool-not-resetting/m-p/857121#M11462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used Robert's Enhanced Search widget to create a custom widget that sends data to the Print widget if a feature is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are cases where the user would like to use the graphical search tab to draw a box around a point, which is fine. &amp;nbsp;The graphic works fine by itself if you use it back to back, but the problem occurs after you use the Print function. &amp;nbsp;After you Print, you cannot go back into the graphical search bar and re-select a shape, which means the user has to refresh the page and then re-select another point, print, refresh page, select, print, etc. (very cumbersome!). &amp;nbsp;Is there a part of the code that I am missing that is not releasing that data or not re-engaging the eSearch to function after the data has been sent?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a relative JavaScript novice so any snippets of code or such would be truly helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 18:58:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-esearch-graphic-tool-not-resetting/m-p/857121#M11462</guid>
      <dc:creator>deleted-user-FTxtuSQd67Ur</dc:creator>
      <dc:date>2017-04-19T18:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom eSearch Graphic Tool Not Resetting</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-esearch-graphic-tool-not-resetting/m-p/857122#M11463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you duplicate this in the original eSearch widget?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 19:16:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-esearch-graphic-tool-not-resetting/m-p/857122#M11463</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-04-19T19:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom eSearch Graphic Tool Not Resetting</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-esearch-graphic-tool-not-resetting/m-p/857123#M11464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not been able to get it to work in the older eSearch versions as well as this updated one. &amp;nbsp;If it helps, here is the URL to the app we are using it for.&amp;nbsp;&lt;A class="link-titled" href="http://summitmaps.summitoh.net/AddressRequestManager/" title="http://summitmaps.summitoh.net/AddressRequestManager/"&gt;ArcGIS Web Application&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use the search to draw a box around a point, then print out and address change letter, and then when you go back to the eSearch to draw another box it does not function properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is using the older eSearch/Print widgets but again the problem persists in the new web app I have created to update this one, I have just not put it in production yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 12:20:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-esearch-graphic-tool-not-resetting/m-p/857123#M11464</guid>
      <dc:creator>deleted-user-FTxtuSQd67Ur</dc:creator>
      <dc:date>2017-04-20T12:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom eSearch Graphic Tool Not Resetting</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-esearch-graphic-tool-not-resetting/m-p/857124#M11465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carissa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Your error stems from some of your customization of the eSearch widget.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;//Begin GIS Customization&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; onReceiveData&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;name&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; source&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; params&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;historyData&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;letterArray&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;push&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Parcel_ID"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;params&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parcel&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parcel_id&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Line 4 is what errors when you try to re-select a draw tool after printing. You need to check for params.parcel (since it is null in this case) before you try and get a property of params.parcel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:36:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-esearch-graphic-tool-not-resetting/m-p/857124#M11465</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T10:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Custom eSearch Graphic Tool Not Resetting</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-esearch-graphic-tool-not-resetting/m-p/857125#M11466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code you have above is in the Print widget (widget.js), so I need to make corrections there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 12:02:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-esearch-graphic-tool-not-resetting/m-p/857125#M11466</guid>
      <dc:creator>deleted-user-FTxtuSQd67Ur</dc:creator>
      <dc:date>2017-04-21T12:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custom eSearch Graphic Tool Not Resetting</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-esearch-graphic-tool-not-resetting/m-p/857126#M11467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct I meant print widget not eSearch.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 12:15:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-esearch-graphic-tool-not-resetting/m-p/857126#M11467</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-04-21T12:15:29Z</dc:date>
    </item>
  </channel>
</rss>

