<?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 AGOL Style Expression Based on 2 Attributes? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/agol-style-expression-based-on-2-attributes/m-p/516324#M26056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Can anyone help me build a expression for stylizing a feature based on 2 attributes. I have a yes / no attribute and a color attribute. If my yes / no attribute = no then I would like to color the symbol based on the color attribute. If my yes / no attribute = yes then I would like to enlarge the size and color the feature black.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;BR /&gt; { value: "yes", color: "#00C5FF", size: 15},&lt;BR /&gt; { value: "no", color: "#BEE8FF", size: 8 }&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt; ]&lt;BR /&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;I'm assuming somewhere after value: "no" I would enter in the other attribute name and values along with size and color I would like set.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2018 23:01:16 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-07-02T23:01:16Z</dc:date>
    <item>
      <title>AGOL Style Expression Based on 2 Attributes?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-style-expression-based-on-2-attributes/m-p/516324#M26056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Can anyone help me build a expression for stylizing a feature based on 2 attributes. I have a yes / no attribute and a color attribute. If my yes / no attribute = no then I would like to color the symbol based on the color attribute. If my yes / no attribute = yes then I would like to enlarge the size and color the feature black.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;BR /&gt; { value: "yes", color: "#00C5FF", size: 15},&lt;BR /&gt; { value: "no", color: "#BEE8FF", size: 8 }&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt; ]&lt;BR /&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;I'm assuming somewhere after value: "no" I would enter in the other attribute name and values along with size and color I would like set.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 23:01:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-style-expression-based-on-2-attributes/m-p/516324#M26056</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-07-02T23:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL Style Expression Based on 2 Attributes?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-style-expression-based-on-2-attributes/m-p/516325#M26057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;You will need to create an expression and then set the symbol size and colour based on the expression result.&lt;/P&gt;&lt;P&gt;Below are some blogs that provide some similar examples&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.arcgis.com/apps/Cascade/index.html?appid=3271f9b87c394c07b4a871257a5dc46b" title="https://www.arcgis.com/apps/Cascade/index.html?appid=3271f9b87c394c07b4a871257a5dc46b"&gt;https://www.arcgis.com/apps/Cascade/index.html?appid=3271f9b87c394c07b4a871257a5dc46b&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/combining-arcade-and-html-for-a-real-life-pop-up-display/" title="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/combining-arcade-and-html-for-a-real-life-pop-up-display/"&gt;Combining Arcade and HTML for a Real-life Pop-up Display&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/use-arcade-expressions-to-map-your-ideas/" title="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/use-arcade-expressions-to-map-your-ideas/"&gt;https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/use-arcade-expressions-to-map-your-ideas/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2017/07/18/conditional-field-display-with-arcade-in-pop-ups"&gt;https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2017/07/18/conditional-field-display-with-arcade-in-pop-ups&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2018 16:27:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-style-expression-based-on-2-attributes/m-p/516325#M26057</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2018-07-03T16:27:33Z</dc:date>
    </item>
  </channel>
</rss>

