Select to view content in your preferred language

Flex  Application Builder - Pop Config

595
3
Jump to solution
01-08-2012 04:59 PM
ShaunWeston
Frequent Contributor
I have built an application based on the Flex Viewer 2.4 and recently the Flex application builder came up. I want my users to be able to make simple changes to the viewer by using the Flex application builder. I have managed to get this working ok. I set the flex builder up to point at my flex application and you can make some simple changes, however I'm not quite sure about the pop-ups area.

When you click on an Operation layer, click edit then click on edit for one of the sub-layers, this is where you can configure the pop-ups. Pop-ups is enabled, but all that is there is a title and description, I was expecting to see the field values I had previously set in the xml file for 2.4 version of the viewer. Is this area still in development? how do you configure the pop-up fields in the Flex application builder?
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Shaun,

   This being the first major release of the Application Builder there are going to be these little things that are not handled and you will need to call esri tech support and submit an enhancement request for. Another issue you will see when it comes to trying to define a popup is that if you don't specify a mapservice that has more than one layer than you can not even get to the sublayer dialog to even attempt to configure a popup. I am sure as more people like yourself use the builder they will find things that they can request to make it a better product.

View solution in original post

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
Shaun,

   This being the first major release of the Application Builder there are going to be these little things that are not handled and you will need to call esri tech support and submit an enhancement request for. Another issue you will see when it comes to trying to define a popup is that if you don't specify a mapservice that has more than one layer than you can not even get to the sublayer dialog to even attempt to configure a popup. I am sure as more people like yourself use the builder they will find things that they can request to make it a better product.
0 Kudos
MeghanMcGaffin
Deactivated User
Shaun,

   Another issue you will see when it comes to trying to define a popup is that if you don't specify a mapservice that has more than one layer than you can not even get to the sublayer dialog to even attempt to configure a popup.



Hold on just a minute.  Is this why I can't my popup to work?!!
I have been going crazy making a popup.  I've tried a million things a million different ways.
I boiled it down to one field as I have to constantly test and re-test:
[INDENT]<?xml version="1.0" ?>
<configuration>
<fields>
<field name="S_MAP" visible="true"/>
</fields>
</configuration>[/INDENT]

And this is my updated configuration file.  I've tried and tried and tried to get this to work and I get nothing.  So by adding a second feature to my service this should work...but it still doesn't.  I'm so frustrated.
<layer label="Mains" type="dynamic" visible="true"
  sublayer="1" popupconfig="popups/PopUp_Mains.xml"
  url="http://mgis/MilfordArcGIS/rest/services/Flex/Mains/MapServer"/>
0 Kudos
JoshWhite
Honored Contributor
I too had a similar experience.  It can easily be corrected my manually configuring the popups xml file.  While there are some minor bugs with the Application Builder, it does help do some things that were hard to do in the past.  One thing in particular is the bookmarks.  The Extent Helper only works if you are using the Web Mercator which I do not but the app builder allows me to create the bookmarks in my own coordinate system.  Thanks Flex team for this new addition it was a much needed addition.
Josh White, AICP
Principal Planner

City of Arkansas City
0 Kudos