set label expression in ArcGIS Pro task

202
0
10-27-2017 01:44 PM
AwesomeEvan
Occasional Contributor

I'm creating a very basic arcgis pro task which 1) Removes join 2) Add Join

This simply refreshes records used for labelling for a monthly hardcopy print out

I'm doing this becasue I dont think you can (easily) label based on related records

This task breaks my label expression however (not sure why)

The label expression is set to:

[GIS_CORE.DBO.plnPlanningApplications.Applicant] & vbCrLf & [GIS_CORE.DBO.plnPlanningApplications.FileNum]

After the successful remove/add join the labels mess up because the expression gets changed to:

[GIS_CORE.DBO.plnPlanningApplicationProperties.Applicant] & vbCrLf & [GIS_CORE.DBO.plnPlanningApplications.FileNum]

Note:

plnPlanningApplicationProperties = feature class

plnPlanningApplications = related table

My main question then is can I simply force set the label expression each time in the task?

You can choose "label expression..." as a command but how do I add any parameters?

Any guidance would be greatly appreciated.

Cheers.

0 Kudos
0 Replies