<?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 ArcGIS Online label expression in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-label-expression/m-p/338060#M16814</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with a series of maps in AGO and would like to create nuanced label &lt;EM&gt;expressions&lt;/EM&gt;--e.g. stuffing a carriage return into the label (as we've done with VB and Python, in Desktop).&amp;nbsp; Is this doable as yet (perhaps through the use of inserted special characters, html markup, etc.)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;-caminante&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2015 15:54:13 GMT</pubDate>
    <dc:creator>RobertWhite2</dc:creator>
    <dc:date>2015-04-10T15:54:13Z</dc:date>
    <item>
      <title>ArcGIS Online label expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-label-expression/m-p/338060#M16814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with a series of maps in AGO and would like to create nuanced label &lt;EM&gt;expressions&lt;/EM&gt;--e.g. stuffing a carriage return into the label (as we've done with VB and Python, in Desktop).&amp;nbsp; Is this doable as yet (perhaps through the use of inserted special characters, html markup, etc.)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;-caminante&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 15:54:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-label-expression/m-p/338060#M16814</guid>
      <dc:creator>RobertWhite2</dc:creator>
      <dc:date>2015-04-10T15:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online label expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-label-expression/m-p/338061#M16815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert, adding nuanced label expressions can be accomplished by editing web maps creating in ArcGIS Online or ArcGIS Enterprise using the Map Viewer and working with Arcade &lt;A href="https://developers.arcgis.com/arcade/guide/profiles/#labeling"&gt;expressions&lt;/A&gt;.&amp;nbsp; &amp;nbsp;Arcade provides formatting functions as well as global variables that provide direct access to features in the map for labeling purposes.&amp;nbsp; Here is an &lt;A href="https://www.esri.com/en-us/arcgis/products/arcgis-online/growth"&gt;example &lt;/A&gt;web map that illustrates the process involved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 20:45:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-label-expression/m-p/338061#M16815</guid>
      <dc:creator>KevinDeege</dc:creator>
      <dc:date>2018-07-26T20:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online label expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-label-expression/m-p/338062#M16816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert and Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently the 3X Javascript API does not support the Arcade expression that adds a newline.&lt;/P&gt;&lt;P&gt;This web map, has the proper expression, but you will see that the labels are not stacked:&lt;/P&gt;&lt;P&gt;Arcade Expression: "APN: "+$feature.PIN +TextFormatting.NewLine+ "Acres: "+Round($feature.ACRES, 2)&lt;/P&gt;&lt;P&gt;Map:&amp;nbsp;&lt;A class="link-titled" href="https://arcg.is/9a0SX" title="https://arcg.is/9a0SX"&gt;https://arcg.is/9a0SX&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when this app is included in a 4X Javascript API, the Newline function is applied to the labels:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://onlineshowcase.maps.arcgis.com/apps/Media/index.html?appid=fa4ad95adbad410aaf00790a3c18d0f8" title="https://onlineshowcase.maps.arcgis.com/apps/Media/index.html?appid=fa4ad95adbad410aaf00790a3c18d0f8"&gt;https://onlineshowcase.maps.arcgis.com/apps/Media/index.html?appid=fa4ad95adbad410aaf00790a3c18d0f8&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, &lt;A href="https://www.arcgis.com/home/item.html?id=5df499a60aa0450d966b59e80e9526e2"&gt;Media Map&lt;/A&gt;, &lt;A href="https://www.arcgis.com/home/item.html?id=1e9d9582f9be4141a8530313ce975964"&gt;Styler&lt;/A&gt; and &lt;A href="http://www.arcgis.com/home/item.html?id=bcc471b7ba6d4819848a674cde1fa381"&gt;Minimal Gallery&lt;/A&gt; are available in 4X and can take advantage of the Newline function with Arcade.&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 21:14:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-label-expression/m-p/338062#M16816</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2018-07-30T21:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online label expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-label-expression/m-p/338063#M16817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, thanks for that helpful clarification and insight Kelly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 14:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-label-expression/m-p/338063#M16817</guid>
      <dc:creator>KevinDeege</dc:creator>
      <dc:date>2018-07-31T14:17:12Z</dc:date>
    </item>
  </channel>
</rss>

