Theme controllers have access to all there widgets configs with method getAllConfigs();
Is there a way to do the same for all other widgets ?
Thanks
Mathieu,
In any widget you can use this.appConfig to get access to the main config.json.
Robert,
I think my problem is that I'm not in a widget when trying do do that so I don't have access to appConfig.
What are you in when you want to get access to the appConfig?
I'm in an outside class.
What I did is create an instance of this class from within a widget and pass it the appConfig and it worked.
Thank you Robert.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.