Configuration file questions!

769
6
Jump to solution
08-05-2013 11:29 AM
weeyeo
by
New Contributor II
Can you create two configuration file (e.g. config.xml(contain print widget) & config1.xml(without print widget)) to run same viewer application?  For example, If user click a button to run print viewer application before loading viewer application then will use config.xml otherwise will use config1.xml.  If so how do you modify the code on index.html file?

Thanks.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
wee y,

   There is no code changes necessary to make this work. You just specify the config file you want to use in the the url:

http://gis.calhouncounty.org/FlexViewer3.4/index.html?config=config-eSearch.xml
This is all explained in the documentation:
http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Viewer_URL_parameters/01m300000...

View solution in original post

0 Kudos
6 Replies
RobertScheitlin__GISP
MVP Emeritus
wee y,

   There is no code changes necessary to make this work. You just specify the config file you want to use in the the url:

http://gis.calhouncounty.org/FlexViewer3.4/index.html?config=config-eSearch.xml
This is all explained in the documentation:
http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Viewer_URL_parameters/01m300000...
0 Kudos
AnthonyGiles
Frequent Contributor
0 Kudos
weeyeo
by
New Contributor II
Thank you very much.
0 Kudos
MichaelMiller2
Occasional Contributor III
Wee,

Check this widget out, I think it may be just what you are looking for.

http://forums.arcgis.com/threads/89949-New-Widget-User-Configuration-Selection-Widget
0 Kudos
weeyeo
by
New Contributor II
I found out this morning.  Very useful.  Thanks.
0 Kudos
AnthonyGiles
Frequent Contributor
Wee,

Sorry I only uploaded it this morning, I meant to pass you the link on this thread but got side tracked. Glad you found it anyway, hope it is of some use.

Regards

Anthony
0 Kudos