How to get dynamic text to show domain code instead of description?

829
3
02-16-2021 02:43 PM
Tim-Woodfield
Occasional Contributor

I am using Dynamic Text in Data Driven Pages to pull an attribute for units. The codes are LF, SF, GAL, SY and the descriptions would then be Linear Foot, Square Foot, Gallon, Square Yard. By default, the text that is returned is the description. Is there a way to get it to show the domain code instead? I've tried using the Domain and Domaincode funtions but haven't had any luck.

 

Thanks!

0 Kudos
3 Replies
BillFox
MVP Frequent Contributor

Will entering the same text you have in description in the code column work for you?

0 Kudos
Tim-Woodfield
Occasional Contributor

That would work but I would prefer not to do that as it would mess us the survey and other maps.

0 Kudos
BillFox
MVP Frequent Contributor

Maybe a lookup table for that as a work-around until your enhancement request is implemented.

 

0 Kudos