Select to view content in your preferred language

Can Esri feature / map services return domain values rather than codes??

584
0
02-18-2020 11:56 AM
PeterLen
Frequent Contributor

Hello,

This is a reboot question from a year ago that never did get answered and am hoping someone can chime in one way or another:

Hello - We are using ArcGIS Server v10.6 and publish both Esri feature and map services.  The data resides in an Oracle 12c enterprise database.  Some of our feature class data uses domains and we store the code from the domain in the database.  These domains are created in ArcCatalog and the domains are assigned to schema attaributes.  When you do a query from the service endpoint, the service will return exactly what is in the datastore (ie, the domain codes).  Our client application, as well as the ArcMap attributes table, displays the domain value rather than the code because the client goes through a process of translating domain values.  

 

What we are wondering is if there is possibly some sort of service configuration item or query flag that will tell the service to return the domain value rather than the domain code.  Again, Esri already does this when looking at the data in ArcMap via the attributes table.

Thoughts??

Thanks - Peter

0 Replies