Select to view content in your preferred language

Flex App builder support for widgetgroups?

2269
4
09-06-2012 09:12 AM
C_EHoward
Frequent Contributor
I would like to create a widget group because I want to group a few GP widgets together on my Flex interface so it looks a little better. I can add the GP widgets fine in app builder and configure them as I need. If I then take the lines of code relating to those GPs and modify my config.xml to have the widgets as part of a widgetgroup, they are not longer visible or accessible to configure via the app builder. Any suggestions on how to handle this? The app builder has been handy to make sure my GP XML code was correct, so I would like to continue to use it if possible, but would like to also use widget groups. Thanks for any suggestions.

Charlene
Tags (2)
0 Kudos
4 Replies
BjornSvensson
Esri Regular Contributor
... app builder has been handy ... but would like to also use widget groups.


Charlene, thanks for reporting this bug.

Even though the application builder does not support widget groups (and some other tags), it is supposed to display what it knows about and not mess up the config.xml file.

For the next version, 3.1 ... you should be able to add all your widgets using the appbuilder, then manually edit the configuration file to add widget groups.  If you subsequently open the application builder, you wont see the widget groups in the widgets tab but everything else should work fine.
0 Kudos
C_EHoward
Frequent Contributor
Thanks Bjorn. I can see a blank widget (no icon) in my app builder, but cannot look at it or edit properties, it displays an error when I click on it. I dont think the app builder changes my config files, which is a good thing. but if I want to look and/or modify the widgets in the group, I cant do it thru the app builder and only with the config file. not a big deal if everything is working, but kind of a pain if you want to use the app builder to test syntax in the config files. I am just keeping a copy of my widget outside the group for the meantime. thanks for the response
0 Kudos
AaronKreag
Deactivated User
It is now January 2014, version 3.6 of the Viewer and I am trying this Viewer for the first time.  I just ran into this widgetgroup problem.  It seems the viewer should have the ability to add both more containers and widgetgroups.  Frankly, it seems pretty easy if editing directly in the main config file however, when you do that and open the web map back up in the flex viewer, the widget group is listed/shown as just a folder that you can only delete.....nothing else.  I would love to see a list of the different tags that we can use by editing the config file vs the list of tags available through the viewer.  Any more intel on the widgetgroup limitation would be great.  Thank you!
0 Kudos
GeorgeHaskett
Deactivated User
Aaron,

If you go to the main Viewer for Flex site you will see the table of contents on the left hand side.  There you will see a reference to Widgets and a separate reference to Tag Reference , just two down from the Widgets reference.

Its not the best setup, but you can open the window up twice, once for each, and skim through the pages for the same widget.

On average, it seems that editing with the XML files give you more options than through the app builder.

I use the app builder for quick reference and updating the base files and do most of my editing directly via the xml files.  I prefer to use the XML Notepad 2007 software, its free and it helps visualize the code better.

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Welcome_to_ArcGIS_Viewer_for_Fl...
0 Kudos