Select to view content in your preferred language

Identify fields

773
5
04-12-2011 04:04 PM
DonFreeman
Emerging Contributor
Following the example at http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Identify, is there a way to specify the fields we want returned from the identify function?
Thanks
0 Kudos
5 Replies
DominiqueBroux
Esri Frequent Contributor
As the Identify is not working on a specific feature class, there is no way to specify the returned fields.

You could do it by code when the task is completed.
0 Kudos
DonFreeman
Emerging Contributor
As the Identify is not working on a specific feature class, there is no way to specify the returned fields.

You could do it by code when the task is completed.


Well, we could specify that we wanted it to work only on one layer. That way we would know which Feature Class it was going to bring back. However I get your point.

At a more basic level, I thought that if we hid the unwanted fields before the service was published that they would not show up in the identify. However that appears to not be the case unless I'm missing something?
0 Kudos
DominiqueBroux
Esri Frequent Contributor

At a more basic level, I thought that if we hid the unwanted fields before the service was published that they would not show up in the identify. However that appears to not be the case unless I'm missing something?


Do you mean that you are seeing fields that should be hidden by the service?
Do you have a puiblic sample Url showing this issue?
0 Kudos
DonFreeman
Emerging Contributor
My mistake. I had a typo in the service name after I hid the fields.
Sorry. 😞
0 Kudos
DominiqueBroux
Esri Frequent Contributor
Good to know it's not an ESRI bug:)
0 Kudos