ESRI.ArcGIS.Client.Extensibility.FieldSettings

1775
3
01-06-2013 10:09 PM
PietaSwanepoel2
Occasional Contributor
Does anybody have a code example of how to reference the DisplayName (Alias) property for a field as defined by the application builder? Know it can be accessed through the ESRI.ArcGIS.Client.Extensibility.FieldSettings class but I don't know how to reference it in code.

I can get the alias name defined in the database but this might differ from the value set in the application builder. Also need to know if field is visible or not. I am trying to populate a combobox with only the visible fields for a table using the alias values.

Thank you
0 Kudos
3 Replies
AmelieBernier
New Contributor II
I would also need to know how to use FieldSettings. I need to get the field aliases defined by the user in the viewer.

Does anyone have any input on this?

Thanks!
0 Kudos
PietaSwanepoel2
Occasional Contributor
You can look at the code I posted in

http://forums.arcgis.com/threads/75698-Attribute-query-add-in-free-solution-provided?p=265423#post26...

Functionality is hard-coded. Couldn't find another solution for it
0 Kudos
JasonCleaver
Occasional Contributor
Here is what I did to solve this problem.  I Downloaded the mapconfig.xml using the WebClient class and then used LINQ to read the XML.
0 Kudos