AnsweredAssumed Answered

Python-Creating Short Label Field Based on Another Field

Question asked by DonalCasey_TfL on May 18, 2017
Latest reply on May 18, 2017 by bixb0012

I have a field in the attribute table of ArcMap that contains either the value 'Freehold' or 'Leasehold'. I have another field that contains a unique ID of each polygon. I would like to create a third field called 'Short Label' that I can use to label everything from F1..F60  and L1...L60 based on the Tenure in my table. I would then use this as my label field and I would insert a table into the layout as a lookup.


Would anybody be able to help me write a python script to create the short label field based on the Tenure type?



TenureUnique IDShort Label