<?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: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709771#M4841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact using hex code for "\r\n", which is "\x0d\x0a", does add new line to the pop-ups.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Dec 2017 23:41:41 GMT</pubDate>
    <dc:creator>FatihDur</dc:creator>
    <dc:date>2017-12-07T23:41:41Z</dc:date>
    <item>
      <title>Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709762#M4832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use&amp;nbsp;TextFormatting.NewLine to add a new line to a Label Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Playground, I am entering:&amp;nbsp;$feature.name1 + TextFormatting.NewLine + $feature.name2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the Result is showing a Space instead of a new line:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/288561_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I setting up this expression correctly?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 16:40:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709762#M4832</guid>
      <dc:creator>CherylHagevik</dc:creator>
      <dc:date>2016-12-22T16:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709763#M4833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Were you able to get this to work? I'm getting a space as well.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 17:47:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709763#M4833</guid>
      <dc:creator>GeorgePlumley</dc:creator>
      <dc:date>2017-01-10T17:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709764#M4834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cheryl and George,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;From Chris Whitmore: Arcade supports newline, however it is not supported in the map viewer and template apps. It’s a known limitation with the 3.x JSAPI. It will be addressed once the map viewer and configurable apps move to the 4x JSAPI. At this time, we don’t have a solid estimate on when that will be.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Scott&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 18:28:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709764#M4834</guid>
      <dc:creator>ScottMoore__Olympia_</dc:creator>
      <dc:date>2017-01-10T18:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709765#M4835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was just searching for the same solution. It would be really handy with the type of labels we want to place on our water and wastewater mains.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 22:41:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709765#M4835</guid>
      <dc:creator>RebeccaBrown</dc:creator>
      <dc:date>2017-02-02T22:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709766#M4836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a BUG Number for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;John P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 03:42:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709766#M4836</guid>
      <dc:creator>JohnPlunkett</dc:creator>
      <dc:date>2017-02-10T03:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709767#M4837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is not a Bug number for this since it is currently just a limitation. We should start seeing support for this when we migrate&amp;nbsp;to the 4x JSAPI, as Scott mentioned. The limitation is mentioned in relation to ArcGIS Online in the following documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://doc.arcgis.com/en/arcgis-online/create-maps/create-labels.htm#ESRI_SECTION1_2963DE67B30B4FB89F332D248F3B6273" title="https://doc.arcgis.com/en/arcgis-online/create-maps/create-labels.htm#ESRI_SECTION1_2963DE67B30B4FB89F332D248F3B6273"&gt;Create labels—ArcGIS Online Help | ArcGIS&lt;/A&gt;&amp;nbsp;&amp;gt; Labeling considerations&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 13:04:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709767#M4837</guid>
      <dc:creator>CherylHagevik</dc:creator>
      <dc:date>2017-02-10T13:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709768#M4838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a workaround? &amp;nbsp;i.e How to add a new line&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Apr 2017 15:37:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709768#M4838</guid>
      <dc:creator>TarigAhmed3</dc:creator>
      <dc:date>2017-04-22T15:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709769#M4839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has then been solved? Or does anyone know of a workaround to add a new line?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 18:06:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709769#M4839</guid>
      <dc:creator>ashleyhanes</dc:creator>
      <dc:date>2017-11-21T18:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709770#M4840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a HUGE limitation for this platform.... love the arcade language but this needs to be addressed soon.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 15:31:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709770#M4840</guid>
      <dc:creator>deleted-user-amp86F9KgPL3</dc:creator>
      <dc:date>2017-12-06T15:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709771#M4841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact using hex code for "\r\n", which is "\x0d\x0a", does add new line to the pop-ups.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 23:41:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709771#M4841</guid>
      <dc:creator>FatihDur</dc:creator>
      <dc:date>2017-12-07T23:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709772#M4842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Faith:&amp;nbsp; I added the hex code and the results show the fields separated on 2 lines but when using the expression in the pop-up, it doesn't show on 2 lines.&amp;nbsp; Am I doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&amp;nbsp; $feature.MINORTYPE+"\x0d\x0a"+$feature.LOCATION&lt;/P&gt;&lt;P&gt;Test Result:&lt;/P&gt;&lt;P&gt;MINORTYPE&lt;/P&gt;&lt;P&gt;LOCATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is&amp;nbsp;how the pop-up title ends up&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pop Up Image" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/395580_PopUpTitle.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 13:50:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709772#M4842</guid>
      <dc:creator>PatriciaMoehring</dc:creator>
      <dc:date>2018-02-02T13:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709773#M4843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This workaround doesn't seem to work anymore. Does anyone have any other suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 00:57:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709773#M4843</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-10-15T00:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709774#M4844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just stumbled across this limitation as well.&amp;nbsp; I would love to hear if anybody has found a workaround or if ESRI knows when the problem will be fixed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 04:14:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709774#M4844</guid>
      <dc:creator>DamonPettitt</dc:creator>
      <dc:date>2018-11-09T04:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709775#M4845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Major limitation. Esri, please address this soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2018 19:39:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709775#M4845</guid>
      <dc:creator>NathanaelRodd</dc:creator>
      <dc:date>2018-12-19T19:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709776#M4846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe this has been resolved with ArcGIS Pro 2.3.&amp;nbsp; I am able to get a stacked label placing my ID field on top of my elevation field using the following Arcade syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$feature.ID + TextFormatting.NewLine + $feature.PAMAP_DEM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 20:08:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709776#M4846</guid>
      <dc:creator>DanielHunter</dc:creator>
      <dc:date>2019-02-06T20:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709777#M4847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought this was only an issue in ArcGIS Online, which still seems to have the issue...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 20:15:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709777#M4847</guid>
      <dc:creator>DamonPettitt</dc:creator>
      <dc:date>2019-02-06T20:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709778#M4848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are correct - I skimmed the conversations and replied in haste while looking for the new line syntax - thanks for clarifying&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 20:21:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709778#M4848</guid>
      <dc:creator>DanielHunter</dc:creator>
      <dc:date>2019-02-06T20:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709779#M4849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It did not work for me until I checked the box for&amp;nbsp;Stack Label, it worked for me. I am using Python Parser in ArcGIS Pro 2.0&lt;/P&gt;&lt;P&gt;[Feature1].lstrip('0') + '\n' + [Feature2].lstrip('0')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 16:26:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709779#M4849</guid>
      <dc:creator>AaronFerrari</dc:creator>
      <dc:date>2019-02-25T16:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709780#M4850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why is this still an issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 17:11:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709780#M4850</guid>
      <dc:creator>deleted-user-1_r2dgYuILKY</dc:creator>
      <dc:date>2019-04-01T17:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Text Constant for TextFormatting.NewLine is adding space instead of new line</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709781#M4851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is still an issue since the Web Map is build with the 3.x version of the SDK and this is no longer an issue in version 4.x. Later this year the web map will be ported to 4.x resolving this and other issues, as far as I understand.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 20:15:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-text-constant-for-textformatting-newline-is/m-p/709781#M4851</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-04-01T20:15:34Z</dc:date>
    </item>
  </channel>
</rss>

