prasanth49r_rama

Loading two different app config's in a web app

Discussion created by prasanth49r_rama on Mar 20, 2018

We have a requirement to load two different app config (user based config files) in a web app (if a user to two different groups). I tried to load the config files as an array values to config Loder but its not working. Does anybody has this kind of requirement? Can you share the idea ti implement this?  

 

var files = ['appADMIN.json','appOPS.json'];
ConfigManager.getInstance().configLoader.configFile = files;

// start jimu app
jimuMain.initApp();

 

Thanks

Outcomes