<?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 Adding and formatting multiple fields in a label in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/adding-and-formatting-multiple-fields-in-a-label/m-p/1169046#M54569</link>
    <description>&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;I'm trying to create a label for water wells that contains the well name, date drilled, and measured depth. I've gotten them all to appear, but there are no spaces between them so it's formatted like namemeasuredepthm/d/yyy. Ideally, it would be good to either have it formatted like,&lt;/P&gt;&lt;P&gt;Name&lt;/P&gt;&lt;P&gt;Measured Depth&lt;/P&gt;&lt;P&gt;M/D/YY&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;name, measured depth, m/d/yyyy&lt;/P&gt;&lt;P&gt;This is my current expression if that's helpful&lt;/P&gt;&lt;P&gt;$feature.Well_Name +""+&lt;BR /&gt;$feature.Max_MD +""+&lt;BR /&gt;Text($feature.Spud_Date, 'M/D/Y')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 20:49:42 GMT</pubDate>
    <dc:creator>CarbonAmerica</dc:creator>
    <dc:date>2022-04-28T20:49:42Z</dc:date>
    <item>
      <title>Adding and formatting multiple fields in a label</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-and-formatting-multiple-fields-in-a-label/m-p/1169046#M54569</link>
      <description>&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;I'm trying to create a label for water wells that contains the well name, date drilled, and measured depth. I've gotten them all to appear, but there are no spaces between them so it's formatted like namemeasuredepthm/d/yyy. Ideally, it would be good to either have it formatted like,&lt;/P&gt;&lt;P&gt;Name&lt;/P&gt;&lt;P&gt;Measured Depth&lt;/P&gt;&lt;P&gt;M/D/YY&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;name, measured depth, m/d/yyyy&lt;/P&gt;&lt;P&gt;This is my current expression if that's helpful&lt;/P&gt;&lt;P&gt;$feature.Well_Name +""+&lt;BR /&gt;$feature.Max_MD +""+&lt;BR /&gt;Text($feature.Spud_Date, 'M/D/Y')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 20:49:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-and-formatting-multiple-fields-in-a-label/m-p/1169046#M54569</guid>
      <dc:creator>CarbonAmerica</dc:creator>
      <dc:date>2022-04-28T20:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding and formatting multiple fields in a label</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-and-formatting-multiple-fields-in-a-label/m-p/1169059#M54570</link>
      <description>&lt;P&gt;You're almost there!&amp;nbsp; Put a space in your "" - like this ", ".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Or if you want them on a new line use arcade - $feature.Well_Name + TextFormatting.NewLine +&amp;nbsp;&lt;SPAN&gt;$feature.Max_MD&amp;nbsp;+ TextFormatting.NewLine +&amp;nbsp;Text($feature.Spud_Date, 'M/D/Y')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 21:15:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-and-formatting-multiple-fields-in-a-label/m-p/1169059#M54570</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2022-04-28T21:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adding and formatting multiple fields in a label</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-and-formatting-multiple-fields-in-a-label/m-p/1169199#M54589</link>
      <description>&lt;P&gt;To make your expression easier to read, you can also use Concatenate:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var values = [
    $feature.Well_Name,
    $feature.Max_MD,
    Text($feature.Spud_Date, 'M/D/Y')
]
return Concatenate(values, TextFormatting.NewLine) // each on its own line
return Concatenate(values, ", ") // comma separated&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 29 Apr 2022 09:06:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-and-formatting-multiple-fields-in-a-label/m-p/1169199#M54589</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-04-29T09:06:14Z</dc:date>
    </item>
  </channel>
</rss>

