AnsweredAssumed Answered

Adjusting App Config for a widget inside Widget's WAB config menu

Question asked by alasher on Dec 16, 2015
Latest reply on Dec 16, 2015 by rscheitlin

I'd like to add a configuration option for the "preloadOnStart" setting in my application's settings menu for the Web AppBuilder. The problem is that this settings option is contained in the appConfig (root/config.json), inside the widget's object in the widget pool. I've only been able to adjust the widget's normal config (root/widgets/MyWidget/config.json) using the examples I've found online. I'd also like to set other properties, like the widget id, inside this config file somewhere.


I just don't want my user to have to go into the file and type that in manually, I'd like for the system to take care of it somewhere for them. How does the WAB create the app config file, and how could I create a configuration option for appConfig items like this? Thanks, I appreciate any input.