Select to view content in your preferred language

Problems returning all features with a FindTask

738
3
10-29-2010 10:01 AM
KevinSchumm
Emerging Contributor
Maybe I'm using the wrong kind of task.

What I am trying to do is return all the features of multiple feature classes. I want the functionality of the Query Task to be able to return everything, but I also want the functionality of the Find Task to be able to search multiple layers.

When I trying only specifying layer id's, but no search attributes or search text with the Find Task, I get errors.

Is there a way to do this besides something ugly like chaining together a bunch of Query Tasks?
0 Kudos
3 Replies
JenniferNery
Esri Regular Contributor
Can you just use FeatureLayers and update their Where property?
0 Kudos
KevinSchumm
Emerging Contributor
The results are not going to be displayed on a map. This is in a seperate silverlight application that won't actually have a map in it. I'm just displaying the resulting features' attributes in a datagrid.
0 Kudos
JenniferNery
Esri Regular Contributor
0 Kudos