<?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: Configure Popup for Search Results in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399491#M10641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;William,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a little confused as to what you are adding the &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;selectedAttrs object by using this code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;var selectedAttrs = {};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;selectedAttrs.push(selectedAttrs[2]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;selectedAttrs.push(selectedAttrs[10]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;selectedAttrs.push(selectedAttrs[13]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;selectedAttrs is an object, yet you are trying to treat it like and Array that has a push function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;You are also trying to push &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;selectedAttrs[2] when &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;selectedAttrs is just and empty object.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Also, how do you format code to look like code?&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the "Use advanced editor"&amp;nbsp; link in the upper right hand corner of a reply (this can not be done from inside the inbox, you have to actually open the thread) and then click the &lt;STRONG&gt;&amp;gt;&amp;gt; &lt;/STRONG&gt;button and choose javascript.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2016 19:15:33 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-05-25T19:15:33Z</dc:date>
    <item>
      <title>Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399482#M10632</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;Using WAB and the default search tool I'm wanting to search some feature layers. I've successfully added the feature layers (three of them) and can search and find specific features. However, what I want to do is configure a custom popup for the returned results (a different template for each of the three). How do I go about doing this? I've searched here and google but haven't come up with anything substantial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, in the below image, I have searched for the area with 'OBJECTID = 1'. The popup that appears shows all the attributes, but I only want the popup to contain (for example) 'TYPE', 'AREA' and 'LENGTH'.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ss+(2016-01-15+at+01.26.36).png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/168929_ss+(2016-01-15+at+01.26.36).png" style="width: 620px; height: 607px;" /&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me out? I feel like it may be something fairly simple with the config....&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>Fri, 15 Jan 2016 00:31:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399482#M10632</guid>
      <dc:creator>HamishKingsbury1</dc:creator>
      <dc:date>2016-01-15T00:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399483#M10633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you add the feature layers to your web map and configure their Popups, and then use those layer in the search configuration the popup should display as configured. &lt;BR /&gt;However to me this seems a bit buggy, sometimes this works and some times it doesn't. It seems like any changes to the map/feature service will require a total reconfiguration of the search widget, and sometime even that doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you configure the search to search a feturelayer that are not included in your webmap you can not configure it's PopUp at all (which annoys me).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's your own feature layer and you don't need the other fields in other cases you could hide the fields you don't want to show in ArcMap and republish your service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 12:29:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399483#M10633</guid>
      <dc:creator>MattiasEkström</dc:creator>
      <dc:date>2016-01-15T12:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399484#M10634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers for that. I've ended up using Roberts Enhanced Search Widget. I've had to omit the popups, but the widget will show the values for the necessary fields. I hope that the ability to configure popups does get added....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hamish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jan 2016 19:42:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399484#M10634</guid>
      <dc:creator>HamishKingsbury1</dc:creator>
      <dc:date>2016-01-17T19:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399485#M10635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I encounter the same issue. The Pop Ups are configured in the Web Map (hiding some attributes etc.). In my Web App built with default AGOL Web AppBuilder (not developer), the popups are fine when you click directly on a feature. But, if you perform a search (with the search widget, configured to search in the feature layers of the web map), then the popup shows all the existing attributes, even the hidden ones.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Mattias Ekström wrote:&lt;BR /&gt;However to me this seems a bit buggy, sometimes this works and some times it doesn't.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&amp;gt; For me it NEVER works...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my App: &lt;A href="http://esri-rw.maps.arcgis.com/apps/webappviewer/index.html?id=e36162dc21fc463b966c24748cfdce52" title="http://esri-rw.maps.arcgis.com/apps/webappviewer/index.html?id=e36162dc21fc463b966c24748cfdce52"&gt;ArcGIS Web Application&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 08:57:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399485#M10635</guid>
      <dc:creator>AnninaHirschi_Wyss1</dc:creator>
      <dc:date>2016-03-16T08:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399486#M10636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is happen is you all as misinterpreting the "&lt;SPAN style="color: #596679; font-family: 'Open Sans', Helvetica, Arial; font-size: 14px;"&gt;Show pop-up for the found feature or location" check box on the Search widgets configuration GUI to mean the web maps configured popup and what the code is doing is just shoeing a popup will all the features fields. You all need to call esri tech support and log an enhancement request for the search widget to use the web maps configured popups instead of this current workflow.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 12:51:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399486#M10636</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-03-16T12:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399487#M10637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The search result pop up does honor the configured popup for a layer in the web map sometimes.&lt;BR /&gt;This is an example from one of my applications, the find parameter does a search and the result popup is my own configuration&lt;BR /&gt;&lt;A href="http://oskarshamn.maps.arcgis.com/apps/webappviewer/index.html?id=614f8cc6eecb4f7d9d0847740054f7b5&amp;amp;find=dingen%202" title="http://oskarshamn.maps.arcgis.com/apps/webappviewer/index.html?id=614f8cc6eecb4f7d9d0847740054f7b5&amp;amp;find=dingen%202"&gt;http://oskarshamn.maps.arcgis.com/apps/webappviewer/index.html?id=614f8cc6eecb4f7d9d0847740054f7b5&amp;amp;find=dingen%202&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;But when it comes to search sources that are not included in the map, it has to be configured in the search widget configuration which is not possible. I've tried logging &lt;SPAN style="color: #596679; font-family: 'Open Sans', Helvetica, Arial; font-size: 14px;"&gt;enhancement requests but ESRI Sweden only refer to ArcGIS Ideas for that.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 13:14:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399487#M10637</guid>
      <dc:creator>MattiasEkström</dc:creator>
      <dc:date>2016-03-16T13:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399488#M10638</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;Would it be possible to code which fields are displayed in the pop-up by creating a separate array from the aliasAttrs array that contains the aliasAttrs indexes of the fields you want to include? (widgets/Search/Widget.js, _formatContent, line 378)&lt;/P&gt;&lt;P&gt;Thanks for any help you can provide.&lt;/P&gt;&lt;P&gt;William&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 18:03:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399488#M10638</guid>
      <dc:creator>WilliamMiller4</dc:creator>
      <dc:date>2016-05-25T18:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399489#M10639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;William,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I would say yes as long as the field is already in the being returned in that list and you are just wanting to control if it is displayed or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 18:52:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399489#M10639</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-25T18:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399490#M10640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried using the following code to create an array with only specific fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var selectedAttrs = {};&lt;BR /&gt;selectedAttrs.push(selectedAttrs[2]);&lt;BR /&gt;selectedAttrs.push(selectedAttrs[10]);&lt;BR /&gt;selectedAttrs.push(selectedAttrs[13]);&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also replaced this (lines 396-403):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for (var p in aliasAttrs) {&lt;BR /&gt;if (aliasAttrs.hasOwnProperty(p)) {&lt;BR /&gt;&amp;nbsp; content += '&amp;lt;tr valign="top"&amp;gt;' +&lt;BR /&gt; '&amp;lt;td class="attrName"&amp;gt;' + p + '&amp;lt;/td&amp;gt;' +&lt;BR /&gt; '&amp;lt;td class="attrValue"&amp;gt;' + aliasAttrs&lt;/P&gt;&lt;P&gt; + '&amp;lt;/td&amp;gt;' +&lt;BR /&gt; '&amp;lt;/tr&amp;gt;';&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for (var p in selectedAttrs) {&lt;BR /&gt;&amp;nbsp; if (selectedAttrs.hasOwnProperty(p)) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; content += '&amp;lt;tr valign="top"&amp;gt;' +&lt;BR /&gt; '&amp;lt;td class="attrName"&amp;gt;' + p + '&amp;lt;/td&amp;gt;' +&lt;BR /&gt; '&amp;lt;td class="attrValue"&amp;gt;' + selectedAttrs&lt;/P&gt;&lt;P&gt; + '&amp;lt;/td&amp;gt;' +&lt;BR /&gt; '&amp;lt;/tr&amp;gt;';&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It did not work. Any thoughts?&lt;/P&gt;&lt;P&gt;Also, how do you format code to look like code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 18:55:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399490#M10640</guid>
      <dc:creator>WilliamMiller4</dc:creator>
      <dc:date>2016-05-25T18:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399491#M10641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;William,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a little confused as to what you are adding the &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;selectedAttrs object by using this code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;var selectedAttrs = {};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;selectedAttrs.push(selectedAttrs[2]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;selectedAttrs.push(selectedAttrs[10]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;selectedAttrs.push(selectedAttrs[13]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;selectedAttrs is an object, yet you are trying to treat it like and Array that has a push function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;You are also trying to push &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;selectedAttrs[2] when &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;selectedAttrs is just and empty object.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Also, how do you format code to look like code?&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the "Use advanced editor"&amp;nbsp; link in the upper right hand corner of a reply (this can not be done from inside the inbox, you have to actually open the thread) and then click the &lt;STRONG&gt;&amp;gt;&amp;gt; &lt;/STRONG&gt;button and choose javascript.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 19:15:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399491#M10641</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-25T19:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399492#M10642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Robert. How do I create a new array? Would this work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; selectedAttrs = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; array(aliasAttrs[2],aliasAttrs[10],aliasAttrs[13],aliasAttrs[14],aliasAttrs[15],aliasAttrs[21],aliasAttrs[24],aliasAttrs[38],aliasAttrs[39]);&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:14:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399492#M10642</guid>
      <dc:creator>WilliamMiller4</dc:creator>
      <dc:date>2021-12-11T18:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399493#M10643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;William,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You don't want a new array. I would say you want something like this:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var aliasAttrs = {},&amp;nbsp; selectedAttrs = {};
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; array.forEach(fLayer.fields, lang.hitch(this, function(field) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (field.name in graphic.attributes){
&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; if(field.name == "your first field name" || field.name == "your second field name"){
&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; selectedAttrs[field.alias || field.name] = graphic.attributes[field.name];
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aliasAttrs[field.alias || field.name] = graphic.attributes[field.name];
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }));&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:14:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399493#M10643</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T18:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399494#M10644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUCCESS!!! Thank you Robert!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 14:05:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399494#M10644</guid>
      <dc:creator>WilliamMiller4</dc:creator>
      <dc:date>2016-05-26T14:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399495#M10645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Robert -- i'm having a similar (the same?) issue in my search.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the app:&amp;nbsp;&lt;A class="link-titled" href="http://vc.charmeck.org/InDevelopment/Beta/" title="http://vc.charmeck.org/InDevelopment/Beta/"&gt;ArcGIS Web Application&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you search for an address (2003 Union St) it will find the address alright, but the side panel pop-up just shows 'show more results' rather than the pop-up that corresponds to that feature. If you select the parcel you'll see the proper pop-up [&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/369435_pastedImage_2.png" style="width: 620px; height: 307px;" /&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to modify the Search widget to always return the parcel that corresponds to the returned result? Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 21:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399495#M10645</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-08-31T21:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399496#M10646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;As mentioned earlier in this thread the search widget does Not open the features configured popup from the web map. To do this you would have to do some customized code to get the search result geometry and them through code fire a click event for the parcel layer to show it's configured popup. If you are wanting help with that code then you will need to start a new thread with that question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 12:47:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399496#M10646</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-09-01T12:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399497#M10647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have my features editable, but for the same reason I cant get the search widget result popup to switch to edit mode. The Edit-option is simply not available as it is when the web map layer popup is shown. Its quite frustrating since i have many point objects ontop on each other, and I want to search for a specific point and edit attributes and location.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:37:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399497#M10647</guid>
      <dc:creator>PeterGranberg</dc:creator>
      <dc:date>2017-09-27T13:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Popup for Search Results</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399498#M10648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The exact same thing is happening to me as per Peter Granberg. I have configured search layer in search window, it DOES show pop up as per setting in map, but the edit function is disabled. This means if I want to edit a feature I have searched for, I search in tool bar, get pop up, have to close that pop up, remember what feature the search return, and re click, to get the pop up with editing capabilities. Very frustrating... any suggestions??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 12:37:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/configure-popup-for-search-results/m-p/399498#M10648</guid>
      <dc:creator>NadineHughes2</dc:creator>
      <dc:date>2017-09-28T12:37:48Z</dc:date>
    </item>
  </channel>
</rss>

