Select to view content in your preferred language

close one widget when another is opened

599
1
03-29-2012 05:23 AM
philippschnetzer
Frequent Contributor
continuation of this thread...

Could this easily be made to work with any number of widgets (in a dynamic fashion) rather than just two widgets?  Or would every widgets name have to be hard-coded into the function and placed into each available widget?

Thanks
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Philipp,

   No, you could setup a listener for the app event that opens widget and then use the sample testOpenClose in the viewer to see how to check for any open widgets and fire off the close widget event for any that are open.
0 Kudos