<?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: Search Widget: Is it possible to open the search results in Attribute Table? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845396#M10279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to do that by making following changes in widget.js file of search widget&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="383430" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/383430_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now only problem with this approach is, it displays search results in attribute tables after it finishes searching all the layers configured in search widget and it is taking more time (more than 1 minute sometimes) I wanted to check if there is any way to do this sequentially. i.e displaying search results in attribute table layer by layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/mdriscoll_gis"&gt;mdriscoll_gis&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/rscheitlin"&gt;rscheitlin&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Nov 2017 22:09:07 GMT</pubDate>
    <dc:creator>RogerF</dc:creator>
    <dc:date>2017-11-13T22:09:07Z</dc:date>
    <item>
      <title>Search Widget: Is it possible to open the search results in Attribute Table?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845394#M10277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to configure search widget for all layers in map. Right now, it searches for pre-configured layers and pre-configured columns. Is it possible to configure it for&amp;nbsp;all columns of all layers ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also how do I display the search results in attribute table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 15:53:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845394#M10277</guid>
      <dc:creator>RogerF</dc:creator>
      <dc:date>2017-10-18T15:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget: Is it possible to open the search results in Attribute Table?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845395#M10278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I suppose it would be possible, just impractical and would require a bit of coding. To open the results in the AT widget you would have to create a FeatureLayer from the results and open it in the AT widget just like did in your other thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 12:59:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845395#M10278</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-10-19T12:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget: Is it possible to open the search results in Attribute Table?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845396#M10279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to do that by making following changes in widget.js file of search widget&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="383430" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/383430_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now only problem with this approach is, it displays search results in attribute tables after it finishes searching all the layers configured in search widget and it is taking more time (more than 1 minute sometimes) I wanted to check if there is any way to do this sequentially. i.e displaying search results in attribute table layer by layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/mdriscoll_gis"&gt;mdriscoll_gis&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/rscheitlin"&gt;rscheitlin&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 22:09:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845396#M10279</guid>
      <dc:creator>RogerF</dc:creator>
      <dc:date>2017-11-13T22:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget: Is it possible to open the search results in Attribute Table?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845397#M10280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;It is no clear from your code which function are you adding this code to?.. Is it the&amp;nbsp;_onSearchResults,&amp;nbsp;_onSuggestResults or&amp;nbsp;_onSelectSearchResult?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 13:53:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845397#M10280</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-11-14T13:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget: Is it possible to open the search results in Attribute Table?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845398#M10281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in _onSearchResults function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/383540_pastedImage_1.png" style="width: 620px; height: 876px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 15:17:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845398#M10281</guid>
      <dc:creator>RogerF</dc:creator>
      <dc:date>2017-11-14T15:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget: Is it possible to open the search results in Attribute Table?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845399#M10282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You would need to move your code up into the:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; i &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; results&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;for loop then.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 15:36:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845399#M10282</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-11-14T15:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget: Is it possible to open the search results in Attribute Table?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845400#M10283</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;&lt;SPAN style="background-color: #ffffff;"&gt;_onSearchResults&lt;SPAN&gt;&amp;nbsp;function is called after search is finished. 'evt' object has seachresults object and search string.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;I have configured all layers of my webmap in search widget (around 30). It takes around 35-45 seconds to finish search on all the layers and then it returns all results at once in _onSearchResults function. Because of this behavior, user has to wait for that much time.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Instead I wanted to check if there is anyway to get search result one by one and process it.&amp;nbsp;In that way, atleast user can see the progress instead of waiting for all the search results at once.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 16:00:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845400#M10283</guid>
      <dc:creator>RogerF</dc:creator>
      <dc:date>2017-11-14T16:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget: Is it possible to open the search results in Attribute Table?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845401#M10284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Since there is not another event to attach to the fire after each source is searched the answer is no.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 16:06:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845401#M10284</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-11-14T16:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget: Is it possible to open the search results in Attribute Table?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845402#M10285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roger,&lt;/P&gt;&lt;P&gt;I'm running into some issues when trying to get your solution to work.&amp;nbsp; It looks like it crashes when it gets to the following line item:&amp;nbsp;featureSetAndLayerObj.featureSet = new FeatureSet();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 14:51:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/search-widget-is-it-possible-to-open-the-search/m-p/845402#M10285</guid>
      <dc:creator>JaysonLindahl</dc:creator>
      <dc:date>2018-01-24T14:51:04Z</dc:date>
    </item>
  </channel>
</rss>

