<?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: eSearch - By Shape option Activated on open in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732896#M377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; What I did and tested just fine was add that one line to the Widget.js _initDrawBox function at the end of that function block.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Feb 2016 01:27:19 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-02-29T01:27:19Z</dc:date>
    <item>
      <title>eSearch - By Shape option Activated on open</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732893#M374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;This might be a silly question, but how do you Activate the point selector in the BY SHAPE search option on startup. I cant see where to choose this option anywhere. See images below. Currently when this option is activated the point search is inactive until you click it. I would like it to be already activated when the user selects the BY SHAPE option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; current on startup.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; preferred startup.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/187882_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/187886_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Rod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 02:52:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732893#M374</guid>
      <dc:creator>RodWoodfordOld</dc:creator>
      <dc:date>2016-02-26T02:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: eSearch - By Shape option Activated on open</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732894#M375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sure you can just add this line of code to the end of the _initDrawBox function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14565133360631311 jive_text_macro" data-renderedposition="112_8_872_16" jivemacro_uid="_14565133360631311"&gt;&lt;P&gt;this.drawBox.activate("POINT");&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 19:02:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732894#M375</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-26T19:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: eSearch - By Shape option Activated on open</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732895#M376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the info, I added the code to the widget.js file with no success. Have I changed the wrong file and if so which one should I change?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 01:15:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732895#M376</guid>
      <dc:creator>RodWoodfordOld</dc:creator>
      <dc:date>2016-02-29T01:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: eSearch - By Shape option Activated on open</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732896#M377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; What I did and tested just fine was add that one line to the Widget.js _initDrawBox function at the end of that function block.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 01:27:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732896#M377</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-29T01:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: eSearch - By Shape option Activated on open</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732897#M378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I'll try again and let you know the outcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 01:43:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732897#M378</guid>
      <dc:creator>RodWoodfordOld</dc:creator>
      <dc:date>2016-02-29T01:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: eSearch - By Shape option Activated on open</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732898#M379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got it to work using single quotes around the point entity, eg ('POINT') instead of double quotes. Does this make sense!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 02:11:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732898#M379</guid>
      <dc:creator>RodWoodfordOld</dc:creator>
      <dc:date>2016-02-29T02:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: eSearch - By Shape option Activated on open</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732899#M380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Nope not at all...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 02:51:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732899#M380</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-29T02:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: eSearch - By Shape option Activated on open</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732900#M381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyway its working, so I'll mark it as answered.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 03:20:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732900#M381</guid>
      <dc:creator>RodWoodfordOld</dc:creator>
      <dc:date>2016-02-29T03:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: eSearch - By Shape option Activated on open</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732901#M382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;Just noticed an odd behaviour, when running an app with this code change set, its fine on start-up but when you open another widget, say the legend for example and then go back to the eSearch BY SHAPE option the point function is not activated. So it appears to only work on start-up. Can this be resolved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 10:09:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732901#M382</guid>
      <dc:creator>RodWoodfordOld</dc:creator>
      <dc:date>2016-02-29T10:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: eSearch - By Shape option Activated on open</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732902#M383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; It is likely to do with the onClose event in the Widget.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;onClose: function () {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; this.drawBox.deactivate();&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 13:42:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/esearch-by-shape-option-activated-on-open/m-p/732902#M383</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-29T13:42:30Z</dc:date>
    </item>
  </channel>
</rss>

