Select to view content in your preferred language

Identify Widget for FlexViewer 2.1

60400
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
RobertScheitlin__GISP
MVP Emeritus
Robert - great job on the widget and thanks for sharing.

I initially had issues when I installed, but reading all these posts eventually showed all the necessary fixes. Is it possible to put an FAQ on the download site?

It seems customary that everyone throw in a "wish list" item, so here's mine. It would be great if there was an alias name for the hyperlink. Instead of users seeing the web link, they'd see something like "Click here to see the plans".

Oh - and multiple hyperlink fields would be good, too.

Thanks again!


David,

    Can you provide me with a screen shot of what you are wanting aliased? I think want you are asking for is not actually part of this widget but I need to be sure.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jon,

  I went ahead an created documentation for this widget and in doing so noticed that I had something in the xml configuration that was not be used anyway (so documenting was a good thing).

Version 2.2.1 is now available.
0 Kudos
JonFisher
Emerging Contributor
Jon,

  I went ahead an created documentation for this widget and in doing so noticed that I had something in the xml configuration that was not be used anyway (so documenting was a good thing).

Version 2.2.1 is now available.


Thanks Robert, this is a HUGE help, much appreciated! You're the best.
0 Kudos
ericmonshaugen
Deactivated User
Robert,

1. THANK YOU!
2. Has anybody else been having trouble with the "iconfield" part of this widget? Can't seem to get it to use a personal icon - seems pretty straight forward, but I'm doing something wrong! My image is attached, it's only 2KB. Any ideas? Thanks for any help!

-Eric

layer>
<name>Photograph Site</name>
<fields>AREA_3LTR, MAP_ID, ORIGINAL, TIMESTAMP, PHOTO_MAP</fields>
<linkfield>PHOTO_MAP</linkfield>
<linkprefix>\\xxx\xxx\xx\Photos\</linkprefix>
<linksuffix>.jpg</linksuffix>
<iconfield>AREA_3LTR</iconfield>
<iconprefix>\\xxx\xxx\xx\Photos\</iconprefix>
<iconsuffix>.png</iconsuffix>
<zoomscale>24000</zoomscale>
<forcescale>true</forcescale>
</layer>
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Eric,

    Is the field AREA_3LTR a string field that has text in it that once combined with the iconprefix and iconsuffix it would form a valid url to the small image file?
0 Kudos
NathanThompson
Emerging Contributor
Hi Robert

I am generally pretty good at picking up where I might have problems, but this time I am completely stumped (but hoping its just a case of me having a fuzzy new years brain problem!!!).

I am getting the old  "sr" parameter is invalid error.

I am using the very latest uncompiled code for your widget (though I have also tried the compiled code) - 2.2.1, and the very latest 2.2 viewer code.
As I said. Completely stumped.

I have resolved similar issues previously by setting spatial reference to null and have had the Search, Query and Identify widgets all working in previous iterations. But I recently threw everything away and started from scratch with the 2.2 viewer.

There is nothing particularly unusual about my configuration. In fact it is very much a bog-standard type setup, other than to say that my ArcGIS Server is still at 9.3.

I have attached all the relevant configs and some screen grabs (i think).
Really hope you can shed some light.

Kindest Regards (and forever inspired by your work and commitment to developing and helping people with the viewer)
Nathan
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Nathan,

   The first thing I would try is add wkt='PROJCS["Qatar_National_Grid",GEOGCS blah blah blah....' from your REST Services directory as well as your inital extent to the map element in your config.xml.
0 Kudos
ericmonshaugen
Deactivated User
Robert,

Thanks for the quick response.  Yes sir, it is a string field containing text that should work in combination with the prefix and suffix to form a valid url.  I was hoping others were having the same issue, but sounds like I'm on my own!  I'll spend a little more time troubleshooting and hopefully be able to let you know where my error was.

Thank you for your time,

-Eric
0 Kudos
ericmonshaugen
Deactivated User
Robert,

Thanks for the quick response.  Yes sir, it is a string field containing text that should work in combination with the prefix and suffix to form a valid url.  I was hoping others were having the same issue, but sounds like I'm on my own!  I'll spend a little more time troubleshooting and hopefully be able to let you know where my error was.

Thank you for your time,

-Eric


In reference to the hyperlink icons - couldn't figure out what was wrong.  Was able to work around it though - I only wanted to replace the small black and orange arrow with something a little more noticeable, so I just went into the IdResultItemRenderer.mxml file and pointed the linkicon to mine (with a greater height & width).  Would still love to be able to change the icon according to my iconfield...tried everything but re-downloading the widget. I'll give that a shot later this afternoon.

Thanks again, Robert!

-Eric
0 Kudos
NathanThompson
Emerging Contributor
Nathan,

   The first thing I would try is add wkt='PROJCS["Qatar_National_Grid",GEOGCS blah blah blah....' from your REST Services directory as well as your inital extent to the map element in your config.xml.



Robert
Thankyou.
Indeed it was a fuzzy brain issue. Should have seen this far quicker and without the poke.
Thought is was something far more sinister right up until adding the initial extent because it still wouldn't work with just the wkid set... which I still dont quite understand?

Again thanks and keep up the good work. Will as always stay peeled for your latest greatest widgets and hope to have one up myself in the not too distant future (assuming i can get the dang thing to work).

Regards
Nathan
0 Kudos