+ Reply to Thread
Results 1 to 3 of 3

Thread: HTML pop-up from Feature Layer

  1. #1
    Michael Knapp
    Join Date
    May 2010
    Posts
    16
    Points
    0
    Answers Provided
    1


    0

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

    Thanks.

    Mike Knapp

  2. #2
    Robert Scheitlin

    Join Date
    Mar 2010
    Posts
    9,260
    Points
    5579
    Answers Provided
    938


    0
    This post is marked as the answer

    Lightbulb Re: HTML pop-up from Feature Layer

    Mike,

    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:
    Just because it's not the answer you want, does not mean that it is not the answer.

    Robert Scheitlin

    GIS Manager
    Calhoun County, Alabama


  3. #3
    Michael Knapp
    Join Date
    May 2010
    Posts
    16
    Points
    0
    Answers Provided
    1


    0

    Default 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

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts