<?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: headercontroller search results options in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/headercontroller-search-results-options/m-p/36060#M1800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rhett,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have done some testing and I can see exactly what you are saying. I even tried to have some very generic result configuration like:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14055636724707374 jive_text_macro" jivemacro_uid="_14055636724707374" modifiedtitle="true"&gt;
&lt;P&gt;&amp;lt;result&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Search result for {Post_Stat}{P_Hyper}{Road_Name}{Local_ID}{Bin}:&amp;lt;/title&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;description&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;![CDATA[Some data for {Local_ID}{Bin}{Post_Stat}{P_Hyper}{Road_Name}]]&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/description&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/result&amp;gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing I can say is to put in an enhancement request, but as 3.7 or 3.8 is probably the last versions to come out and they are mainly focused on bug fixes, it is pretty unlikely to happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2014 02:24:18 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2014-07-17T02:24:18Z</dc:date>
    <item>
      <title>headercontroller search results options</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/headercontroller-search-results-options/m-p/36059#M1799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again, from the documentation:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;&lt;SPAN class="uicontrol"&gt;&amp;lt;result&amp;gt;&lt;/SPAN&gt;The container used to configure the search result's pop-up, [added at 3.5.] It has the following child tags:&lt;/P&gt;

&lt;/PRE&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;


&lt;DL&gt;&lt;DT&gt;&lt;SPAN class="uicontrol"&gt;&amp;lt;title&amp;gt;&lt;/SPAN&gt;&lt;/DT&gt;&lt;DD&gt;Text title displayed in the resulting pop-up.&lt;/DD&gt;&lt;/DL&gt;&lt;DL&gt;&lt;DT&gt;&lt;SPAN class="uicontrol"&gt;&amp;lt;description&amp;gt;&lt;/SPAN&gt;&lt;/DT&gt;&lt;DD&gt;Text description displayed in the resulting popup.&lt;P&gt;You can configure the &amp;lt;title&amp;gt; and &amp;lt;description&amp;gt; using custom description functionality that allows you to display pop-up content using a custom sentence or paragrah structure and supports field substitution using a &lt;EM&gt;{FIELD}&lt;/EM&gt; style syntax.&lt;/P&gt;&lt;/DD&gt;&lt;/DL&gt;&lt;DL&gt;&lt;DT&gt;&lt;/DT&gt;&lt;DT&gt;&lt;/DT&gt;&lt;/DL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems like a nice option, however, it appears as if it is a child of the &amp;lt;geocoder&amp;gt; tag.&amp;nbsp; Seems like it should be a child of the &amp;lt;mapservice&amp;gt; tag, especially since it allows the description type custom popup info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doesn't make sense to me to have this under the &amp;lt;geocoder&amp;gt; tag unless ALL your locator/mapservices have the same attributes, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example in the documentation &lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Header_Controller_widget_tags/01m30000000n000000/GUID-6DDAACFF-7AE6-42D0-B678-5C03AF407322/" title="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Header_Controller_widget_tags/01m30000000n000000/GUID-6DDAACFF-7AE6-42D0-B678-5C03AF407322/"&gt;ArcGIS Viewer for Flex&lt;/A&gt;‌ is for a live traffic feed.&amp;nbsp; However, if I try to use something similar, but also want to use mapservices, OR, just mapservices but more than one, it will show a popup "template" but will not populate it unless they all have the same attribute names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if I search my sewer manholes and have it set as such:&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14055528456411820 jive_text_macro" jivemacro_uid="_14055528456411820"&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;result&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Search result for {FacilityID}:&amp;lt;/title&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;description&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;![CDATA[Popup for {FacilityID}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img src="{URL}" width="130" height="100" &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hspace="0" vspace="0"/&amp;gt;]]&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/description&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/result&amp;gt;&lt;/P&gt;






&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then search for a sewer manhole, I get:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="2228" alt="pop1.JPG" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/2228_pop1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;If I then enter a street name in the same search box, I get:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="2229" alt="pop2.JPG" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/2229_pop2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Since there is not a FacilityID field in the streets layer the variables aren't substituted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I just using this wrong, or is it pretty much only useable with only one geocoder and/or all searched services have the same schema (or at least fields)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 23:39:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/headercontroller-search-results-options/m-p/36059#M1799</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2014-07-16T23:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: headercontroller search results options</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/headercontroller-search-results-options/m-p/36060#M1800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rhett,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have done some testing and I can see exactly what you are saying. I even tried to have some very generic result configuration like:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14055636724707374 jive_text_macro" jivemacro_uid="_14055636724707374" modifiedtitle="true"&gt;
&lt;P&gt;&amp;lt;result&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Search result for {Post_Stat}{P_Hyper}{Road_Name}{Local_ID}{Bin}:&amp;lt;/title&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;description&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;![CDATA[Some data for {Local_ID}{Bin}{Post_Stat}{P_Hyper}{Road_Name}]]&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/description&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/result&amp;gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing I can say is to put in an enhancement request, but as 3.7 or 3.8 is probably the last versions to come out and they are mainly focused on bug fixes, it is pretty unlikely to happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 02:24:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/headercontroller-search-results-options/m-p/36060#M1800</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-07-17T02:24:18Z</dc:date>
    </item>
  </channel>
</rss>

