Select to view content in your preferred language

Identify Widget for FlexViewer 2.1

60331
266
09-23-2010 11:34 AM
RobertScheitlin__GISP
MVP Emeritus
All,

   I have been waiting for the Final release of the FlexViewer 2.1 before I started to push out some widgets I have been working on.

Here is my Identify Widget for Flex Viewer 2.1. I have tested to ensure proper functioning with FlexViewer 2.1 and am now releasing it to you since the API Team did not get one into the FlexViewer.

Here is the link:

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

More FlexViewer 2.1 widgets to come stay tuned...
Tags (2)
0 Kudos
266 Replies
WillHughes1
Frequent Contributor
Where can I get the files for this widget? Thanks.

Will
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Try again for some reason the zip was not attached earlier...
0 Kudos
JoshCalhoun
Emerging Contributor
Way to go Robert!
0 Kudos
BrettFlodine
Emerging Contributor
Thank you Robert your widgets are great!
0 Kudos
ErwanCaradec
Emerging Contributor
Thank you for this inescapable Widget !

In previous version (1.3) i've tweaked it because we needed prefix and suffix configuration for the link field. We also needed to purpose picture and hyperLink in the same info popup and Icon could be different for a layer or regarding field value. In previous version i think zoomscale could be different regarding the layer.
And then, the cherry on the cake (like is said in my country) would be that icon for the hyperlink could be configurable for the widget.

Could this modifications be integrated in your widget ? I hope this could interest other users.

Regards.

Erwan

My configuration for a layer looked like :
<layer>
 <name>LayerName</name>
 <fields>field1,field2</fields>
 <linkfield>linkField</linkfield>
 <linkprefix>http://webserverurl/index.php?linkField=</linkprefix>
 <linksuffix></linksuffix>
 <iconefield>otherField</iconefield>
 <iconeprefix>http://pictureWebserver/index.php?otherField=</iconeprefix>
 <iconesuffix>suffixValue(jpg)</iconesuffix>
 <imagefield>otherField</imagefield>
 <imageprefix>http://pictureWebserver/index.php?otherField=</imageprefix>
 <imagesuffix>suffixValue(jpg)</imagesuffix>
 <zoomscale>5000</zoomscale>
</layer>
0 Kudos
ErnstEijkelenboom
Esri Contributor
Robert,

Great job!
0 Kudos
ErnstEijkelenboom
Esri Contributor
Robert,

One remark:

Can you make the Tooltip als configurable in de XML:

toolTip="Click to Zoom to Point"

Of course I can do it in the mxml, but is should be nice for the non-developers if it was also available in the Compiled version.
0 Kudos
WillHughes1
Frequent Contributor
Robert,

Nice tool.

How can I edit the mxml file so that the identify tool only identifies one layer?

Also, is there a simple way to build a URL on the click event which attaches a field (id) to a constant URL string? I have a cold fusion data page which I'd like to query using the Identify Widget (pass URL query string).

Thanks.

Will
City of Durham, NC
0 Kudos
WillHughes1
Frequent Contributor
Thank you for this inescapable Widget !

In previous version (1.3) i've tweaked it because we needed prefix and suffix configuration for the link field. We also needed to purpose picture and hyperLink in the same info popup and Icon could be different for a layer or regarding field value. In previous version i think zoomscale could be different regarding the layer.
And then, the cherry on the cake (like is said in my country) would be that icon for the hyperlink could be configurable for the widget.

Could this modifications be integrated in your widget ? I hope this could interest other users.

Regards.

Erwan

My configuration for a layer looked like :
<layer>
 <name>LayerName</name>
 <fields>field1,field2</fields>
 <linkfield>linkField</linkfield>
 <linkprefix>http://webserverurl/index.php?linkField=</linkprefix>
 <linksuffix></linksuffix>
 <iconefield>otherField</iconefield>
 <iconeprefix>http://pictureWebserver/index.php?otherField=</iconeprefix>
 <iconesuffix>suffixValue(jpg)</iconesuffix>
 <imagefield>otherField</imagefield>
 <imageprefix>http://pictureWebserver/index.php?otherField=</imageprefix>
 <imagesuffix>suffixValue(jpg)</imagesuffix>
 <zoomscale>5000</zoomscale>
</layer>


erwan.caradec, Can you post your tweeks to the .mxml file? I'd like to add the linkprefix variable to the Identify widget.

Thanks.

Will
0 Kudos