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.
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.
What are you in when you want to get access to the appConfig?
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.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.