Select to view content in your preferred language

DomainName( feature, fieldName, code, subtype? )

399
0
12-14-2020 02:01 PM
IanGorley2
New Contributor

Hello,

 

I am trying to create a label expression in ArcGIS Portal (10.8) on a layer and field with a subtype associated.

When I use DomainName( feature, fieldName) it returns a blank despite there being a value in the field.

In the guidance for DomainName() the help says that you can specify the subtype

https://developers.arcgis.com/arcade/function-reference/data_functions/#domainname

My question is how do you do it?

I can return the value for a domain in other fields without a subtype, but not a domain with the subtype associated.

I may be going down the wrong route, but any help would be appreciated!!

 

0 Kudos
0 Replies