2 Replies Latest reply on Apr 27, 2012 9:23 PM by knapp

    HTML pop-up from Feature Layer

      I apologize for the newbie question, but I'm wondering if there's a way to display a formatted HTML pop-up for a Feature Layer in the ArcGIS Viewer for Flex (2.5).

      We've got a Feature Layer for which we've set the HTML pop-up in ArcGIS. The "HTML Popup Type" is set to "esriServerHTMLPopupTypeAsHTMLText" and when we add the service to ArcMap, we can activate the HTML popup tool without a problem, but when we add the Feature Layer to the Flex Viewer, I'm not sure how to get the HTML pop-up to display as it was formatted in ArcMap.

      Unfortunately, the service is currently private, otherwise, I'd provide the URL here.

      Or, is my only choice to use the "popupconfig" attribute in the <layer> tag.? The only catch here is that the HTML popup was created using semi-fancy XSL the conditionally formatted based on attribute values.

      Any advice is appreciated.


      Mike Knapp
        • Re: HTML pop-up from Feature Layer

             You are not going to get the ArcMap html popup in Flex. Your only choice is to recreate the essential portions in the config popup. Th number of supported html tag is very limited as Adobe Flex itself is very limited in the tags it recognizes. And the XSL is pretty much out the door. Sorry to be the bearer of the bad news but I think you already has a seeking suspicion.

          Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
          Follow the steps as shown in the below graphic:
          • Re: HTML pop-up from Feature Layer
            Thanks for the reply Robert. Disappointing news, but I think we'll be able to come up with an alternative.

            I also found out the hard way this afternoon that pop-ups will not work if you hide the "Shape" field!

            -Mike Knapp