I recommend using esri.request to get your layer's info, including all the field info, and then building your UI. There's an example of grabbing info for a layer in this post: http://forums.arcgis.com/threads/7793-Identify-How-to-show-Alias-filed-instead-of-Field-Name?p=24158&viewfull=1#post24158
esri.request is actually a wrapper around dojo.io.script.get and dojo.xhrPost. This is mentioned in our docs for esri.request. Please refer to the dojo docs for more info on specific parameters like callbackParamName.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.