Pop-up Windows in Flex Viewer 2.3

4860
20
04-29-2011 09:38 AM
GregoryPierce
New Contributor II
Hi everyone,
I am wondering if anyone can help me with this.  I have been trying for a few days now get the pop-up windows working in version 2.3 and have been having some trouble.  Below is my config.xml and pop-up.xml code for the operational layer.  The layer shows up fine in the viewer, I just can't get any pop-up window to show up when I click on the layer.  Any help would be much appreciated, thanks. 

Here is the operational layer data for the config.xml file.

            <layer label="GPS Points" type="dynamic" visible="false"
                   popupconfig="popups/PopUp_GPSPoints.xml"
                   url="http://gisserver/ArcGIS/rest/services/GPSPoints/MapServer/"/>

And here is the PopUp_GPSPoints.xml file in it's entirety.

<?xml version="1.0" ?>
<configuration>
    <title>GPSPoints</title>    
    <fields>
        <field name="Name" alias="Name" visible="true"/> 
        <field name="Orig_File" alias="Original File" visible="true"/> 
    </fields>  
</configuration>

<!--
    Pop-up configuration file for:
    http://gisserver/ArcGIS/rest/services/GPSPoints/MapServer/
-->


Greg Pierce
GIS Specialist
Weber Basin Water Conservancy District

					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
Tags (2)
0 Kudos
20 Replies
ducle
by
New Contributor
Hi guys,

I'm also having an issue with the popup...when I followed your thread, everything seems ok in my code..

<operationallayers>               
           <layer label="Property" type="dynamic" visible="true" alpha="0.7"
                url="http://jdistjwnt815/ArcGIS/rest/services/iPad_Property/MapServer"/>

           <layer label="NBSR" type="dynamic" visible="true" alpha="0.7"
         url="http://irvmonwnt767/ArcGIS/rest/services/NBSR/MapServer"/>
  <sublayer id="3" popupconfig="popups/PopUp_bridge.xml"/>
        </operationallayers>


I as well, get error when having the </layer> in there.  When taking out, no prob.  My config file code is below...any suggestions?

<?xml version="1.0" ?>
<configuration>
      <title>Bridge</title>
      <fields>
      <field name="Bridge" alias="Mile Marker:"/>
      <field name="SUB" alias="Section:"  visible="true"/>
    </fields>
</configuration>

Thanks,

Nick


i am try, too, very good. thanks
0 Kudos
tanyabisen
New Contributor
Hi.. I have a geoprocessing task that works fine and gives me the desired results.. I am using Infowindow renderer.. but after the buffer gets created and I get the desired results I am unable to retrieve the values in Infowindow renderer and datagrid..

Can anyone help me on this...
0 Kudos
CK1
by
New Contributor
Sorry I have no help for the last question, but I have another one:
My Pop-up works fine, but I have two Polygon-Layers where the area almost even. When I pick a position where they both are, only one Pop-up appears. Is there a way to control which one appears? Or that both Pop-ups appear?

Thanks
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
C K,

  The issue you are describing is a known API issue and there is an active enhancement request in the system for a resolution to this.
0 Kudos
JeremyMoore
New Contributor
Is there a way to get the popup to open on mouseover for a feature layer?
0 Kudos
gilangwudya
New Contributor
Any idea to make popup can grab the information (attribute and attachment) from all layer (the priority is the layer on top)?

so we don't need to set the url layer on script (hardcode). And if we add the new layer, the pop up automatically can grab the information.

Thanks
0 Kudos
LonSharp
Occasional Contributor II
No question this time, Robert, just another "thank you".

By following you instructions here, I was able to get popups working for our site.

-Lon
0 Kudos
jamesmullen
New Contributor II
Related question, my popup works, but when I move around the map to look at other popups, the information in the popups goes blank.  I can even click on a site that had info before, but then it goes blank.  If I refresh the map, then the info comes back for another 2-3 sites and then goes away again, any ideas?
0 Kudos
KevinHighland
Occasional Contributor II
Another related question - is there a way to include imagelinks in the <description>?
0 Kudos
KevinHighland
Occasional Contributor II
I found the answer to my question, so I thought I would post it here.

It was answered in this post: http://forums.arcgis.com/threads/30565-Image-and-Links-in-Pop-ups-Help?p=102949&viewfull=1#post10294...


<description>
          <![CDATA[<a href='{doc_url}'><u>Link to Site Records</u></a> ]]>
  </description>
0 Kudos