Select to view content in your preferred language

The equivalent widget of �??Find�?� and �??select by attribute�?� tools in the Flex?

2018
10
12-27-2012 09:01 PM
JamalNUMAN
Legendary Contributor
The equivalent widget of �??Find�?� and �??select by attribute�?� tools in the Flex?

I�??m wondering if there is equivalents widget for the �??Find�?� and �??select by attribute�?� tool (of the ArcGIS Desktop) in the Flex.

[ATTACH=CONFIG]20231[/ATTACH]

I tried the widget of �??search�?� and �??query�?� but their behaviour is different!

�?� the �??search�?� behaves as �??select by graphics�?�!
�?� the �??query�?� behaves as �??zoom to�?�!

[ATTACH=CONFIG]20232[/ATTACH]

All what I need is to type, for example, the name of the community and then to zoom to it! Is that possible in the Flex?

Thank you

Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
10 Replies
DerekLaw
Esri Esteemed Contributor
Hi Jamal,

All what I need is to type, for example, the name of the community and then to zoom to it! Is that possible in the Flex?


Please read the help documentation on the Header Controller widget. At 3.1, there is a new search (geocode) capability.

To enable "finding features" within a particular layer in your application, please read the help documentation on the Search widget.

Hope this helps,
0 Kudos
by Anonymous User
Not applicable
Original User: ad_giles@hotmail.com

Jamal,

There is also a custom widget available that is similar to the select by attribute tool in arcmap:

http://www.arcgis.com/home/item.html?id=20ed6af9ab204548bbf092d51b51fef8

looks like it might need upgrading to 3.1 though

Regards

Anthony
0 Kudos
JamalNUMAN
Legendary Contributor
Jamal,

There is also a custom widget available that is similar to the select by attribute tool in arcmap:

http://www.arcgis.com/home/item.html?id=20ed6af9ab204548bbf092d51b51fef8

looks like it might need upgrading to 3.1 though

Regards

Anthony



Thank you Derek and Anthony for the help.

Sounds that I�??m requesting the impossible from the Flex!

For example, in the �??ArcGIS Web Applications Manager�?�, applying the equivalent tool of �??Find�?� and �??Query�?� is quite simple and straightforward.

[ATTACH=CONFIG]20261[/ATTACH], [ATTACH=CONFIG]20263[/ATTACH]

If this very basic tool is quite complicated to be embedded in the Flex then how to use it to search our data which is the most important tool?


Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
by Anonymous User
Not applicable
Original User: GISDev01

You need to look through the gallery and discover all of Robert Schietlin's work. ( http://www.arcgis.com/home/search.html?q=owner:rscheitlin )

His eSearch widget will do all you seek and more.

You need to read the documentation more thoroughly before asking more simple questions.
0 Kudos
JamalNUMAN
Legendary Contributor
You need to look through the gallery and discover all of Robert Schietlin's work. ( http://www.arcgis.com/home/search.html?q=owner:rscheitlin )

His eSearch widget will do all you seek and more.

You need to read the documentation more thoroughly before asking more simple questions.


Thank you �??GIS Dev�?� for the help,

Although my issue is extremely simple but I couldn�??t get sufficient resources to solve it. All what I need is to search �??in particular layer based on a field and to zoom to the selected�?�.

That�??s all what I need. It is simple in �??ArcGIS Web Applications Manager�?� and this is what i expect in the "ArcGIS Viewer for Flex".

Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
JamalNUMAN
Legendary Contributor
Thank you �??GIS Dev�?� for the help,

Although my issue is extremely simple but I couldn�??t get sufficient resources to solve it. All what I need is to search �??in particular layer based on a field and to zoom to the selected�?�.

That�??s all what I need. It is simple in �??ArcGIS Web Applications Manager�?� and this is what i expect in the "ArcGIS Viewer for Flex".

Best

Jamal


I got the solution!

An instructor provided me the way the �??Find�?� can be developed in the �??ArcGIS Viewer for Flex�?�

Please, have a look on the screenshot below which contains the solution:

