I am trying to add an operational layer of points to the flex viewer. I have added the layer in the config.xml file and I don't get any error messages when the viewer loads, I just don't see any of the points on the map.
I have checked the url to the service and this is working.
My points are in State Plane Projection and the base layers are Web Mercator. Could this be the problem?
I am still unable to get the info window to work. I can get a window to pop up when I use the search wiget but just clicking on the point does nothing.
I have noticed in the other operational layers that come with the viewer that the url references a FeatureServer whereas mine references a MapServer.
Could this be the problem and if so what is the difference between FeatureServer and MapServer?
When I publish my mxd it seems that the only choice I have is a MapServer.
I believe that you should set the type in the operational layers to dynamic. It is only a feature if you have set the layer to be editable, I believe. If you put it to dynamic, then do not put the /0 at the end as was suggested earlier.
The problem I have now is that in doing it this way loses the symbology that I had set in the mxd that was published. The other thing I needed in the popup is a link to a pdf document but this doesn't seem to work either.
The issue with the symbology not coming across is a limitation of not have the data coming from a ArcGIS 10 Server. If you are still using a 9.3.1 server than you will have to provide your own renderer info here is a sample that demos that http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=Renderer. for the pdf link you will need a
OK studying the code tells me that won't work either as you figured out. So I guess hyperlinks are a no go until they get that finished in the SimpleInfoWidget.