Hi all,
This will be easy...I just know it! I am trying to display the labels on the map before publishing to portal but they exist only as labels(not domains) with associated coded values. I will attach a snip of how thing look in pro. I can only get the codes to appear in the map (AP1 for example) when what I want is 'Pond'. Can anyone help please?
Thanks
Dave
Solved! Go to Solution.
Ah I see, looks like you may have to' create the label classes from the symbology'.
described here (be aware to untick the 'Color' box as that will create a label of the same symbol colour and then not be visible.. :
community.esri.com/t5/arcgis-pro-questions/how-to-label-based-on-quot-label-quot-value-in/td-p/1205765
You'd then have to then go into each Class and type 'Pond' , 'River' into the box etc.
You're looking at the symbology there which doesn't affect the labels. If you right-click on the layer in the ToC and go to Labelling Properties - you can choose the Arcade expression you require i.e.
DomainName($feature, 'yourLabelFieldName')
It may not have done this automatically due to your Field options. If you go to the attribute table (right-click on the layer in the ToC ) and click on the hamburger icon at the top-right - you should see an option to 'Show domain and subtype descriptions'.
Hi David,
The snip was just to show the coded values and label names. I have previously tried what you suggest above and used that Arcade expression. I tried again just now but no joy. The labels arent domains. The data was downloaded from a third party and the symbology imported from a .lyr file. So the symbology is fine and the codes are matched with the labels but I think thats the depth of it, no domains. Do you have any other suggestions I could try?
Thanks
Dave
Ah I see, looks like you may have to' create the label classes from the symbology'.
described here (be aware to untick the 'Color' box as that will create a label of the same symbol colour and then not be visible.. :
community.esri.com/t5/arcgis-pro-questions/how-to-label-based-on-quot-label-quot-value-in/td-p/1205765
You'd then have to then go into each Class and type 'Pond' , 'River' into the box etc.