<?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: Set transparency from Attribute Values on a layer without numerical values in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/set-transparency-from-attribute-values-on-a-layer/m-p/89658#M4309</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/70699"&gt;Raúl Jiménez Ortega&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen this behavior also. Not only in ArcGIS Online, but also in ArcGIS Pro. For instance if you want to apply a graduate symbol you need to have a numerical field in your schema even though you would be able to use Arcade to deduce a numerical field from a text or date field. It is a limitation and I see some room for enhancement here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CC &lt;A href="https://community.esri.com/migrated-users/45316"&gt;Kory Kramer&lt;/A&gt;‌; can you confirm this behavior in ArcGIS Pro?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 May 2020 18:43:12 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2020-05-22T18:43:12Z</dc:date>
    <item>
      <title>Set transparency from Attribute Values on a layer without numerical values</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/set-transparency-from-attribute-values-on-a-layer/m-p/89657#M4308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have noticed a strange behaviour, not 100% sure if it is a "bug" so decided to ask here first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using &lt;A href="https://comunidadcovid.maps.arcgis.com/home/webmap/viewer.html?useExisting=1&amp;amp;layers=c336b6f693b441abb9f7bfdae6a6b2e8"&gt;this&amp;nbsp;layer&lt;/A&gt;&amp;nbsp;I'm trying to set transparency based on an attribute value.&amp;nbsp;I have chosen to define the style based on an String value called "Tipus d'establiments" and using "Unique symbols":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/492980_Screenshot 2020-05-21 at 09.10.20.png" /&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;But then, I can not set the transparency based on another attribute:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-centered j-img-original" src="/legacyfs/online/492981_Screenshot 2020-05-21 at 09.11.05.png" style="display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I guess it is because &lt;A href="https://comunidadcovid.maps.arcgis.com/home/item.html?id=c336b6f693b441abb9f7bfdae6a6b2e8&amp;amp;view=list#data"&gt;I don't have any numerical attribute on that layer&lt;/A&gt;, but I was expecting to be able to use an Arcade expression to define that numerical value, isn't that possible?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried a &lt;A href="https://comunidadcovid.maps.arcgis.com/home/webmap/viewer.html?useExisting=1&amp;amp;layers=f23992f4d6e64faaa5631c3fad71f207"&gt;different layer&lt;/A&gt;&amp;nbsp;using in this case a different field (but also a String field)&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;IMG alt="" class="image-3 jive-emoji jive-image" height="367" src="/legacyfs/online/492982_Screenshot 2020-05-21 at 09.14.30.png" width="301" /&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;And this time I have noticed that I can set the transparency based on another value:&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;IMG alt="" class="jive-emoji image-4 jive-image" height="489" src="/legacyfs/online/492983_Screenshot 2020-05-21 at 09.15.49.png" width="278" /&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;When I have clicked that option this&amp;nbsp;modal&amp;nbsp;shows up:&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;IMG alt="" class="jive-emoji image-5 jive-image" height="241" src="/legacyfs/online/492984_Screenshot 2020-05-21 at 09.16.25.png" width="414" /&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;In this case, this layer has "Número de componentes" which is an Integer value, and I guess that's the condition the web interface is checking in order to show the "Set from Attribute Value" or not.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Maybe I'm wrong, but if that's the case... should we always display the&amp;nbsp;&lt;SPAN&gt;"Set from Attribute Value" considering that it is always possible to create an Arcade Expression that return a numerical value? In our case we what to check the timetable of a local business and use transparency to show which of those businesses are open at the moment to open the app.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN&gt;I guess we can do a quick fix adding a numerical value (even if we don't use it), but I just wanted to be sure about what's going on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN&gt;Raul&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN&gt;P.S: cc: &lt;A href="https://community.esri.com/migrated-users/3063"&gt;Kelly Gerrow&lt;/A&gt;‌, &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2020 07:27:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/set-transparency-from-attribute-values-on-a-layer/m-p/89657#M4308</guid>
      <dc:creator>Raul_Jimenez</dc:creator>
      <dc:date>2020-05-21T07:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set transparency from Attribute Values on a layer without numerical values</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/set-transparency-from-attribute-values-on-a-layer/m-p/89658#M4309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/70699"&gt;Raúl Jiménez Ortega&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen this behavior also. Not only in ArcGIS Online, but also in ArcGIS Pro. For instance if you want to apply a graduate symbol you need to have a numerical field in your schema even though you would be able to use Arcade to deduce a numerical field from a text or date field. It is a limitation and I see some room for enhancement here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CC &lt;A href="https://community.esri.com/migrated-users/45316"&gt;Kory Kramer&lt;/A&gt;‌; can you confirm this behavior in ArcGIS Pro?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2020 18:43:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/set-transparency-from-attribute-values-on-a-layer/m-p/89658#M4309</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-05-22T18:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set transparency from Attribute Values on a layer without numerical values</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/set-transparency-from-attribute-values-on-a-layer/m-p/89659#M4310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Xander!I didn't know&amp;nbsp;it also happens in ArcGIS Pro. But the good thing is... that there is a way to solve it &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!,&lt;/P&gt;&lt;P&gt;Raul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2020 15:49:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/set-transparency-from-attribute-values-on-a-layer/m-p/89659#M4310</guid>
      <dc:creator>Raul_Jimenez</dc:creator>
      <dc:date>2020-05-23T15:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set transparency from Attribute Values on a layer without numerical values</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/set-transparency-from-attribute-values-on-a-layer/m-p/1021232#M38230</link>
      <description>&lt;P&gt;Hi Xander - I realize this is from ages ago, but these other threads around Arcade and symbology today got me reconnected here...&amp;nbsp; For this case of wanting to drive graduated symbology from a non-numeric field, it looks like that is now possible.&amp;nbsp; As I know you're very capable with Arcade&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;‌‌, I'm sure it wasn't at the time you posted this, so I have to assume it changed at some point since then.&amp;nbsp;&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/2.6/help/mapping/layer-properties/graduated-symbols.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/2.6/help/mapping/layer-properties/graduated-symbols.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"Graduated symbols can be based on an attribute field in the dataset, or you can write an Arcade expression on which to generate numeric values to symbolize."&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Below I'm using graduated colors on the user_id field which is a TEXT field.&amp;nbsp; Is this what you were looking for?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KoryKramer_0-1611865081386.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4832iB7CE50A4084369A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KoryKramer_0-1611865081386.png" alt="KoryKramer_0-1611865081386.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 20:18:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/set-transparency-from-attribute-values-on-a-layer/m-p/1021232#M38230</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2021-01-28T20:18:10Z</dc:date>
    </item>
  </channel>
</rss>

