<?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: Popup template - conditional field formatting JS 4.14 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-template-conditional-field-formatting-js-4/m-p/372111#M34517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Undral!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a table should not be a problem after your hint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2020 20:25:06 GMT</pubDate>
    <dc:creator>KarstenRank2</dc:creator>
    <dc:date>2020-01-14T20:25:06Z</dc:date>
    <item>
      <title>Popup template - conditional field formatting JS 4.14</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-template-conditional-field-formatting-js-4/m-p/372109#M34515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I found this question&amp;nbsp;&lt;A href="https://community.esri.com/thread/245738" target="_blank"&gt;Popup template - conditional title formatting JS 4.14&lt;/A&gt;&amp;nbsp;here in the Community.&lt;/P&gt;&lt;P&gt;Is it also possible to change the color of the field section of the popup template?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;{
 type: "fields",
   fieldInfos: [{
   fieldName: "count",
   label: "name",
   format: {
    digitSeparator: true,
    places: 0
   }
}‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The text of the fieldName "count" should get red if it is &amp;lt; 0 or green if &amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karsten&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:13:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-template-conditional-field-formatting-js-4/m-p/372109#M34515</guid>
      <dc:creator>KarstenRank2</dc:creator>
      <dc:date>2021-12-11T17:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Popup template - conditional field formatting JS 4.14</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-template-conditional-field-formatting-js-4/m-p/372110#M34516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=popuptemplate-function"&gt;This sample&lt;/A&gt; should show how it can be done.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 18:51:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-template-conditional-field-formatting-js-4/m-p/372110#M34516</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2020-01-14T18:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Popup template - conditional field formatting JS 4.14</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-template-conditional-field-formatting-js-4/m-p/372111#M34517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Undral!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a table should not be a problem after your hint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 20:25:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-template-conditional-field-formatting-js-4/m-p/372111#M34517</guid>
      <dc:creator>KarstenRank2</dc:creator>
      <dc:date>2020-01-14T20:25:06Z</dc:date>
    </item>
  </channel>
</rss>