[ATTACH=CONFIG]20326[/ATTACH], [ATTACH=CONFIG]20327[/ATTACH], [ATTACH=CONFIG]20328[/ATTACH]

the issue now is how to develop the "select from list" query

[ATTACH=CONFIG]20329[/ATTACH], [ATTACH=CONFIG]20330[/ATTACH]

Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
by Anonymous User
Not applicable
Original User: ad_giles@hotmail.com

Jamal,

As this post pointed out Robert has extended the search tool considerably including the option to build drop down lists for the users to choose from. This lists can also be created dynamically from domains in your database if you so wish

You need to look through the gallery and discover all of Robert Schietlin's work. ( http://www.arcgis.com/home/search.html?q=owner:rscheitlin )

His eSearch widget will do all you seek and more.

You need to read the documentation more thoroughly before asking more simple questions.


Regards

Anthony
0 Kudos
JamalNUMAN
Legendary Contributor
Jamal,

As this post pointed out Robert has extended the search tool considerably including the option to build drop down lists for the users to choose from. This lists can also be created dynamically from domains in your database if you so wish



Regards

Anthony


Absolutely, you are right

The link provided by GIS Dev is very powerful. My issue is to be able myself to develop very simple functions in the �??ArcGIS Viewer for Flex�?� and then to be able to integrate other available functionalities built by professional users to my web application

Then my issue is just to start developing some of the very basic buttons for any map-web application

1. The scale text (example: 1:150000)
2. Identify tool (like the one on the ArcGIS desktop)
3.  �??go to xy�?� (like the one on the ArcGIS desktop)
4. The �??find�?� tool (done)
5. Query tool (to choose from drop-down list)
6. �??Find�?� and �??drop-down list�?� at the same time: to have the chance to see the available values WHILE typing (the most powerful tools)
7. How to allow moving the layers in the table of contents up and own?
8. Size of icons is quite small! How can they be enlarged?

Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
by Anonymous User
Not applicable
Original User: ad_giles@hotmail.com

Jamal,

Are you limited to working with the application builder or can you access the source code using flash builder. The application builder will allow you to do a limited amount of configuration but for what you want you may need to delve into the source code.

A trial version of flash builder can be downloaded from here:

https://www.adobe.com/cfusion/tdrc/index.cfm?product=flash_builder

To work with this you will also need the source code for the viewer:

https://github.com/Esri/arcgis-viewer-flex/tags

I have also provided a few links that may help you with each of your wish list, some can be done using widgets developed by others some will require you to play with the source code:

1. The scale text (example: 1:150000)

http://forums.arcgis.com/threads/24407-Show-scale-with-coordinates?highlight=scale+text

2. Identify tool (like the one on the ArcGIS desktop)

http://www.arcgis.com/home/item.html?id=39cf66d58c234279ba728c50461a1a89

3. â??go to xyâ?� (like the one on the ArcGIS desktop)

http://www.arcgis.com/home/item.html?id=edd4a2b7c722493a8b08f53eaa131e1e or the locate widget has similar capability

4. The â??findâ?� tool (done)

http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e

5. Query tool (to choose from drop-down list)

Same as above: http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e

6. â??Findâ?� and â??drop-down listâ?� at the same time: to have the chance to see the available values WHILE typing (the most powerful tools)

http://www.arcgis.com/home/item.html?id=4a61e3e4b0c94300a3a361855d9a344f

7. How to allow moving the layers in the table of contents up and own?

The layer list widget already allows you to do this to services, Robert also has an advanced one: http://www.arcgis.com/home/item.html?id=e2cb71d5c04d40d19e9f945ae0db7ce8

If you want to change the layer order in a map service you need to use dynamic layers:

http://resources.arcgis.com/en/help/flex-api/samples/index.html#//01nq0000006w000000


8. Size of icons is quite small! How can they be enlarged?

If you mean the icons in the header control have a look at this thread:

http://forums.arcgis.com/threads/34685-Modify-Icon-SIZE-of-Widget-that-is-diaplayed-in-the-Header-Co...


Regards

Anthony
0 Kudos