Select to view content in your preferred language

Search a Keyword in multiple layers?

2101
1
02-06-2012 07:51 AM
WinstonZeng
Emerging Contributor
I want to have a widget that can search a keyword in all fields in multiple layers.
Can the current Search widget, query widget, and/or the enhanced Search widget do the task?
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Winston,

    The quick answer is no there is not a widget currently available that can do what you are wanting. All the avialable widgets like the OTB Search widget, query widget, and custom widgets like the eSearch widget and selection widget all use the query task and what you are wanting would require the use of the Find Task.

Here is a Flex API sample of the find task:

http://help.arcgis.com/en/webapi/flex/samples/01nq/01nq00000053000000.htm

You would have to develop a widget using the Find Task yourself to achieve what you are after.

Don't forget to click the Mark as answer check and to click the top arrow (promote) as shown below:
0 Kudos