<?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: Emojis in labels not rendering correctly in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335350#M7154</link>
    <description>&lt;P&gt;Hey Jonathan,&lt;/P&gt;&lt;P&gt;Have you tried using&amp;nbsp;&lt;SPAN&gt;FromCharCode&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;code&lt;/SPAN&gt;&lt;SPAN&gt;) Arcade function?&amp;nbsp; The number the function takes is the decimal representation of the emoji or any character.&amp;nbsp; I tried this in a popup it works okay, but it may or may not translate to your labels&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;FromCharCode(9989) // check mark
FromCharCode(10060) // cross mark&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2023 13:54:31 GMT</pubDate>
    <dc:creator>JustinReynolds</dc:creator>
    <dc:date>2023-10-05T13:54:31Z</dc:date>
    <item>
      <title>Emojis in labels not rendering correctly</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335107#M7146</link>
      <description>&lt;P&gt;Posting primarily for Field Maps, but I'm also having issues with the new Map Viewer.&lt;/P&gt;&lt;P&gt;I frequently use Arcade like this in Labels to show me whether an asset has been recently surveyed / visited, i use this in Pro, Portal, and Field Maps.&lt;/P&gt;&lt;PRE&gt;if (!IsEmpty($feature.Special_Status)) {
    if (IsEmpty($feature.Last_Verified)) {
        return "❌";
    } 
    else if (DateDiff($feature.Last_Verified, Date(2023, 08, 30), "days") &amp;lt; 0) {
        return "❌"
    } else {
        return "✅";
    }
}&lt;/PRE&gt;&lt;P&gt;The expected outcome is that features that meet the expression and have been recently surveyed, as noted by a current "Last_Verified" date, will show a green check emoji &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;U+2705. whereas features that have not been surveyed (old date or no date) get a red X emoji&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; U+274C. This works great in Pro and in Portal Web Map Classic, as below in first screen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Emoji labels working in Portal WebMap" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82317iDD3EA05BC0AD6A3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="webmap.png" alt="Emoji labels working in Portal WebMap" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Emoji labels working in Portal WebMap&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But in field maps the render is different. the colors are tied to the color of the label text configured in the Web Map Classic and the check box emoji only renders as a block.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Emoji labels not working in Field Maps" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82318iDC3A42B062A8BE05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="field maps.jpeg" alt="Emoji labels not working in Field Maps" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Emoji labels not working in Field Maps&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When using new Map Viewer, the emojis don't appear at all.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emoji labels absent in Portal new Map Viewer" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82321i020F2096924CA6C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="new_webmap.png" alt="emoji labels absent in Portal new Map Viewer" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;emoji labels absent in Portal new Map Viewer&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm aware that emoji rendering depends a lot on the device, the fonts, etc, but couldn't find anything specific about this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Realize there are other ways to symbolize based on attribute status, but using labels is so easy and I don't have to have lots of symbol styles or go deep into Dictionary Symbology.&lt;/P&gt;&lt;P&gt;iOS Field Maps v23.2.3 | Enterprise Portal 10.9.1&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 18:49:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335107#M7146</guid>
      <dc:creator>JonathanDandois</dc:creator>
      <dc:date>2023-10-04T18:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Emojis in labels not rendering correctly</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335142#M7148</link>
      <description>&lt;P&gt;I have no idea if it would work in the map viewer in labels but in Dashboards we use SVGs instead now.&amp;nbsp; It may work for you?&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/dashboards/latest/create-and-share/use-custom-icons.htm" target="_blank"&gt;https://doc.arcgis.com/en/dashboards/latest/create-and-share/use-custom-icons.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/do-more-with-symbols-in-map-viewer-beta/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/do-more-with-symbols-in-map-viewer-beta/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder how offline affects both of these though?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 20:07:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335142#M7148</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-10-04T20:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Emojis in labels not rendering correctly</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335350#M7154</link>
      <description>&lt;P&gt;Hey Jonathan,&lt;/P&gt;&lt;P&gt;Have you tried using&amp;nbsp;&lt;SPAN&gt;FromCharCode&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;code&lt;/SPAN&gt;&lt;SPAN&gt;) Arcade function?&amp;nbsp; The number the function takes is the decimal representation of the emoji or any character.&amp;nbsp; I tried this in a popup it works okay, but it may or may not translate to your labels&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;FromCharCode(9989) // check mark
FromCharCode(10060) // cross mark&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 13:54:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335350#M7154</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2023-10-05T13:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Emojis in labels not rendering correctly</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335356#M7155</link>
      <description>&lt;P&gt;Hi Justin, that sounds like a great idea, but it looks like that function is only available at Enterprise 11.0 and im at 10.9.1&amp;nbsp;&amp;nbsp;&lt;A href="https://developers.arcgis.com/arcade/function-reference/text_functions/#fromcharcode" target="_blank"&gt;https://developers.arcgis.com/arcade/function-reference/text_functions/#fromcharcode,&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;so, more hacks for now.&amp;nbsp; i guess your answer is the solution, ill mark it as such so you get those sweet magic internet points.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 14:00:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335356#M7155</guid>
      <dc:creator>JonathanDandois</dc:creator>
      <dc:date>2023-10-05T14:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Emojis in labels not rendering correctly</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335368#M7157</link>
      <description>&lt;P&gt;I appreciate that, but you may want to roll back on my post being the solution.&amp;nbsp; I did a little more exploration here. While the emojis render fine in a popup, they definitely do not work in labels in map viewer or Field maps.&amp;nbsp; I tested this in AGOL and FM Android and iOS.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 14:15:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335368#M7157</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2023-10-05T14:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Emojis in labels not rendering correctly</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335371#M7158</link>
      <description>&lt;P&gt;lol, i guess i should have tested it myself! good thing there is a "Not the Solution" button.&amp;nbsp; You can keep the kudos though. to be continued....&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 14:17:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335371#M7158</guid>
      <dc:creator>JonathanDandois</dc:creator>
      <dc:date>2023-10-05T14:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Emojis in labels not rendering correctly</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335380#M7159</link>
      <description>&lt;P&gt;Have you tried just using your code in the Symbology?&amp;nbsp; it takes Arcade now.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1696516118240.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82380i7B4C663A2FB278B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1696516118240.png" alt="DougBrowning_0-1696516118240.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 14:29:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335380#M7159</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-10-05T14:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Emojis in labels not rendering correctly</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335457#M7161</link>
      <description>&lt;P&gt;Yes and i think that's the best fallback.&amp;nbsp; I've been using this label and emoji hack kind of like a Dictionary Symbology, so instead of defining the unique symbol per condition set, i just set the broad rules.&amp;nbsp; To do what I'd need to do in the current map I'd have to have 4 unique symbols, whether by Arcade in the Web Map Symbology or by publishing in Pro with multiple Unique Value fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonathanDandois_0-1696522952074.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82394iF6BC06D6B928300D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonathanDandois_0-1696522952074.png" alt="JonathanDandois_0-1696522952074.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 16:30:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/emojis-in-labels-not-rendering-correctly/m-p/1335457#M7161</guid>
      <dc:creator>JonathanDandois</dc:creator>
      <dc:date>2023-10-05T16:30:02Z</dc:date>
    </item>
  </channel>
</rss>

