<?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: Change color of results fields in Enhanced Search Widget in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835736#M8745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has been working great, but I am moving to 2.3 and it doesn't seem to work.&lt;/P&gt;&lt;P&gt;I have it working at &lt;A class="link-titled" href="http://cusdmaps2012.cusd.com/Map/" title="http://cusdmaps2012.cusd.com/Map/"&gt;ArcGIS Web Application&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But on my test site, I can't seem to get the labels to change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Mar 2017 02:55:02 GMT</pubDate>
    <dc:creator>SteveAdams</dc:creator>
    <dc:date>2017-03-10T02:55:02Z</dc:date>
    <item>
      <title>Change color of results fields in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835728#M8737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Making good progress on my Web App builder project...but still learning.&lt;/P&gt;&lt;P&gt;The enhanced search widget is really great, I appreciate the work on putting it together.&lt;/P&gt;&lt;P&gt;Is there a way or place I can change the color of the results field data that is returned?&lt;/P&gt;&lt;P&gt;The field label and the results are the same color.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 17:26:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835728#M8737</guid>
      <dc:creator>SteveAdams</dc:creator>
      <dc:date>2015-10-29T17:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Change color of results fields in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835729#M8738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Are you saying that you want to change the color of the text attribute name label to something different the the attribute value text? If so you would need to look at how the result list is created in the widgets List.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Example.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/134110_Example.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 18:35:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835729#M8738</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-10-29T18:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Change color of results fields in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835730#M8739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that is correct, for example I am searching an address to bring back the school they would attend based on that address, so the results that popup after searching would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;School:&amp;nbsp; Washington Elementary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The label "School:" and the value it returns Washington Elementary are all the same color, and kind of blend together.&amp;nbsp; I was thinking of changing the Washington Elementary to a different color or bolding it or something to offset it from the label.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 18:48:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835730#M8739</guid>
      <dc:creator>SteveAdams</dc:creator>
      <dc:date>2015-10-29T18:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Change color of results fields in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835731#M8740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; OK, since the Italics is not enough difference for you then you can just ass a line of code to the List.js and some css to the style.css for this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;css:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;.search-list-item .attTitle {
&amp;nbsp; color:blue;
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List.js (add line 10):&lt;/P&gt;&lt;P&gt;&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; if(item.rsltcontent !== ""){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var attArr = item.rsltcontent.split('&amp;lt;br&amp;gt;');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var attValArr;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var label;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var attTitle;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var arrayLength = attArr.length;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var i = 0; i &amp;lt; arrayLength; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attValArr = attArr&lt;I&gt;.split('&amp;lt;/em&amp;gt;: ');&lt;/I&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attTitle = domConstruct.create("em");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; domClass.add(attTitle, "attTitle");&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:08:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835731#M8740</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T10:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change color of results fields in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835732#M8741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very nice!&amp;nbsp; Thanks Robert! Worked perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 19:29:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835732#M8741</guid>
      <dc:creator>SteveAdams</dc:creator>
      <dc:date>2015-10-29T19:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Change color of results fields in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835733#M8742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is very helpful Robert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tweak formats the attributes in the widget's result area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to replicate similar modification to the results in the pop-up window as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="145098" class="image-1 jive-image" height="237" src="https://community.esri.com/legacyfs/online/145098_pastedImage_1.png" style="width: 425px; height: 237.274px;" width="425" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 22:11:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835733#M8742</guid>
      <dc:creator>AmitKokje2</dc:creator>
      <dc:date>2015-11-18T22:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Change color of results fields in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835734#M8743</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;Based on your response to Steve Adams, I managed to configure attributes in&amp;nbsp; the results window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is only one attribute to display as in this case, Tweaking of list.js works very well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if there are number of fields to display as resultant attributes, by default the configuration picks up last field / attribute (for example shape.length / area in most of the cases).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there way to configure the display attribute to a specific field?&amp;nbsp; (Asset ID or Asset name for example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus the result list will only display selected feature with one Attribute while popup will display full attributes, avoiding unnecessary duplications attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 01:58:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835734#M8743</guid>
      <dc:creator>AmitKokje2</dc:creator>
      <dc:date>2015-11-23T01:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Change color of results fields in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835735#M8744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I am not sure I understand. The code provided work for more than one attribute. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a popup only setting for each field you configure. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 03:03:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835735#M8744</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-11-23T03:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Change color of results fields in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835736#M8745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has been working great, but I am moving to 2.3 and it doesn't seem to work.&lt;/P&gt;&lt;P&gt;I have it working at &lt;A class="link-titled" href="http://cusdmaps2012.cusd.com/Map/" title="http://cusdmaps2012.cusd.com/Map/"&gt;ArcGIS Web Application&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But on my test site, I can't seem to get the labels to change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 02:55:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835736#M8745</guid>
      <dc:creator>SteveAdams</dc:creator>
      <dc:date>2017-03-10T02:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Change color of results fields in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835737#M8746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Result formatting was not part of the&amp;nbsp;1.3.0.2 version of the eSearch at your working app is running so you must have made some code edits to get that. In the 2.3 version of eSearch this is configurable using the widgets settings UI. Have you set the result formatting using the widgets settings UI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 04:52:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-color-of-results-fields-in-enhanced-search/m-p/835737#M8746</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-03-10T04:52:24Z</dc:date>
    </item>
  </channel>
</rss>

