How to add a new value into CodedValue domain IN sde 10.3.1 from javascript api 3.17 code?
Mihael,
Certain things like managing field domains are limited to ArcGIS desktop or Python and are not available from client side APIs.
Hi Michael,
You can update the service you are working with so that you don't have to republish the data using ArcGIS Desktop. Take a look at page 'Domains and their values' on page 4 within the following document:
https://blogs.esri.com/esri/arcgis/files/2014/10/How-to-Update-Hosted-Feature-Service-Schemas1.pdf