Select to view content in your preferred language

How to query/Identify layers in a FeatureService?

734
1
02-23-2011 04:50 AM
SanajyJadhav
Deactivated User
Hi,

I have 4 dynamic mapservices and 2 FeatureServices (for editing) added in a application.

I have one question regarding my Featureservices.How do I execute tasks on the layers exposed in the Featureservices?Because, most of the tasks recognize URL of the mapservice (e.g. IdentifyTask) or URL of the layer in the mapservice with the index (e.g. QueryTask).So, what do I do to use Featureservice and it's layers for these tasks.

Any help is appreciated.

Thanks and regards,
Sanjay.
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
You can inspect the IdentifyEventArgs.IdentifyResults, it should return you the following values: http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Iden.... This will help you identify the sub layer URL based on the LayerId. It also includes the field that has been matched with value to get the identified feature.
0 Kudos