Display Domain Description

702
1
Jump to solution
06-09-2018 06:52 AM
Axelvon_Matern
New Contributor III

Hi!

Does anyone know if there is a function in ArcgGIS Pro for displaying the Domain Description instead of the Code? The pic below shows three different use of a building and Id love to read the description "Military, Exhibition and Museum" over the codes "0,8,4".

0 Kudos
1 Solution

Accepted Solutions
Axelvon_Matern
New Contributor III

Hi!

Found a way to solve this using the function Arcade:

Example
// returns a meaniningful value when a field contains coded valuesvar code = $feature.codedValue;var decodedValue = Decode(code, 1, 'Residential', 2, 'Commercial', 3, 'Mixed', 'Other');

View solution in original post

1 Reply
Axelvon_Matern
New Contributor III

Hi!

Found a way to solve this using the function Arcade:

Example
// returns a meaniningful value when a field contains coded valuesvar code = $feature.codedValue;var decodedValue = Decode(code, 1, 'Residential', 2, 'Commercial', 3, 'Mixed', 'Other');