<?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: Custom label or popup using expression in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/custom-label-or-popup-using-expression/m-p/1196299#M12503</link>
    <description>&lt;P&gt;Crystal,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; You got this.&amp;nbsp; The article makes it very clear how to code the formatting of your multi-line labels.&amp;nbsp; Please share an image of your completed labels when you are done.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bernie.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jul 2022 12:54:06 GMT</pubDate>
    <dc:creator>berniejconnors</dc:creator>
    <dc:date>2022-07-27T12:54:06Z</dc:date>
    <item>
      <title>Custom label or popup using expression</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/custom-label-or-popup-using-expression/m-p/1196277#M12500</link>
      <description>&lt;P&gt;I'm working in the new Map Viewer in Portal and I would like to create a custom label or expression I can use in the popup window.&amp;nbsp; I didn't see an option under labeling for anything custom so may have to be popup.&amp;nbsp; I am not an expert at writing expressions so need some help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my expression from ArcMap and would like it to look the same in Portal.&lt;/P&gt;&lt;P&gt;[LAND_VALUE_CURRENT] &amp;amp;vbCrLf&amp;amp; [PARCEL_ACREAGE] &amp;amp; " Acs" &amp;amp; vbCrLf&amp;amp; "$ "&amp;amp; Round ( [LAND_VALUE_CURRENT] / [PARCEL_ACREAGE], 0) &amp;amp; " Per Acre"&lt;/P&gt;&lt;P&gt;On the map, it looks like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CrystalCowardin_0-1658916246353.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/46892iF39FA5C25FB9CCF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CrystalCowardin_0-1658916246353.png" alt="CrystalCowardin_0-1658916246353.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 10:04:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/custom-label-or-popup-using-expression/m-p/1196277#M12500</guid>
      <dc:creator>CrystalCowardin</dc:creator>
      <dc:date>2022-07-27T10:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom label or popup using expression</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/custom-label-or-popup-using-expression/m-p/1196281#M12501</link>
      <description>&lt;P&gt;Crystal,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; There is this Esri Support Article -&amp;nbsp;&lt;A href="https://support.esri.com/en/technical-article/000025694" target="_blank" rel="noopener"&gt;https://support.esri.com/en/technical-article/000025694&lt;/A&gt;.&amp;nbsp; But there was also something mentioned at the Esri UC2022.&amp;nbsp; I can't remember if it was in an Arcade session or a Map Viewer session.&amp;nbsp; Unfortunately, new features just metioned at the UC2022 may not be available to you in your version of Portal.&lt;/P&gt;&lt;P&gt;Bernie.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 11:19:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/custom-label-or-popup-using-expression/m-p/1196281#M12501</guid>
      <dc:creator>berniejconnors</dc:creator>
      <dc:date>2022-07-27T11:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom label or popup using expression</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/custom-label-or-popup-using-expression/m-p/1196292#M12502</link>
      <description>&lt;P&gt;Arcade expressions are available in Portal for Pop Ups...I just don't know how to write it.&lt;/P&gt;&lt;P&gt;I'll take a look at the article.&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 12:25:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/custom-label-or-popup-using-expression/m-p/1196292#M12502</guid>
      <dc:creator>CrystalCowardin</dc:creator>
      <dc:date>2022-07-27T12:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom label or popup using expression</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/custom-label-or-popup-using-expression/m-p/1196299#M12503</link>
      <description>&lt;P&gt;Crystal,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; You got this.&amp;nbsp; The article makes it very clear how to code the formatting of your multi-line labels.&amp;nbsp; Please share an image of your completed labels when you are done.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bernie.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 12:54:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/custom-label-or-popup-using-expression/m-p/1196299#M12503</guid>
      <dc:creator>berniejconnors</dc:creator>
      <dc:date>2022-07-27T12:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Custom label or popup using expression</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/custom-label-or-popup-using-expression/m-p/1196305#M12504</link>
      <description>&lt;P&gt;Your expression would look something like this&lt;/P&gt;&lt;P&gt;var value = $feature.&lt;SPAN&gt;LAND_VALUE_CURRENT&lt;/SPAN&gt;;&lt;BR /&gt;var acreage = $feature.&lt;SPAN&gt;PARCEL_ACREAGE&lt;/SPAN&gt;;&lt;BR /&gt;var calc = Round(value/acreage, 0);&lt;/P&gt;&lt;P&gt;//return value + TextFormatting.NewLine + acreage + ' Acs' + TextFormatting.NewLine + '$' + calc + ' Per Acre';&lt;BR /&gt;return `${value}${TextFormatting.NewLine}${acreage} Acs${TextFormatting.NewLine}$${calc} Per Acre`;&lt;/P&gt;&lt;P&gt;The first return uses the normal quotes and the second one uses &lt;A href="https://developers.arcgis.com/arcade/guide/logic/#template-literals" target="_self"&gt;Template Literals&lt;/A&gt;. They're sometimes easier to read. You can also use the &lt;A href="https://developers.arcgis.com/arcade/function-reference/text_functions/#text" target="_self"&gt;Text&lt;/A&gt; formatting methods if you want the numeric values to include the thousand comma.&lt;/P&gt;&lt;P&gt;Text(value, '#,###')&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 13:13:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/custom-label-or-popup-using-expression/m-p/1196305#M12504</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2022-07-27T13:13:14Z</dc:date>
    </item>
  </channel>
</rss>

