Select to view content in your preferred language

Sample Flex Viewer Not working

1361
12
07-19-2010 05:45 PM
Brahmananda_NehruKhandrika
Emerging Contributor
Hi

I a not able to make  Sample Flex Viewer to wrok with my services.  I have already uploaded my config and crossdomain files.
Tags (2)
0 Kudos
12 Replies
Brahmananda_NehruKhandrika
Emerging Contributor
Hi,

I am not able to view my widget.

Here is the code in my MyFirstWidget.mxml

<?xml version="1.0" encoding="utf-8"?>
<flexviewer:BaseWidget xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:flexviewer="com.esri.solutions.flexviewer.*">
<flexviewer:WidgetTemplate id="abc">
 
</flexviewer:WidgetTemplate>
</flexviewer:BaseWidget>


in the config

<widget label="MyFirstWidget" icon="com/esri/solutions/flexviewer/assets/images/icons/i_globe.png" menu="menuWidgets" config="">mywidgets/MyFirstWidget.swf</widget>

It is not displaying my widget.

regards

Nehru
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Nehru,

   You need to check your spelling as Flex is 100% case sensitive. Also did you add your new widget to your project modules list? I was able to copy and paste your code into a flex project and add it to the modules list and see it right off, so you are just missing something simple.
0 Kudos
Brahmananda_NehruKhandrika
Emerging Contributor
Thanks Robert,

How do I make identify in Sample Flex Viewer to show only some fields on a layer in a service and the layers returned. At the moment when I do identify I get all the attributes and all the layers in the service.

regards

Nehru
0 Kudos