<?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>idea Label Expression Validation in ArcGIS Pro in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/label-expression-validation-in-arcgis-pro/idi-p/1659418</link>
    <description>&lt;P&gt;When using Advanced Python label expressions (e.g., defining a custom FindLabel function), the Summary tool in ArcGIS Pro reports misleading errors such as:&lt;BR /&gt;Label expression is invalid.&lt;BR /&gt;Carriage returns are not allowed in simple expressions.&lt;BR /&gt;No function was found with the name 'FindLabel'.&lt;/P&gt;&lt;P&gt;Despite these warnings, the labels display correctly in the map and the Python expression validates successfully in the Label Class dialog. The problem is not with the expression itself, but with the way the Summary tool attempts to validate label expressions as if they were simple expressions only.&lt;BR /&gt;Impact&lt;BR /&gt;- Users may believe their label expressions are broken, even though they work correctly.&lt;BR /&gt;- This creates unnecessary confusion and undermines confidence in the labeling workflow.&lt;BR /&gt;Suggested correction&lt;BR /&gt;Instead of reporting the expression as “invalid,” the Summary tool should recognize when a label class is using an Advanced expression and display a more accurate message, for example:&lt;BR /&gt;“Advanced label expression detected. Expression not validated by Summary tool.”&lt;/P&gt;&lt;P&gt;This would make it clear that the expression is outside the scope of the simple validator, while reassuring users that their labels may still function as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Oct 2025 18:34:06 GMT</pubDate>
    <dc:creator>MarcelSt-Germain</dc:creator>
    <dc:date>2025-10-21T18:34:06Z</dc:date>
    <item>
      <title>Label Expression Validation in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/label-expression-validation-in-arcgis-pro/idi-p/1659418</link>
      <description>&lt;P&gt;When using Advanced Python label expressions (e.g., defining a custom FindLabel function), the Summary tool in ArcGIS Pro reports misleading errors such as:&lt;BR /&gt;Label expression is invalid.&lt;BR /&gt;Carriage returns are not allowed in simple expressions.&lt;BR /&gt;No function was found with the name 'FindLabel'.&lt;/P&gt;&lt;P&gt;Despite these warnings, the labels display correctly in the map and the Python expression validates successfully in the Label Class dialog. The problem is not with the expression itself, but with the way the Summary tool attempts to validate label expressions as if they were simple expressions only.&lt;BR /&gt;Impact&lt;BR /&gt;- Users may believe their label expressions are broken, even though they work correctly.&lt;BR /&gt;- This creates unnecessary confusion and undermines confidence in the labeling workflow.&lt;BR /&gt;Suggested correction&lt;BR /&gt;Instead of reporting the expression as “invalid,” the Summary tool should recognize when a label class is using an Advanced expression and display a more accurate message, for example:&lt;BR /&gt;“Advanced label expression detected. Expression not validated by Summary tool.”&lt;/P&gt;&lt;P&gt;This would make it clear that the expression is outside the scope of the simple validator, while reassuring users that their labels may still function as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 18:34:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/label-expression-validation-in-arcgis-pro/idi-p/1659418</guid>
      <dc:creator>MarcelSt-Germain</dc:creator>
      <dc:date>2025-10-21T18:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Label Expression Validation in ArcGIS Pro - Status changed to: Needs Clarification</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/label-expression-validation-in-arcgis-pro/idc-p/1659490#M36473</link>
      <description>&lt;P&gt;Marcel, Can you provide an example of the expression you're experiencing this with? I'm unable to reproduce this with a FindLabel function (which we look for to detect the advanced expression)&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 22:42:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/label-expression-validation-in-arcgis-pro/idc-p/1659490#M36473</guid>
      <dc:creator>CraigWilliams</dc:creator>
      <dc:date>2025-10-21T22:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Label Expression Validation in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/label-expression-validation-in-arcgis-pro/idc-p/1659608#M36483</link>
      <description>&lt;DIV&gt;First, why can't we be able to work when Labeling Summary is open. &amp;nbsp;We have to copy and paste in text but, then, we lost formatting (no color, no indentation) ??? &amp;nbsp;So make the Labeling Summary available or format when copying.&lt;/DIV&gt;&lt;DIV&gt;Issues (0) but, this is one exemple of the return.&lt;/DIV&gt;&lt;DIV&gt;Python advanced script is validated, show in map but still generated the warning.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Group Layer: Version ENC5 EN-FR m&lt;/DIV&gt;&lt;DIV&gt;Group Layer: ***ENC principaux&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Font: Arial Narrow-Bold; TTOpenType&lt;/DIV&gt;&lt;DIV&gt;Layer: point_light : ML m/ ft&lt;/DIV&gt;&lt;DIV&gt;Label Class: INFO light&lt;/DIV&gt;&lt;DIV&gt;Labeled class.&lt;/DIV&gt;&lt;DIV&gt;SQL Query not defined. All features will be added to the placement engine.&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Label expression is invalid. &amp;nbsp;Invalid Expression.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Carriage returns are not allowed in simple expressions.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;No function was found with the name 'findLabel'.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 Oct 2025 13:19:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/label-expression-validation-in-arcgis-pro/idc-p/1659608#M36483</guid>
      <dc:creator>MarcelSt-Germain</dc:creator>
      <dc:date>2025-10-22T13:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Label Expression Validation in ArcGIS Pro - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/label-expression-validation-in-arcgis-pro/idc-p/1660068#M36500</link>
      <description>&lt;P&gt;We've identified the issue and logged&amp;nbsp;BUG-000180302. Since Ideas isn't intended for bug submission, I will close this Idea.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 17:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/label-expression-validation-in-arcgis-pro/idc-p/1660068#M36500</guid>
      <dc:creator>CraigWilliams</dc:creator>
      <dc:date>2025-10-23T17:50:14Z</dc:date>
    </item>
  </channel>
</rss>

