Select to view content in your preferred language

How to get domain coded values from GeodatabaseFeatureServiceTable in QML

3357
1
Jump to solution
11-17-2015 11:09 PM
tanerkoka1
Deactivated User

Hi ,

How can I get domain coded values from GeodatabaseFeatureServiceTable in QML.Because I wan to use when I create new feature coose from Combobox that coded values.

Tahanks

0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor

The Domain is on the Field class. I would use the fields property on FeatureTable base class. This will return a list of Field Objects. You could also use the field property if you know the name of the field already. Once you have access to the Field object, use domain property to get access to the domain and its info (range of values or coded values).

View solution in original post

1 Reply
LucasDanzinger
Esri Frequent Contributor

The Domain is on the Field class. I would use the fields property on FeatureTable base class. This will return a list of Field Objects. You could also use the field property if you know the name of the field already. Once you have access to the Field object, use domain property to get access to the domain and its info (range of values or coded values).