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.
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:
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: