-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Domain value and code in same object #1
Comments
There's actually one more overload for the constructor that takes the public Mapped(string fieldName, string domainName, string invalidCodeFormat This is not an ideal solution. It should really be a delegate, but it's an On Tue, Aug 11, 2015 at 6:43 PM, Brian Hare [email protected]
|
Great client. I am considering modifying it to support Esri's new roads and highway extension to MapServers. (Supports queryAttributeSet which takes an LRS (Linear reference system) and queries multiple layers at once)
I ran into a use-case that I think could be useful to some, and that is getting the domain translated value and it's code both in the result. For example in the object model
Where
dStatus
is the domain for STATUS andStatusTranslated
is the STATUS field with it's domain value andStatusCode
is the code field of STATUS. Currently it errors out because I think duplicate mapping of STATUS. A few work arounds seem to exist to accomplish what I want, taking advantage ofGetCodedValueByName
inEsri
but its internal, or usingService.Domains
and do a lookup manually. Just thought this use-case may be an easy feature to add, although allowing multiple mappings this way may violate your design intent.Thanks and keep up the great work.
The text was updated successfully, but these errors were encountered: