Select to view content in your preferred language

Identify Widget 3.0 not opening

1000
5
Jump to solution
07-09-2012 11:16 AM
SeanZiniker
Emerging Contributor
Hello,

I am having trouble getting Robert Scheitlin's Identify Widget to function.  The Identify icon displays on my application but when I click it nothing happens.  If I set the preload to "open" it does not open but the underline is under the icon indicating that it is open.  Also when I move the widget tag to the top of my widget list in config.xml the other widgets I have set to preload="open" do not open.

Here is what my widget tag looks like in config file:

<widget label="Identify" left="330" top="80"
    preload="open"
    icon="assets/images/i_info.png"
    config="widgets/Identify/IdentifyWidget.xml"
    url="widgets/Identify/IdentifyWidget.swf"/>

I have attached my IdentifyWidget.xml for reference.


Any help or direction would be greatly appreciated.

Thanks,

Sean
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Sean,

   Hmm... Then are you sure that you are using 3.0 Final of the Flex Viewer and not the Pre-Release? Another test is to take the url of your viewer that you are testing and put that in a browser and add the IdentifyWidgets xml url to the end like this :

http://gislap134/FlexViewer3.0/widgets/Identify/IdentifyWidget.xml

and see if it pulls up the file.

View solution in original post

0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus
Sean,

   OK, lets start with the basics. Are you using the compiled or uncomplied or App Builder?

If uncompiled: Did you add the IdentifyWidget.mxml to your project modules list?
If Compiled: Did you copy the whole Identify folder to your FlexViewer directory under the widgets folder?
If App Builder: ... Well there is not much you could miss if you figured out how to add a custom widget like this.
0 Kudos
AnthonyGiles
Honored Contributor
Sean,

Your widget tag looks correct, have you made sure that the path to the widget is correct, flex is case sensitive.

Regards

Anthony
0 Kudos
SeanZiniker
Emerging Contributor
Robert - I am using the compiled version and I did copy the whole "Identify" folder within compiled_FV3.0 into my apps widget folder.

Anthony - the path to the widget is correct I have checked and double checked it.

Thanks for the quick responses,

Sean
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Sean,

   Hmm... Then are you sure that you are using 3.0 Final of the Flex Viewer and not the Pre-Release? Another test is to take the url of your viewer that you are testing and put that in a browser and add the IdentifyWidgets xml url to the end like this :

http://gislap134/FlexViewer3.0/widgets/Identify/IdentifyWidget.xml

and see if it pulls up the file.
0 Kudos
SeanZiniker
Emerging Contributor
Robert,

Thanks for your help, I checked my version and I was working off the prerelease. I just upgraded to version 3.0 and it works just fine.  Sorry for the trouble but thanks for pointing that out.  As of June 12th flex was brand new to me and I assumed I had downloaded version 3.0, which didn't come out until June 13th. 

Thanks again, your widget works great!!

Sean
0 Kudos