List feature layers from a geodatabase

1270
1
04-18-2011 09:59 AM
by Anonymous User
Not applicable
Original User: Toosters

Hi!

I would appreciate help with the following question.

Its simple to list layers from a mapservice in a e.g. a combobox, but how would i proceed if I would like to list feature layers from a geodatabase(located on server)  so that the user can choose feature layer from a combobox and use it as an input in a geoprocessortask.



I am using arcgis server 9.3 and silverlight 4

Thanx
0 Kudos
1 Reply
by Anonymous User
Not applicable
Original User: dbroux

There is no builtin support to do that in the SL API, but you can do it by deserializing the result of a query on the services rest end point.
Example : http://services.arcgisonline.com/ArcGIS/rest/services?f=pjson
REST API documantation : http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/catalog.html
0 Kudos