<?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 set label expression in ArcGIS Pro task in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/set-label-expression-in-arcgis-pro-task/m-p/772080#M33291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm creating a very basic arcgis pro task which 1) Removes join 2) Add Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This simply refreshes records used for labelling for a monthly hardcopy print out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm doing this becasue I dont think you can&amp;nbsp;(easily) label based on related records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This task breaks my label expression however (not sure why)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The label expression is set to:&lt;/P&gt;&lt;P&gt;[GIS_CORE.DBO.plnPlanningApplications.Applicant] &amp;amp; vbCrLf &amp;amp; [GIS_CORE.DBO.plnPlanningApplications.FileNum]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the successful remove/add join the labels mess up because the expression gets changed to:&lt;/P&gt;&lt;P&gt;[GIS_CORE.DBO.pln&lt;STRONG&gt;PlanningApplicationProperties&lt;/STRONG&gt;.Applicant] &amp;amp; vbCrLf &amp;amp; [GIS_CORE.DBO.plnPlanningApplications.FileNum]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;plnPlanningApplicationProperties = feature class&lt;/P&gt;&lt;P&gt;plnPlanningApplications = related table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My main question then is can I simply force set the label expression each time in the task?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can choose "label expression..." as a command but how do I add any parameters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guidance would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Oct 2017 20:44:45 GMT</pubDate>
    <dc:creator>AwesomeEvan</dc:creator>
    <dc:date>2017-10-27T20:44:45Z</dc:date>
    <item>
      <title>set label expression in ArcGIS Pro task</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/set-label-expression-in-arcgis-pro-task/m-p/772080#M33291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm creating a very basic arcgis pro task which 1) Removes join 2) Add Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This simply refreshes records used for labelling for a monthly hardcopy print out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm doing this becasue I dont think you can&amp;nbsp;(easily) label based on related records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This task breaks my label expression however (not sure why)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The label expression is set to:&lt;/P&gt;&lt;P&gt;[GIS_CORE.DBO.plnPlanningApplications.Applicant] &amp;amp; vbCrLf &amp;amp; [GIS_CORE.DBO.plnPlanningApplications.FileNum]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the successful remove/add join the labels mess up because the expression gets changed to:&lt;/P&gt;&lt;P&gt;[GIS_CORE.DBO.pln&lt;STRONG&gt;PlanningApplicationProperties&lt;/STRONG&gt;.Applicant] &amp;amp; vbCrLf &amp;amp; [GIS_CORE.DBO.plnPlanningApplications.FileNum]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;plnPlanningApplicationProperties = feature class&lt;/P&gt;&lt;P&gt;plnPlanningApplications = related table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My main question then is can I simply force set the label expression each time in the task?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can choose "label expression..." as a command but how do I add any parameters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guidance would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 20:44:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/set-label-expression-in-arcgis-pro-task/m-p/772080#M33291</guid>
      <dc:creator>AwesomeEvan</dc:creator>
      <dc:date>2017-10-27T20:44:45Z</dc:date>
    </item>
  </channel>
</rss>

